arcmsr: clear CCB allocated on the stack
Reviewed By: delphij, imp Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D30304
This commit is contained in:
parent
b9353e0b44
commit
45f57ce122
@ -4957,6 +4957,7 @@ irqx:
|
||||
/*
|
||||
****************************************************
|
||||
*/
|
||||
memset(&csa, 0, sizeof(csa));
|
||||
xpt_setup_ccb(&csa.ccb_h, acb->ppath, /*priority*/5);
|
||||
csa.ccb_h.func_code = XPT_SASYNC_CB;
|
||||
csa.event_enable = AC_FOUND_DEVICE|AC_LOST_DEVICE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user