public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] NCR5380 typos
@ 2003-02-26 19:25 John Levon
  0 siblings, 0 replies; only message in thread
From: John Levon @ 2003-02-26 19:25 UTC (permalink / raw)
  To: linux-scsi


Against 2.5.63, untested

regards
john



--- linux-linus/drivers/scsi/NCR5380.c	2003-02-10 19:21:41.000000000 +0000
+++ linux/drivers/scsi/NCR5380.c	2003-02-26 19:28:29.000000000 +0000
@@ -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;
--- linux-linus/drivers/scsi/atari_NCR5380.c	2003-01-03 03:06:43.000000000 +0000
+++ linux/drivers/scsi/atari_NCR5380.c	2003-02-26 19:31:02.000000000 +0000
@@ -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);
--- linux-linus/drivers/scsi/mac_NCR5380.c	2003-01-03 03:06:43.000000000 +0000
+++ linux/drivers/scsi/mac_NCR5380.c	2003-02-26 19:31:15.000000000 +0000
@@ -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);

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

only message in thread, other threads:[~2003-02-26 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 19:25 [PATCH] NCR5380 typos John Levon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox