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
- Lines: 19
- Date:
Fri Sep 10 12:59:49 1999
- Orig file:
v2.3.17/linux/drivers/usb/usb_scsi_debug.c
- Orig date:
Sun Jun 20 11:43:42 1999
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)