summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/scsi
diff options
context:
space:
mode:
authorlh195018 <none@none>2006-05-18 01:52:35 -0700
committerlh195018 <none@none>2006-05-18 01:52:35 -0700
commite5243e60fd574b5d30f2f7a406332eb252b58e9d (patch)
treeb8731a357467d2593613e2f5992a03713fff238d /usr/src/uts/common/sys/scsi
parent5952bac17f569e08f27a127bf941e054031a7a26 (diff)
downloadillumos-gate-e5243e60fd574b5d30f2f7a406332eb252b58e9d.tar.gz
6368882 extra backslash in SD_BIOERROR macro
6424478 un_max_hba_cdb not protected by sd_mutex
Diffstat (limited to 'usr/src/uts/common/sys/scsi')
-rw-r--r--usr/src/uts/common/sys/scsi/targets/sddef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/scsi/targets/sddef.h b/usr/src/uts/common/sys/scsi/targets/sddef.h
index 745a7bf945..a67a6c8dd7 100644
--- a/usr/src/uts/common/sys/scsi/targets/sddef.h
+++ b/usr/src/uts/common/sys/scsi/targets/sddef.h
@@ -653,6 +653,7 @@ _NOTE(READ_ONLY_DATA(sd_lun::un_sd))
_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_reservation_type))
_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_mincdb))
_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_maxcdb))
+_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_max_hba_cdb))
_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_status_len))
_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_f_arq_enabled))
_NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_ctype))
@@ -1138,7 +1139,7 @@ struct sd_fi_arq {
if ((bp)->b_error == 0) { \
bioerror(bp, errcode); \
} \
- (bp)->b_flags |= B_ERROR; \
+ (bp)->b_flags |= B_ERROR;
#define SD_FILL_SCSI1_LUN_CDB(lunp, cdbp) \
if (! (lunp)->un_f_is_fibre && \