From owner-svn-src-all@freebsd.org Fri Jan 8 13:33:24 2016 Return-Path: Delivered-To: svn-src-all@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 05BB9A668DF; Fri, 8 Jan 2016 13:33:24 +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 BC6F81B44; Fri, 8 Jan 2016 13:33:23 +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 u08DXMix047445; Fri, 8 Jan 2016 13:33:22 GMT (envelope-from brueffer@FreeBSD.org) Received: (from brueffer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u08DXMjk047441; Fri, 8 Jan 2016 13:33:22 GMT (envelope-from brueffer@FreeBSD.org) Message-Id: <201601081333.u08DXMjk047441@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brueffer set sender to brueffer@FreeBSD.org using -f From: Christian Brueffer Date: Fri, 8 Jan 2016 13:33:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r293421 - 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 13:33:24 -0000 Author: brueffer Date: Fri Jan 8 13:33:22 2016 New Revision: 293421 URL: https://svnweb.freebsd.org/changeset/base/293421 Log: Fix issues found by mandoc -Tlint. MFC after: 1 week Modified: head/share/man/man9/DEVICE_PROBE.9 head/share/man/man9/kern_testfrwk.9 head/share/man/man9/malloc.9 head/share/man/man9/timeout.9 Modified: head/share/man/man9/DEVICE_PROBE.9 ============================================================================== --- head/share/man/man9/DEVICE_PROBE.9 Fri Jan 8 10:35:57 2016 (r293420) +++ head/share/man/man9/DEVICE_PROBE.9 Fri Jan 8 13:33:22 2016 (r293421) @@ -100,7 +100,8 @@ This is for source or binary drivers tha tree. Its use in the base OS is prohibited. .It BUS_PROBE_DEFAULT -The device is a normal device matching some plug and play ID. This is +The device is a normal device matching some plug and play ID. +This is the normal return value for drivers to use. It is intended that nearly all of the drivers in the tree should return this value. Modified: head/share/man/man9/kern_testfrwk.9 ============================================================================== --- head/share/man/man9/kern_testfrwk.9 Fri Jan 8 10:35:57 2016 (r293420) +++ head/share/man/man9/kern_testfrwk.9 Fri Jan 8 13:33:22 2016 (r293421) @@ -65,7 +65,6 @@ When your test loads, you register your You do that through a call to .Fn kern_testframework_register . Usually this is done at the module load event as shown below: -.Pp .Bd -literal -offset indent switch (type) { case MOD_LOAD: @@ -122,7 +121,6 @@ field is a test-specific set of informat It is passed in from user space and has a maximum size of 256 bytes. You can pass arbitrary test input in the space. In the case of callout_test we reshape that to: -.Pp .Bd -literal -offset indent struct callout_test { int number_of_callouts; @@ -133,7 +131,6 @@ struct callout_test { So the first lines of .Fn run_callout_test does the following to get at the user specific data: -.Pp .\" This is a bad example and violates strict aliasing. It should be replaced. .Bd -literal -offset indent struct callout_test *u; Modified: head/share/man/man9/malloc.9 ============================================================================== --- head/share/man/man9/malloc.9 Fri Jan 8 10:35:57 2016 (r293420) +++ head/share/man/man9/malloc.9 Fri Jan 8 13:33:22 2016 (r293421) @@ -229,7 +229,7 @@ may sleep when called with never sleeps. However, .Fn malloc , -.Fn realloc, +.Fn realloc , .Fn reallocf and .Fn free Modified: head/share/man/man9/timeout.9 ============================================================================== --- head/share/man/man9/timeout.9 Fri Jan 8 10:35:57 2016 (r293420) +++ head/share/man/man9/timeout.9 Fri Jan 8 13:33:22 2016 (r293421) @@ -261,7 +261,7 @@ returns zero it will arrange for the fun .Fa drain to be called using the same argument given to the .Fn callout_reset -function. +function. .Fn callout_async_drain If the callout has an associated lock, then that lock must be held when this function is called.