diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-06-15 00:07:27 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-06-15 00:07:27 +0000 |
| commit | 988401088c0ebb16cc7cea24f3d016aba6a20627 (patch) | |
| tree | b4e15f7530487f7f22d35b474b7fd7cdb45e9edc | |
| parent | 13f961dbfd4bab95bb1c124d5b030d7a2788ebc4 (diff) | |
Notes
| -rw-r--r-- | sys/cam/scsi/scsi_low.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/scsi/scsi_low.c b/sys/cam/scsi/scsi_low.c index a0b2c7fd11fd..2fd12cae6031 100644 --- a/sys/cam/scsi/scsi_low.c +++ b/sys/cam/scsi/scsi_low.c @@ -1264,8 +1264,8 @@ scsi_low_done(slp, cb) } else { - if ((ccb->ccb_h.status & CAM_AUTOSNS_VALID == 0) && - cb->ccb_rcnt < slp->sl_max_retry) + if (((ccb->ccb_h.status & CAM_AUTOSNS_VALID) == 0) && + (cb->ccb_rcnt < slp->sl_max_retry)) goto retry; #else if (xs->error == XS_NOERROR) @@ -2084,11 +2084,11 @@ scsi_low_synch(ti) struct targ_info *ti; { struct scsi_low_softc *slp = ti->ti_sc; - struct lun_info *li = ti->ti_li; - u_int period = 0, offset = 0; #ifdef SCSI_LOW_INFORM + struct lun_info *li = ti->ti_li; u_int speed; #endif + u_int period = 0, offset = 0; u_char *s; int error; |
