[lvc-project] [PATCH] ALSA: hda/ca0132: minor fix for	allocation size
    Takashi Iwai 
    tiwai at suse.de
       
    Tue Jan 17 20:02:50 MSK 2023
    
    
  
On Tue, 17 Jan 2023 12:15:23 +0100,
Alexey V. Vissarionov wrote:
> 
> 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: 01ef7dbffb411d9d ("ALSA: hda - Update CA0132 codec to load DSP firmware binary")
> Signed-off-by: Alexey V. Vissarionov <gremlin at altlinux.org>
Thanks, applied now.
(BTW, the Fixes tag should have the commit ID in 12 chars.  I
corrected locally.)
Takashi
    
    
More information about the lvc-project
mailing list