[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200817104144.bn5mqzfggtjxwjva@sirius.home.kraxel.org>
Date: Mon, 17 Aug 2020 12:41:44 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH][next] drm/virtio: Use struct_size() helper in kmalloc()
On Wed, Jun 17, 2020 at 04:57:07PM -0500, Gustavo A. R. Silva wrote:
> Make use of the struct_size() helper instead of an open-coded version
> in order to avoid any potential type mistakes.
>
> This code was detected with the help of Coccinelle and, audited and
> fixed manually.
>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
Queued up for drm-misc-next.
thanks,
Gerd
Powered by blists - more mailing lists