[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4ecbc8a9-42ec-c117-42f7-32572b750036@kernel.dk>
Date: Sat, 20 Jun 2020 15:21:51 -0600
From: Jens Axboe <axboe@...nel.dk>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH][next] block: bio: Use struct_size() in kmalloc()
On 6/19/20 6:49 PM, 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.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists