diff --git a/share/man/man9/bus_map_resource.9 b/share/man/man9/bus_map_resource.9 index c8ca9a181929..663c957f471b 100644 --- a/share/man/man9/bus_map_resource.9 +++ b/share/man/man9/bus_map_resource.9 @@ -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 , diff --git a/share/man/man9/cnv.9 b/share/man/man9/cnv.9 index 3cb0d4f8fdac..453cbee0456a 100644 --- a/share/man/man9/cnv.9 +++ b/share/man/man9/cnv.9 @@ -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 . diff --git a/share/man/man9/counter.9 b/share/man/man9/counter.9 index f717b646247b..1ea1bdc34356 100644 --- a/share/man/man9/counter.9 +++ b/share/man/man9/counter.9 @@ -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 , diff --git a/share/man/man9/osd.9 b/share/man/man9/osd.9 index 0668b9d95b26..c4060f409566 100644 --- a/share/man/man9/osd.9 +++ b/share/man/man9/osd.9 @@ -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). diff --git a/share/man/man9/pmap_zero_page.9 b/share/man/man9/pmap_zero_page.9 index 493cb38fe9ff..f02b3a59bbba 100644 --- a/share/man/man9/pmap_zero_page.9 +++ b/share/man/man9/pmap_zero_page.9 @@ -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 . diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9 index 6da832130616..3e03c05f9088 100644 --- a/share/man/man9/rman.9 +++ b/share/man/man9/rman.9 @@ -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 diff --git a/share/man/man9/tcp_functions.9 b/share/man/man9/tcp_functions.9 index b998dd0dd7df..e9a646c741b5 100644 --- a/share/man/man9/tcp_functions.9 +++ b/share/man/man9/tcp_functions.9 @@ -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 ,