Skip to contentSkip to conversation

NCR5380 typos

PATCH New John Levon 1 participant 1 message Feb 26, 2003

Subsystems (2)
lore
Share & tools
lore

John Levon

author
#0 lore raw

PATCH 1/1 NCR5380 typos

Against 2.5.63, untested

regards
john

drivers/scsi/NCR5380.c +1 -1
@@ -2750,7 +2750,7 @@
 	phase = PHASE_MSGIN;
 	NCR5380_transfer_pio(instance, &phase, &len, &data);
 
-	if (!msg[0] & 0x80) {
+	if (!(msg[0] & 0x80)) {
 		printk(KERN_ERR "scsi%d : expecting IDENTIFY message, got ", instance->host_no);
 		print_msg(msg);
 		abort = 1;
drivers/scsi/atari_NCR5380.c +1 -1
@@ -2543,7 +2543,7 @@
     phase = PHASE_MSGIN;
     NCR5380_transfer_pio(instance, &phase, &len, &data);
 
-    if (!msg[0] & 0x80) {
+    if (!(msg[0] & 0x80)) {
 	printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO);
 	print_msg(msg);
 	do_abort(instance);
drivers/scsi/mac_NCR5380.c +1 -1
@@ -2694,7 +2694,7 @@
     phase = PHASE_MSGIN;
     NCR5380_transfer_pio(instance, &phase, &len, &data);
 
-    if (!msg[0] & 0x80) {
+    if (!(msg[0] & 0x80)) {
 	printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO);
 	print_msg(msg);
 	do_abort(instance);