public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: John Levon <levon@movementarian.org>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] NCR5380 typos
Date: Wed, 26 Feb 2003 19:25:52 +0000	[thread overview]
Message-ID: <20030226192552.GC58846@compsoc.man.ac.uk> (raw)


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);

                 reply	other threads:[~2003-02-26 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030226192552.GC58846@compsoc.man.ac.uk \
    --to=levon@movementarian.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox