linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] minor scsi cleanup in 2.4.x
@ 2003-04-10 16:01 William King
  0 siblings, 0 replies; only message in thread
From: William King @ 2003-04-10 16:01 UTC (permalink / raw)
  To: linux-kernel, linux-scsi

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

Attached is a patch (based off of 2.4.19) which removes 2 unnecessary
externs and adds a new scsi device type string. The externs are unnecessary
since the array is declared extern in scsi.h. The string change is
consistent with the SCSI-3 standard.

To whom it may concern, please apply. :-)

Thanks,
Bill

[-- Attachment #2: scsi_patch.txt --]
[-- Type: text/plain, Size: 829 bytes --]

--- g_NCR5380.c	2003/04/10 15:43:13	1.1
+++ g_NCR5380.c	2003/04/10 15:43:27
@@ -781,7 +781,6 @@
 	struct NCR5380_hostdata *hostdata;
 #ifdef NCR5380_STATS
 	Scsi_Device *dev;
-	extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE];
 #endif
 	save_flags(flags);
 	cli();
--- scsi_proc.c	2003/04/10 15:42:04	1.1
+++ scsi_proc.c	2003/04/10 15:42:31
@@ -260,7 +260,6 @@
 {
 
 	int x, y = *size;
-	extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE];
 
 	y = sprintf(buffer + len,
 	     "Host: scsi%d Channel: %02d Id: %02d Lun: %02d\n  Vendor: ",
--- scsi.c	2003/04/10 15:29:17	1.1
+++ scsi.c	2003/04/10 15:31:11
@@ -140,7 +140,7 @@
 	"Communications   ",
 	"Unknown          ",
 	"Unknown          ",
-	"Unknown          ",
+	"Storage Array    ",
 	"Enclosure        ",
 };
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-10 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-10 16:01 [PATCH] minor scsi cleanup in 2.4.x William King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).