diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-11-09 15:45:09 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-11-09 19:59:49 -0500 |
commit | 107e716b3487df5e2940ebe3338d935306efc78b (patch) | |
tree | 1a0d13a1193ab4b571b531accd2536872918bea5 /drivers/scsi | |
parent | 82a0d7b5829ebd033b7f808c026ab43509913692 (diff) |
[SCSI] gdth: Fix && typos
Fix uses of "&&" where "&" was obviously intended instead.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/gdth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 4bc14ad92e22..4c698a71f66f 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -3531,7 +3531,7 @@ static irqreturn_t gdth_interrupt(int irq,void *dev_id) | |||
3531 | IStatus &= ~0x80; | 3531 | IStatus &= ~0x80; |
3532 | #ifdef INT_COAL | 3532 | #ifdef INT_COAL |
3533 | if (coalesced) | 3533 | if (coalesced) |
3534 | ha->status = pcs->ext_status && 0xffff; | 3534 | ha->status = pcs->ext_status & 0xffff; |
3535 | else | 3535 | else |
3536 | #endif | 3536 | #endif |
3537 | ha->status = gdth_readw(&dp6m_ptr->i960r.status); | 3537 | ha->status = gdth_readw(&dp6m_ptr->i960r.status); |
@@ -3543,7 +3543,7 @@ static irqreturn_t gdth_interrupt(int irq,void *dev_id) | |||
3543 | if (coalesced) { | 3543 | if (coalesced) { |
3544 | ha->info = pcs->info0; | 3544 | ha->info = pcs->info0; |
3545 | ha->info2 = pcs->info1; | 3545 | ha->info2 = pcs->info1; |
3546 | ha->service = (pcs->ext_status >> 16) && 0xffff; | 3546 | ha->service = (pcs->ext_status >> 16) & 0xffff; |
3547 | } else | 3547 | } else |
3548 | #endif | 3548 | #endif |
3549 | { | 3549 | { |