[PATCH][next] irqchip: Use struct_size() helper in devm_kzalloc()
maz at kernel.org
Sat Jun 27 07:08:03 EDT 2020
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()
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel