From: Christian Engelmayer Date: Sun, 13 Apr 2014 17:56:36 +0000 (+0200) Subject: ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume() X-Git-Tag: omap-for-v3.16/pm-signed~32^2~2^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf657d2479d179a03668cd7ab8aec96415592f02;p=pandora-kernel.git ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume() 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed