[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ae3a31f9-d254-fd68-2257-2337fbfefa70@suse.com>
Date: Fri, 5 Apr 2019 08:48:12 +0200
From: Juergen Gross <jgross@...e.com>
To: Andrea Righi <andrea.righi@...onical.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>
Cc: Stefano Stabellini <sstabellini@...nel.org>,
xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xen: use struct_size() helper in kzalloc()
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@...onical.com>
Pushed to xen/tip.git for-linus-5.1b
Juergen
Powered by blists - more mailing lists