[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175572825608.300376.7595587079585456413.b4-ty@kernel.org>
Date: Wed, 20 Aug 2025 23:17:36 +0100
From: Mark Brown <broonie@...nel.org>
To: Nick Li <nick.li@...rsemi.com>, Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Shengjiu Wang <shengjiu.wang@...il.com>, Xiubo Li <Xiubo.Lee@...il.com>,
Fabio Estevam <festevam@...il.com>, Nicolin Chen <nicoleotsuka@...il.com>,
Shawn Guo <shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Andrew Davis <afd@...com>, Chen Ni <nichen@...as.ac.cn>,
Linus Walleij <linus.walleij@...aro.org>, Al Viro <viro@...iv.linux.org.uk>,
linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, Qianfeng Rong <rongqianfeng@...o.com>
Subject: Re: [PATCH 0/3] ASoC: Use kcalloc() instead of kzalloc()
On Wed, 20 Aug 2025 20:34:17 +0800, Qianfeng Rong wrote:
> Replace devm_kzalloc() with devm_kcalloc() in sound/soc. As noted in the
> kernel documentation [1], open-coded multiplication in allocator arguments
> is discouraged because it can lead to integer overflow.
>
> Using devm_kcalloc() provides built-in overflow protection, making the
> memory allocation safer when calculating the allocation size compared
> to explicit multiplication.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/3] ASoC: codecs: Use kcalloc() instead of kzalloc()
commit: 45441b933cdfb7a018674049f269d7a1bc1688df
[2/3] ASoC: fsl: Use kcalloc() instead of kzalloc()
commit: 3b6f4bd6cda2797b0d999a129376c112d41604f4
[3/3] ASoC: test-component: Use kcalloc() instead of kzalloc()
commit: 96bcb34df55f7fee99795127c796315950c94fed
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
Powered by blists - more mailing lists