]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm32: sai: fix noderef.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 23 Oct 2018 12:20:22 +0000 (20:20 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Oct 2018 10:27:19 +0000 (11:27 +0100)
commit6a511439e5bfe019c16c7881c525a5dda644ba27
treeafe65976d6814e123245d80f6edd9c166ec2cef8
parent037372657f06655e4c00910db676c732fc1689db
ASoC: stm32: sai: fix noderef.cocci warnings

sound/soc/stm/stm32_sai_sub.c:393:26-32: ERROR: application of sizeof to pointer

 sizeof when applied to a pointer typed expression gives the size of
 the pointer

Generated by: scripts/coccinelle/misc/noderef.cocci

Fixes: f3e2207d2a18 ("ASoC: stm32: sai: set sai as mclk clock provider")
CC: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai_sub.c