Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: line6: Zero-initialize message buffers
stable inclusion from stable-v5.10.217 commit 602dd9d99a102e0cfa7a8caca34e043ebf504c59 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAWLXC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=602dd9d99a102e0cfa7a8caca34e043ebf504c59 -------------------------------- [ Upstream commit c4e51e424e2c772ce1836912a8b0b87cd61bc9d5 ] For shutting up spurious KMSAN uninit-value warnings, just replace kmalloc() calls with kzalloc() for the buffers used for communications. There should be no real issue with the original code, but it's still better to cover. Reported-by: [email protected] Closes: https://lore.kernel.org/r/[email protected] Message-ID: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: sanglipeng1 <[email protected]>
- Loading branch information