diff options
author | Lu, Han <han.lu@intel.com> | 2015-03-27 15:03:57 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-27 09:25:39 -0700 |
commit | 2c0ed6349287a15f7be73bba00e520106087cd1b (patch) | |
tree | 7dcc1632aa1ad2496ee5eb94e81f690756084ff6 /sound/soc/intel/sst/sst_drv_interface.c | |
parent | 5d5b275d727753372f0a390b4121738d073f3e94 (diff) | |
download | op-kernel-dev-2c0ed6349287a15f7be73bba00e520106087cd1b.zip op-kernel-dev-2c0ed6349287a15f7be73bba00e520106087cd1b.tar.gz |
ASoC: Intel: fix warning reported by static check tool smatch
The smatch tool report warning:
...
CHECK sound/soc/intel/sst-haswell-pcm.c
sound/soc/intel/sst-haswell-pcm.c:1110 hsw_pcm_probe() error: buffer overflow\
'hsw_dais' 4 <= 4
sound/soc/intel/sst-haswell-pcm.c:1112 hsw_pcm_probe() error: buffer overflow\
'hsw_dais' 4 <= 4
...
fix it by use its own struct member for post-process module, rather than sharing
unused pcm member.
Signed-off-by: Lu, Han <han.lu@intel.com>
Acked-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst/sst_drv_interface.c')
0 files changed, 0 insertions, 0 deletions