summaryrefslogtreecommitdiff
path: root/linux/src/drivers/scsi/wd7000.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/src/drivers/scsi/wd7000.c')
-rw-r--r--linux/src/drivers/scsi/wd7000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/scsi/wd7000.c b/linux/src/drivers/scsi/wd7000.c
index d910e27..08d3ac3 100644
--- a/linux/src/drivers/scsi/wd7000.c
+++ b/linux/src/drivers/scsi/wd7000.c
@@ -573,7 +573,7 @@ static int mail_out (Adapter *host, Scb *scbptr)
break;
}
else
- ogmb = (++ogmb) % OGMB_CNT;
+ ogmb = (ogmb + 1) % OGMB_CNT;
}
restore_flags (flags);