From nobody@FreeBSD.org  Wed Jun 27 19:03:41 2012
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 B157E106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 19:03:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9D6788FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 19:03:41 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5RJ3f1t097689
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 19:03:41 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5RJ3faw097688;
	Wed, 27 Jun 2012 19:03:41 GMT
	(envelope-from nobody)
Message-Id: <201206271903.q5RJ3faw097688@red.freebsd.org>
Date: Wed, 27 Jun 2012 19:03:41 GMT
From: Steven Hartland <steven.hartland@multiplay.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: typo in cam_periph_alloc panic call (patch included)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169497
>Category:       kern
>Synopsis:       [cam] [patch] typo in cam_periph_alloc panic call
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-scsi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 19:10:02 UTC 2012
>Closed-Date:    Thu Jun 28 03:37:50 UTC 2012
>Last-Modified:  Sun Jul  1 05:50:09 UTC 2012
>Originator:     Steven Hartland
>Release:        8.3-RELEASE
>Organization:
Multiplay
>Environment:
FreeBSD build 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #114: Wed Jun 27 17:26:53 UTC 2012     root@build:/usr/obj/usr/src/sys/MULTIPLAY  amd64
>Description:
Simple typo in cam_periph_alloc panic call Unkown vs Unknown
>How-To-Repeat:
N/A
>Fix:
Apply the following patch

diff -u /usr/src/sys/cam/cam_periph.c.orig /usr/src/sys/cam/cam_periph.c
--- /usr/src/sys/cam/cam_periph.c.orig  2012-06-27 16:26:47.458659218 +0000
+++ /usr/src/sys/cam/cam_periph.c       2012-06-27 17:45:03.907384143 +0000
@@ -266,7 +266,7 @@
                /* No cleanup to perform. */
                break;
        default:
-               panic("cam_periph_alloc: Unkown init level");
+               panic("cam_periph_alloc: Unknown init level");
        }
        return(status);
 }

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jun 27 23:52:26 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169497 
State-Changed-From-To: open->closed 
State-Changed-By: ken 
State-Changed-When: Thu Jun 28 03:36:41 UTC 2012 
State-Changed-Why:  
Fixed in head in SVN rev 237682. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/169497: commit references a PR
Date: Thu, 28 Jun 2012 03:36:24 +0000 (UTC)

 Author: ken
 Date: Thu Jun 28 03:36:13 2012
 New Revision: 237682
 URL: http://svn.freebsd.org/changeset/base/237682
 
 Log:
   Fix a typo in a panic() call.
   
   PR:		kern/169497
   Submitted by:	Steven Hartland <steven.hartland@multiplay.co.uk>
   MFC after:	3 days
 
 Modified:
   head/sys/cam/cam_periph.c
 
 Modified: head/sys/cam/cam_periph.c
 ==============================================================================
 --- head/sys/cam/cam_periph.c	Thu Jun 28 03:30:17 2012	(r237681)
 +++ head/sys/cam/cam_periph.c	Thu Jun 28 03:36:13 2012	(r237682)
 @@ -273,7 +273,7 @@ failure:
  		/* No cleanup to perform. */
  		break;
  	default:
 -		panic("cam_periph_alloc: Unkown init level");
 +		panic("%s: Unknown init level", __func__);
  	}
  	return(status);
  }
 _______________________________________________
 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: kern/169497: commit references a PR
Date: Sun,  1 Jul 2012 05:44:15 +0000 (UTC)

 Author: ken
 Date: Sun Jul  1 05:39:49 2012
 New Revision: 237879
 URL: http://svn.freebsd.org/changeset/base/237879
 
 Log:
   MFC 237682:
   
     r237682 | ken | 2012-06-27 21:36:13 -0600 (Wed, 27 Jun 2012) | 6 lines
   
     Fix a typo in a panic() call.
   
   PR:		kern/169497
   Submitted by:	Steven Hartland <steven.hartland@multiplay.co.uk>
 
 Modified:
   stable/9/sys/cam/cam_periph.c
 Directory Properties:
   stable/9/sys/   (props changed)
 
 Modified: stable/9/sys/cam/cam_periph.c
 ==============================================================================
 --- stable/9/sys/cam/cam_periph.c	Sun Jul  1 05:32:26 2012	(r237878)
 +++ stable/9/sys/cam/cam_periph.c	Sun Jul  1 05:39:49 2012	(r237879)
 @@ -273,7 +273,7 @@ failure:
  		/* No cleanup to perform. */
  		break;
  	default:
 -		panic("cam_periph_alloc: Unkown init level");
 +		panic("%s: Unknown init level", __func__);
  	}
  	return(status);
  }
 _______________________________________________
 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: kern/169497: commit references a PR
Date: Sun,  1 Jul 2012 05:44:36 +0000 (UTC)

 Author: ken
 Date: Sun Jul  1 05:40:33 2012
 New Revision: 237880
 URL: http://svn.freebsd.org/changeset/base/237880
 
 Log:
   MFC 237682:
   
     r237682 | ken | 2012-06-27 21:36:13 -0600 (Wed, 27 Jun 2012) | 6 lines
   
     Fix a typo in a panic() call.
   
   PR:		kern/169497
   Submitted by:	Steven Hartland <steven.hartland@multiplay.co.uk>
 
 Modified:
   stable/8/sys/cam/cam_periph.c
 Directory Properties:
   stable/8/sys/   (props changed)
 
 Modified: stable/8/sys/cam/cam_periph.c
 ==============================================================================
 --- stable/8/sys/cam/cam_periph.c	Sun Jul  1 05:39:49 2012	(r237879)
 +++ stable/8/sys/cam/cam_periph.c	Sun Jul  1 05:40:33 2012	(r237880)
 @@ -268,7 +268,7 @@ failure:
  		/* No cleanup to perform. */
  		break;
  	default:
 -		panic("cam_periph_alloc: Unkown init level");
 +		panic("%s: Unknown init level", __func__);
  	}
  	return(status);
  }
 _______________________________________________
 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"
 
>Unformatted:
