--- Gnu-Mach/linux/src/drivers/scsi/NCR5380.c 2020/09/02 04:46:23 1.1.1.2 +++ Gnu-Mach/linux/src/drivers/scsi/NCR5380.c 2020/09/02 04:48:54 1.1.1.3 @@ -1949,7 +1949,7 @@ static int do_abort (struct Scsi_Host *h * the target sees, so we just handshake. */ - while (!(tmp = NCR5380_read(STATUS_REG)) & SR_REQ); + while (!((tmp = NCR5380_read(STATUS_REG)) & SR_REQ)); NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(tmp)); @@ -2900,7 +2900,7 @@ static void NCR5380_reselect (struct Scs NCR5380_transfer_pio(instance, &phase, &len, &data); - if (!msg[0] & 0x80) { + if (!(msg[0] & 0x80)) { printk("scsi%d : expecting IDENTIFY message, got ", instance->host_no); print_msg(msg);