Re: [PATCH][next] irqchip: Use struct_size() helper in devm_kzalloc()

From: Marc Zyngier
Date: Sat Jun 27 2020 - 07:08:37 EST


On Tue, 16 Jun 2020 18:09:23 -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.

Applied to irq/irqchip-5.9:

[1/1] irqchip/imx-intmux: Use struct_size() helper in devm_kzalloc()
commit: 2f7a9bda42f74e1169fcd9ef55c8ade989ef8bba

Thanks,

M.
--
Without deviation from the norm, progress is not possible.