lkml.org 
[lkml]   [2002]   [Dec]   [2]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
FromRusty Russell <>
SubjectRe: [TRIVIAL PATCH 2.5.47] Remove compile warning from scsi/scsi.c
DateMon, 02 Dec 2002 14:57:00 +1100
In message <20021113222709.GB3336@doc.pdx.osdl.net> you write:
> diff -Nru a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
> --- a/drivers/scsi/scsi.c	Wed Nov 13 14:09:57 2002
> +++ b/drivers/scsi/scsi.c	Wed Nov 13 14:09:57 2002
> @@ -1985,7 +1985,7 @@
>  	up_read(&scsi_devicelist_mutex);
>  	return 0;
> 
> -fail:
> +/* XXX fail: */
>  	printk(KERN_ERR "%s: Allocation failure during SCSI scanning, "
>  			"some SCSI devices might not be configured\n",
>  			__FUNCTION__);

That code is now unreachable, which can't be right.

(Catching up on trivial),
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 11:31    [from the cache]
©2003-2008