lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <174231533973.179247.5473589269509240114.b4-ty@kernel.org> Date: Tue, 18 Mar 2025 16:28:59 +0000 From: Mark Brown <broonie@...nel.org> To: Cezary Rojewski <cezary.rojewski@...el.com>, Liam Girdwood <liam.r.girdwood@...ux.intel.com>, Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>, Bard Liao <yung-chuan.liao@...ux.intel.com>, Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>, Kai Vehmanen <kai.vehmanen@...ux.intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@...ux.dev>, Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>, Ethan Carter Edwards <ethan@...ancedwards.com> Cc: gustavoars@...nel.org, linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH v2 0/4] ASoC: Intel: avs: Replace devm_kzalloc() with devm_kcalloc() On Mon, 17 Mar 2025 08:21:55 -0400, Ethan Carter Edwards wrote: > Open coded arithmetic in allocator arguments is discouraged. Helper > functions like kcalloc or, in this case, devm_kcalloc are preferred. Not > only for readability purposes but safety purposes. > > The changes move `devm_kzalloc(dev, sizeof(var) * n, GFP_KERNEL)` to > the helper function `devm_kcalloc(dev, n, sizeof(var), GFP_KERNEL)`. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/4] ASoC: Intel: avs: Replace devm_kzalloc() with devm_kcalloc() commit: 6d9d66626c58bcd9b949574aca7d47149b8ad9e1 [2/4] ASoC: Intel: avs: ssm4567: Replace devm_kzalloc() with devm_kcalloc() commit: 61b1a1bddf7d166946d7ca7054b6cbced29b72f5 [3/4] ASoC: Intel: avs: max98373: Replace devm_kzalloc() with devm_kcalloc() commit: bde479694a7da7c127bb5bba98e2e4773f1d7951 [4/4] ASoC: Intel: avs: max98927: Replace devm_kzalloc() with devm_kcalloc() commit: 3602571baf9a6864bde89422d179e422a3ea4d8d 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