Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107555621
D30301.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
699 B
Referenced Files
None
Subscribers
None
D30301.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D30301: mpr, mps: clear CCBs allocated on the stack
Attached
Detach File
Event Timeline
Log In to Comment