From owner-svn-src-head@freebsd.org Wed Nov 23 19:19:13 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C9D7C51979; Wed, 23 Nov 2016 19:19:13 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77D401224; Wed, 23 Nov 2016 19:19:13 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uANJJCah098561; Wed, 23 Nov 2016 19:19:12 GMT (envelope-from brueffer@FreeBSD.org) Received: (from brueffer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uANJJCvl098553; Wed, 23 Nov 2016 19:19:12 GMT (envelope-from brueffer@FreeBSD.org) Message-Id: <201611231919.uANJJCvl098553@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brueffer set sender to brueffer@FreeBSD.org using -f From: Christian Brueffer Date: Wed, 23 Nov 2016 19:19:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309066 - head/share/man/man9 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 19:19:13 -0000 Author: brueffer Date: Wed Nov 23 19:19:11 2016 New Revision: 309066 URL: https://svnweb.freebsd.org/changeset/base/309066 Log: Fix various mdoc issues reported by mandoc -Tlint. Modified: head/share/man/man9/bus_map_resource.9 head/share/man/man9/cnv.9 head/share/man/man9/counter.9 head/share/man/man9/osd.9 head/share/man/man9/pmap_zero_page.9 head/share/man/man9/rman.9 head/share/man/man9/tcp_functions.9 Modified: head/share/man/man9/bus_map_resource.9 ============================================================================== --- head/share/man/man9/bus_map_resource.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/bus_map_resource.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -135,6 +135,8 @@ By default memory mappings use the .Dv VM_MEMATTR_UNCACHEABLE attribute. .El +.Sh RETURN VALUES +Zero is returned on success, otherwise an error is returned. .Sh EXAMPLES This maps a PCI memory BAR with the write-combining memory attribute and reads the first 32-bit word: @@ -153,9 +155,6 @@ reads the first 32-bit word: bus_map_resource(dev, SYS_RES_MEMORY, r, &args, &map); val = bus_read_4(&map, 0); .Ed -.Pp -.Sh RETURN VALUES -Zero is returned on success, otherwise an error is returned. .Sh SEE ALSO .Xr bus_activate_resource 9 , .Xr bus_alloc_resource 9 , Modified: head/share/man/man9/cnv.9 ============================================================================== --- head/share/man/man9/cnv.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/cnv.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -80,7 +80,7 @@ .Fn cnvlist_take_nvlist_array "void *cookiep" "size_t *nitemsp" .Ft int .Fn cnvlist_take_descriptor "void *cookiep" -.Ft "const int *' +.Ft "const int *" .Fn cnvlist_take_descriptor_array "void *cookiep" "size_t *nitemsp" .\" .Ft void @@ -189,11 +189,11 @@ nvlist_destroy(nvl); return (0); .Ed .Sh SEE ALSO -.Xr nv 9 , .Xr close 2 , -.Xr free 3 +.Xr free 3 , +.Xr nv 9 .Sh AUTHORS -.An -nosplit The .Nm cnv API was created during the Google Summer Of Code 2016 by +.An Adam Starak . Modified: head/share/man/man9/counter.9 ============================================================================== --- head/share/man/man9/counter.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/counter.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -224,7 +224,6 @@ static counter_u64_t array[MY_SIZE]; SYSCTL_COUNTER_U64_ARRAY(_debug, OID_AUTO, counter_array, CTLFLAG_RW, &array[0], MY_SIZE, "Test counter array"); .Ed -.Pp .Sh SEE ALSO .Xr atomic 9 , .Xr critical 9 , Modified: head/share/man/man9/osd.9 ============================================================================== --- head/share/man/man9/osd.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/osd.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -412,7 +412,8 @@ return zero on success or ENOMEM if the triggered an internal .Xr realloc 9 which failed -.Fn ( osd_set_reserved +.Ns ( +.Fn osd_set_reserved will always succeed when .Fa rsv is non-NULL). Modified: head/share/man/man9/pmap_zero_page.9 ============================================================================== --- head/share/man/man9/pmap_zero_page.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/pmap_zero_page.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -49,7 +49,6 @@ The function is used to zero-fill an area of a page. The range specified must not cross a page boundary; it must be contained entirely within a single page. -.Pp .Sh IMPLEMENTATION NOTES This function is required to be implemented for each architecture supported by .Fx . Modified: head/share/man/man9/rman.9 ============================================================================== --- head/share/man/man9/rman.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/rman.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -468,8 +468,8 @@ function returns a pointer to the device .Xr bus_alloc_resource 9 , .Xr bus_map_resource 9 , .Xr bus_release_resource 9 , -.Xr bus_space 9 , .Xr bus_set_resource 9 , +.Xr bus_space 9 , .Xr mutex 9 .Sh AUTHORS This manual page was written by Modified: head/share/man/man9/tcp_functions.9 ============================================================================== --- head/share/man/man9/tcp_functions.9 Wed Nov 23 18:45:15 2016 (r309065) +++ head/share/man/man9/tcp_functions.9 Wed Nov 23 19:19:11 2016 (r309066) @@ -312,6 +312,7 @@ the current default function block. The .Fa blk argument references a function block that is not currently registered. +.El .Sh SEE ALSO .Xr connect 2 , .Xr listen 2 ,