[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e0afded8-386a-7619-a221-869ae2e606f6@kernel.dk>
Date: Sat, 20 Jun 2020 15:25:08 -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] blk-iocost: Use struct_size() in kzalloc_node()
On 6/19/20 5:08 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