Page MenuHomeFreeBSD

D30301.diff
No OneTemporary

D30301.diff

diff --git a/sys/dev/mpr/mpr_sas.c b/sys/dev/mpr/mpr_sas.c
--- a/sys/dev/mpr/mpr_sas.c
+++ b/sys/dev/mpr/mpr_sas.c
@@ -3358,6 +3358,7 @@
}
bzero(&rcap_buf, sizeof(rcap_buf));
+ bzero(&cdai, sizeof(cdai));
xpt_setup_ccb(&cdai.ccb_h, path, CAM_PRIORITY_NORMAL);
cdai.ccb_h.func_code = XPT_DEV_ADVINFO;
cdai.ccb_h.flags = CAM_DIR_IN;
diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c
--- a/sys/dev/mps/mps_sas.c
+++ b/sys/dev/mps/mps_sas.c
@@ -3204,6 +3204,7 @@
}
bzero(&rcap_buf, sizeof(rcap_buf));
+ bzero(&cdai, sizeof(cdai));
xpt_setup_ccb(&cdai.ccb_h, path, CAM_PRIORITY_NORMAL);
cdai.ccb_h.func_code = XPT_DEV_ADVINFO;
cdai.ccb_h.flags = CAM_DIR_IN;

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 8:47 PM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15829021
Default Alt Text
D30301.diff (699 B)

Event Timeline