patch-2.3.18 linux/drivers/usb/usb_scsi_debug.c

Next file: linux/drivers/usb/uss720.c
Previous file: linux/drivers/usb/usb_scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/drivers/usb/usb_scsi_debug.c linux/drivers/usb/usb_scsi_debug.c
@@ -15,8 +15,7 @@
 #include <linux/poll.h>
 #include <linux/init.h>
 #include <linux/malloc.h>
-
-#include <asm/spinlock.h>
+#include <linux/spinlock.h>
 
 #include <linux/blk.h>
 #include "../scsi/scsi.h"
@@ -28,7 +27,7 @@
 
 void us_show_command(Scsi_Cmnd *srb)
 {
-    char *what;
+    char *what = NULL;
 
     switch (srb->cmnd[0]) {
     case TEST_UNIT_READY: what = "TEST_UNIT_READY"; break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)