patch-2.0.1 linux/drivers/scsi/scsi.h

Next file: linux/drivers/scsi/sg.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -202,7 +202,7 @@
  *  Use these to separate status msg and our bytes
  */
 
-#define status_byte(result) (((result) >> 1) & 0xf)
+#define status_byte(result) (((result) >> 1) & 0x1f)
 #define msg_byte(result)    (((result) >> 8) & 0xff)
 #define host_byte(result)   (((result) >> 16) & 0xff)
 #define driver_byte(result) (((result) >> 24) & 0xff)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov