Fix various mdoc issues reported by mandoc -Tlint.

This commit is contained in:
Christian Brueffer 2016-11-23 19:19:11 +00:00
parent 2940eb19a1
commit c85d716664
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309066
7 changed files with 10 additions and 11 deletions

View file

@ -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 ,

View file

@ -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 .

View file

@ -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 ,

View file

@ -412,7 +412,8 @@ return zero on success or ENOMEM if the specified type/slot identifier pair
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).

View file

@ -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 .

View file

@ -468,8 +468,8 @@ function returns a pointer to the device which reserved the resource
.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

View file

@ -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 ,