Skip to content
Commit bf657d24 authored by Christian Engelmayer's avatar Christian Engelmayer Committed by Mark Brown
Browse files

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: default avatarChristian Engelmayer <cengelma@gmx.at>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 7897ab78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment