diff options
author | Alexey V. Vissarionov <gremlin@altlinux.org> | 2023-01-17 14:15:23 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-01-17 18:01:34 +0100 |
commit | 3ee0fe7fa39b14d1cea455b7041f2df933bd97d2 (patch) | |
tree | 3d4e1e09e2a4f7d1852a0b61c152fb21130ee2d1 /include/sound | |
parent | acdebd8b4c0c90ec3debe3def0460f07d27504bb (diff) |
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: 01ef7dbffb41 ("ALSA: hda - Update CA0132 codec to load DSP firmware binary")
Signed-off-by: Alexey V. Vissarionov <gremlin@altlinux.org>
Link: https://lore.kernel.org/r/20230117111522.GA15213@altlinux.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions