From nobody@FreeBSD.org  Thu Aug 26 05:18:06 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 651AE1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Aug 2010 05:18:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 5578A8FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Aug 2010 05:18:06 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7Q5I6Qx042233
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Aug 2010 05:18:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7Q5I6HN042232;
	Thu, 26 Aug 2010 05:18:06 GMT
	(envelope-from nobody)
Message-Id: <201008260518.o7Q5I6HN042232@www.freebsd.org>
Date: Thu, 26 Aug 2010 05:18:06 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] Add RETURN VALUES section to devclass_get_maxunit(9)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149979
>Category:       docs
>Synopsis:       [PATCH] Add RETURN VALUES section to devclass_get_maxunit(9)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gjb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 26 05:20:04 UTC 2010
>Closed-Date:    Fri Feb 11 14:04:03 UTC 2011
>Last-Modified:  Sun Feb 03 22:29:04 UTC 2013
>Originator:     Garrett Cooper
>Release:        9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #9 r211309M: Thu Aug 19 22:50:36 PDT 2010     root@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA  amd64
>Description:
The devclass_get_maxunit manpage doesn't have a RETURN VALUES section. The attached patch adds that.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: devclass_get_maxunit.9
===================================================================
--- devclass_get_maxunit.9      (revision 210824)
+++ devclass_get_maxunit.9      (working copy)
@@ -43,6 +43,15 @@
 Returns the next unit number to be allocated to device instances in the
 .Dv devclass .
 This is one greater than the highest currently allocated unit.
+.Sh RETURN VALUES
+The
+.Fn devclass_get_maxunit
+function returns -1 if dc is NULL; otherwise it returns the next unit
+number in
+.Fa dc's
+devclass.
+.Sh ERRORS
+None.
 .Sh SEE ALSO
 .Xr devclass 9 ,
 .Xr device 9


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->gjb 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Mon Sep 6 21:48:03 UTC 2010 
Responsible-Changed-Why:  
I'll take this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=149979 
State-Changed-From-To: open->patched 
State-Changed-By: gjb 
State-Changed-When: Fri Sep 10 23:25:42 UTC 2010 
State-Changed-Why:  
Patched in HEAD.  MFC in 1 week. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=149979 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/149979: commit references a PR
Date: Fri, 10 Sep 2010 23:22:10 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Fri Sep 10 23:22:01 2010
 New Revision: 212440
 URL: http://svn.freebsd.org/changeset/base/212440
 
 Log:
   Add RETURN VALUES section to devclass_get_maxunit(9).
   
   PR:		149979
   Submitted by:	gcooper
   Patch by:	gcooper
   Approved by:	keramida (mentor)
   MFC after:	1 week
 
 Modified:
   head/share/man/man9/devclass_get_maxunit.9
 
 Modified: head/share/man/man9/devclass_get_maxunit.9
 ==============================================================================
 --- head/share/man/man9/devclass_get_maxunit.9	Fri Sep 10 23:18:45 2010	(r212439)
 +++ head/share/man/man9/devclass_get_maxunit.9	Fri Sep 10 23:22:01 2010	(r212440)
 @@ -43,6 +43,19 @@
  Returns the next unit number to be allocated to device instances in the
  .Dv devclass .
  This is one greater than the highest currently allocated unit.
 +.Sh RETURN VALUES
 +The
 +.Fn devclass_get_maxunit
 +function returns -1 if
 +.Fa dc
 +is 
 +.Dv NULL;
 +otherwise it returns the next unit
 +number in
 +.Fa dc's
 +devclass.
 +.Sh ERRORS
 +None.
  .Sh SEE ALSO
  .Xr devclass 9 ,
  .Xr device 9
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/149979: commit references a PR
Date: Fri, 11 Feb 2011 13:58:37 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Fri Feb 11 13:58:30 2011
 New Revision: 218564
 URL: http://svn.freebsd.org/changeset/base/218564
 
 Log:
   MFC 212440,212493,212500:
   
   Add RETURN VALUES section to devclass_get_maxunit(9).
   
   PR:		149979
   Approved by:	keramida (mentor)
 
 Modified:
   stable/8/share/man/man9/devclass_get_maxunit.9
 Directory Properties:
   stable/8/share/man/man9/   (props changed)
 
 Modified: stable/8/share/man/man9/devclass_get_maxunit.9
 ==============================================================================
 --- stable/8/share/man/man9/devclass_get_maxunit.9	Fri Feb 11 13:56:06 2011	(r218563)
 +++ stable/8/share/man/man9/devclass_get_maxunit.9	Fri Feb 11 13:58:30 2011	(r218564)
 @@ -28,7 +28,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd April 3, 2005
 +.Dd September 10, 2010
  .Dt DEVCLASS_GET_MAXUNIT 9
  .Os
  .Sh NAME
 @@ -43,6 +43,19 @@
  Returns the next unit number to be allocated to device instances in the
  .Dv devclass .
  This is one greater than the highest currently allocated unit.
 +.Sh RETURN VALUES
 +The
 +.Fn devclass_get_maxunit
 +function returns -1 if
 +.Fa dc
 +is 
 +.Dv NULL;
 +otherwise it returns the next unit
 +number in
 +.Fa dc's
 +devclass.
 +.Sh ERRORS
 +None.
  .Sh SEE ALSO
  .Xr devclass 9 ,
  .Xr device 9
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/149979: commit references a PR
Date: Fri, 11 Feb 2011 14:00:22 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Fri Feb 11 13:59:56 2011
 New Revision: 218565
 URL: http://svn.freebsd.org/changeset/base/218565
 
 Log:
   MFC 212440,212493,212500:
   
   Add RETURN VALUES section to devclass_get_maxunit(9).
   
   PR:		149979
   Approved by:	keramida (mentor)
 
 Modified:
   stable/7/share/man/man9/devclass_get_maxunit.9
 Directory Properties:
   stable/7/share/man/man9/   (props changed)
 
 Modified: stable/7/share/man/man9/devclass_get_maxunit.9
 ==============================================================================
 --- stable/7/share/man/man9/devclass_get_maxunit.9	Fri Feb 11 13:58:30 2011	(r218564)
 +++ stable/7/share/man/man9/devclass_get_maxunit.9	Fri Feb 11 13:59:56 2011	(r218565)
 @@ -28,7 +28,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd April 3, 2005
 +.Dd September 10, 2010
  .Dt DEVCLASS_GET_MAXUNIT 9
  .Os
  .Sh NAME
 @@ -43,6 +43,19 @@
  Returns the next unit number to be allocated to device instances in the
  .Dv devclass .
  This is one greater than the highest currently allocated unit.
 +.Sh RETURN VALUES
 +The
 +.Fn devclass_get_maxunit
 +function returns -1 if
 +.Fa dc
 +is 
 +.Dv NULL;
 +otherwise it returns the next unit
 +number in
 +.Fa dc's
 +devclass.
 +.Sh ERRORS
 +None.
  .Sh SEE ALSO
  .Xr devclass 9 ,
  .Xr device 9
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gjb 
State-Changed-When: Fri Feb 11 14:03:42 UTC 2011 
State-Changed-Why:  
MFC'd to stable/8 and stable/7.  Thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=149979 
>Unformatted:
