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

Marc Zyngier 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()
      commit: 2f7a9bda42f74e1169fcd9ef55c8ade989ef8bba

Thanks,

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




More information about the Linux-mediatek mailing list