diff options
author | Amadeusz Sławiński <[email protected]> | 2019-08-27 16:17:07 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-08-27 19:23:24 +0100 |
commit | 17d29ff98fd4b70e9ccdac5e95e18a087e2737ef (patch) | |
tree | 24bb1f811d67c36cda50b6a88a70978c3a1bc003 /lib/test_overflow.c | |
parent | 0ce6a624473e7e5752a84416f85f73d082308edd (diff) |
ASoC: Intel: Skylake: Use correct function to access iomem space
For copying from __iomem, we should use __ioread32_copy.
reported by sparse:
sound/soc/intel/skylake/skl-debug.c:437:34: warning: incorrect type in argument 1 (different address spaces)
sound/soc/intel/skylake/skl-debug.c:437:34: expected void [noderef] <asn:2> *to
sound/soc/intel/skylake/skl-debug.c:437:34: got unsigned char *
sound/soc/intel/skylake/skl-debug.c:437:51: warning: incorrect type in argument 2 (different address spaces)
sound/soc/intel/skylake/skl-debug.c:437:51: expected void const *from
sound/soc/intel/skylake/skl-debug.c:437:51: got void [noderef] <asn:2> *[assigned] fw_reg_addr
Signed-off-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions