Date: Fri, 21 May 2021 07:47:43 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 45f57ce1224b - main - arcmsr: clear CCB allocated on the stack Message-ID: <202105210747.14L7lhmi037989@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=45f57ce1224b5fdf05c0c68aee4d134436e0efba commit 45f57ce1224b5fdf05c0c68aee4d134436e0efba Author: Edward Tomasz Napierala <trasz@FreeBSD.org> AuthorDate: 2021-05-21 07:21:45 +0000 Commit: Edward Tomasz Napierala <trasz@FreeBSD.org> CommitDate: 2021-05-21 07:22:13 +0000 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 --- sys/dev/arcmsr/arcmsr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/arcmsr/arcmsr.c b/sys/dev/arcmsr/arcmsr.c index f7f913de89af..31d12f0ffd40 100644 --- a/sys/dev/arcmsr/arcmsr.c +++ b/sys/dev/arcmsr/arcmsr.c @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105210747.14L7lhmi037989>