Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 16 Apr 2014 18:33:56 +0300 | From | Dan Carpenter <> | Subject | Re: [PATCH] ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume() |
| |
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@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
| ![\](/images/icornerr.gif) |