summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlexey V. Vissarionov <gremlin@altlinux.org>2023-01-17 14:15:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 16:31:40 +0100
commitee6f7747e1001537080624025c2c9dcea1684f35 (patch)
tree3c017dcf9eda3f6e69fc6bb6d81089023a310b09 /drivers/gpu
parent5868013522297bf628eee4322d99d6d4de4f308e (diff)
ALSA: hda/ca0132: minor fix for allocation size
[ Upstream commit 3ee0fe7fa39b14d1cea455b7041f2df933bd97d2 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions