Thread (71 messages) 71 messages, 9 authors, 2022-04-07

Re: [PATCH v3 15/35] PCI: vmd: Use msi_msg shadow structs

From: Kees Cook <hidden>
Date: 2020-10-28 23:23:43
Also in: kvm, linux-iommu, lkml

On Wed, Oct 28, 2020 at 10:13:52PM +0100, Thomas Gleixner wrote:
On Wed, Oct 28 2020 at 13:49, Kees Cook wrote:
quoted
On Sat, Oct 24, 2020 at 10:35:15PM +0100, David Woodhouse wrote:
quoted
+	memset(&msg, 0, sizeof(*msg);
This should be:

+	memset(msg, 0, sizeof(*msg);
        memset(msg, 0, sizeof(*msg));

Then it compiles _and_ is correct :)
\o/ ;)

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help