Linux-mediatek Archive on lore.kernel.org
 help / color / Atom feed
* Re: [PATCH][next] irqchip: Use struct_size() helper in devm_kzalloc()
       [not found] <20200616230923.GA24937@embeddedor>
@ 2020-06-27 11:08 ` Marc Zyngier
  0 siblings, 0 replies; only message in thread
From: Marc Zyngier @ 2020-06-27 11:08 UTC (permalink / raw)
  To: Jason Cooper, Matthias Brugger, Bartosz Golaszewski,
	Thomas Gleixner, Fabio Estevam, Sascha Hauer,
	Pengutronix Kernel Team, Gustavo A. R. Silva, NXP Linux Team,
	Shawn Guo
  Cc: Stephane Le Provost, Fabien Parent, Pedro Tsai,
	Gustavo A. R. Silva, linux-kernel, Bartosz Golaszewski,
	linux-mediatek, Andrew Perepech, linux-arm-kernel

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.


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200616230923.GA24937@embeddedor>
2020-06-27 11:08 ` [PATCH][next] irqchip: Use struct_size() helper in devm_kzalloc() Marc Zyngier

Linux-mediatek Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mediatek/0 linux-mediatek/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mediatek linux-mediatek/ https://lore.kernel.org/linux-mediatek \
		linux-mediatek@lists.infradead.org
	public-inbox-index linux-mediatek

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mediatek


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git