]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: some incorrect sizeof() usages
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Apr 2014 15:38:11 +0000 (18:38 +0300)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 16:11:03 +0000 (17:11 +0100)
commit49f50030d24a82123b8f0ba78110cfa091d64e88
treeab0442d966a833d74c900ae6e1fe2c1fed396c36
parent55addf3150ef37e6b38d415547cc6f20b4d9aca1
ASoC: Intel: some incorrect sizeof() usages

The intent was to say "sizeof(*pos)" and not "sizeof(pos)".

The sizeof(*pos) is 8 bytes so the bug won't show up on 64 bit systems.
The sizeof(*dx) is 172 bytes so that will be a bugfix.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-haswell-ipc.c