Skip to content
Commit 3ee0fe7f authored by Alexey V. Vissarionov's avatar Alexey V. Vissarionov Committed by Takashi Iwai
Browse files

ALSA: hda/ca0132: minor fix for allocation size



Although the "dma_chan" pointer occupies more or equal space compared
to "*dma_chan", the allocation size should use the size of variable
itself.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 01ef7dbf ("ALSA: hda - Update CA0132 codec to load DSP firmware binary")
Signed-off-by: default avatarAlexey V. Vissarionov <gremlin@altlinux.org>
Link: https://lore.kernel.org/r/20230117111522.GA15213@altlinux.org


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent acdebd8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment