From 11e9a69aef9a335691d4a3062d34993cc8ad94f4 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 26 Feb 2003 07:02:42 -0500 Subject: [PATCH] [PATCH] NCR5380 typos Against 2.5.63, untested regards john --- drivers/scsi/NCR5380.c | 2 +- drivers/scsi/atari_NCR5380.c | 2 +- drivers/scsi/mac_NCR5380.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index 2142d518584fc..6a435d5516112 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c @@ -2750,7 +2750,7 @@ static void NCR5380_reselect(struct Scsi_Host *instance) { 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; diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c index f7a944485be2d..27d37acf3204e 100644 --- a/drivers/scsi/atari_NCR5380.c +++ b/drivers/scsi/atari_NCR5380.c @@ -2543,7 +2543,7 @@ static void NCR5380_reselect (struct Scsi_Host *instance) 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); diff --git a/drivers/scsi/mac_NCR5380.c b/drivers/scsi/mac_NCR5380.c index 2fe5a1c5b76e5..12fa8bb2ed106 100644 --- a/drivers/scsi/mac_NCR5380.c +++ b/drivers/scsi/mac_NCR5380.c @@ -2694,7 +2694,7 @@ static void NCR5380_reselect (struct Scsi_Host *instance) 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); -- 2.53.0