linux/sound/soc/intel
Liam Girdwood 7bcd84878e ASoC: Intel: Fix sparse warnings for firmware loader
Sparse gives us the following warnings on sst-firmware.c

  CHECK   sound/soc/intel/sst-firmware.c
sound/soc/intel/sst-firmware.c:39:34: warning: incorrect type in argument 1 (different address spaces)
sound/soc/intel/sst-firmware.c:39:34:    expected void volatile [noderef] <asn:2>*dst
sound/soc/intel/sst-firmware.c:39:34:    got void *
sound/soc/intel/sst-firmware.c:417:36: warning: incorrect type in argument 1 (different address spaces)
sound/soc/intel/sst-firmware.c:417:36:    expected void *dest
sound/soc/intel/sst-firmware.c:417:36:    got void [noderef] <asn:2>*
sound/soc/intel/sst-firmware.c:430:5: warning: symbol 'sst_block_module_remove' was not declared. Should it be static?

and

  CC [M]  sound/soc/intel/sst-dsp.o
sound/soc/intel/sst-dsp-priv.h:271:53: warning: incorrect type in argument 3 (different address spaces)
sound/soc/intel/sst-dsp-priv.h:271:53:    expected void *src
sound/soc/intel/sst-dsp-priv.h:271:53:    got void [noderef] <asn:2>*
sound/soc/intel/sst-dsp-priv.h:271:53: warning: incorrect type in argument 3 (different address spaces)
sound/soc/intel/sst-dsp-priv.h:271:53:    expected void *src
sound/soc/intel/sst-dsp-priv.h:271:53:    got void [noderef] <asn:2>*
sound/soc/intel/sst-dsp-priv.h:271:53: warning: incorrect type in argument 3 (different address spaces)
sound/soc/intel/sst-dsp-priv.h:271:53:    expected void *src
sound/soc/intel/sst-dsp-priv.h:271:53:    got void [noderef] <asn:2>*

This patch removes these warnings

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-02-20 00:08:24 +09:00
..
Kconfig ASoC: Intel: Add build support for Intel SST DSP core. 2014-02-18 10:39:25 +09:00
Makefile ASoC: Intel: Add build support for Intel SST DSP core. 2014-02-18 10:39:25 +09:00
mfld_machine.c ASoC: Rename mid-x86 directory to intel 2013-11-24 13:44:19 +00:00
sst-acpi.c ASoC: Intel: sst-acpi: Request firmware before SST platform driver probing 2014-02-19 21:20:42 +09:00
sst-dsp-priv.h ASoC: Intel: Fix sparse warnings for firmware loader 2014-02-20 00:08:24 +09:00
sst-dsp.c ASoC: Intel: Rename SST trace event header to be less generic. 2014-02-19 13:27:04 +09:00
sst-dsp.h ASoC: Intel: sst-acpi: Request firmware before SST platform driver probing 2014-02-19 21:20:42 +09:00
sst-firmware.c ASoC: Intel: Fix sparse warnings for firmware loader 2014-02-20 00:08:24 +09:00
sst-mfld-dsp.h ASoC: Intel: Add a mfld prefix to Intel SST drivers. 2014-02-12 15:09:49 +00:00
sst-mfld-platform.c ASoC: Intel: Add a mfld prefix to Intel SST drivers. 2014-02-12 15:09:49 +00:00
sst-mfld-platform.h ASoC: Intel: Add a mfld prefix to Intel SST drivers. 2014-02-12 15:09:49 +00:00