svn commit: r309066 - head/share/man/man9
Christian Brueffer
brueffer at FreeBSD.org
Wed Nov 23 19:19:13 UTC 2016
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 ,
More information about the svn-src-head
mailing list