From: Juergen Gross <jgross@suse.com>
To: Andrea Righi <andrea.righi@canonical.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: xen-devel@lists.xenproject.org,
Stefano Stabellini <sstabellini@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [Xen-devel] [PATCH] xen: use struct_size() helper in kzalloc()
Date: Fri, 5 Apr 2019 08:48:12 +0200 [thread overview]
Message-ID: <ae3a31f9-d254-fd68-2257-2337fbfefa70@suse.com> (raw)
In-Reply-To: <20190403052636.GC21532@xps-13>
On 03/04/2019 07:26, Andrea Righi wrote:
> struct privcmd_buf_vma_private has a zero-sized array at the end
> (pages), use the new struct_size() helper to determine the proper
> allocation size and avoid potential type mistakes.
>
> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Pushed to xen/tip.git for-linus-5.1b
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-04-05 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190403052636.GC21532@xps-13>
2019-04-03 6:00 ` [PATCH] xen: use struct_size() helper in kzalloc() Juergen Gross
2019-04-05 6:48 ` Juergen Gross [this message]
2019-04-05 6:48 ` Juergen Gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ae3a31f9-d254-fd68-2257-2337fbfefa70@suse.com \
--to=jgross@suse.com \
--cc=andrea.righi@canonical.com \
--cc=boris.ostrovsky@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).