Skip to content

Commit

Permalink
[SCSI] gdth: Fix && typos
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and James Bottomley committed Nov 10, 2006
1 parent 82a0d7b commit 107e716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/gdth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3531,7 +3531,7 @@ static irqreturn_t gdth_interrupt(int irq,void *dev_id)
IStatus &= ~0x80;
#ifdef INT_COAL
if (coalesced)
ha->status = pcs->ext_status && 0xffff;
ha->status = pcs->ext_status & 0xffff;
else
#endif
ha->status = gdth_readw(&dp6m_ptr->i960r.status);
Expand All @@ -3543,7 +3543,7 @@ static irqreturn_t gdth_interrupt(int irq,void *dev_id)
if (coalesced) {
ha->info = pcs->info0;
ha->info2 = pcs->info1;
ha->service = (pcs->ext_status >> 16) && 0xffff;
ha->service = (pcs->ext_status >> 16) & 0xffff;
} else
#endif
{
Expand Down

0 comments on commit 107e716

Please sign in to comment.