[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200618.201941.1663983153607539592.davem@davemloft.net>
Date: Thu, 18 Jun 2020 20:19:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavoars@...nel.org
Cc: peppe.cavallaro@...com, alexandre.torgue@...com,
joabreu@...opsys.com, kuba@...nel.org, mcoquelin.stm32@...il.com,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
gustavo@...eddedor.com
Subject: Re: [PATCH][next] net: stmmac: selftests: Use struct_size() helper
in kzalloc()
From: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Date: Tue, 16 Jun 2020 18:03:28 -0500
> 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>
Applied to net-next, thanks.
Powered by blists - more mailing lists