[alsa-devel] [PATCH] ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume()
Dan Carpenter
dan.carpenter at oracle.com
Wed Apr 16 17:33:56 CEST 2014
On Sun, Apr 13, 2014 at 07:56:36PM +0200, Christian Engelmayer wrote:
> Fix an incorrect sizeof() usage in sst_hsw_stream_get_volume(). sst_dsp_read()
> is called to read into a variable of type u32, but is passed sizeof(u32 *) for
> argument 'size_t bytes'. Detected by Coverity: CID 1195260.
>
> Signed-off-by: Christian Engelmayer <cengelma at gmx.at>
There are a couple others in this file. I introduced one of them. :(
Sorry about that. I'll send a patch for that.
regards,
dan carpenter
More information about the Alsa-devel
mailing list