diff options
author | Herve Codina <herve.codina@bootlin.com> | 2023-12-05 16:20:58 +0100 |
---|---|---|
committer | Herve Codina <herve.codina@bootlin.com> | 2023-12-12 10:29:20 +0100 |
commit | fc0c64154e5ddeb6f63c954735bd646ce5b8d9a4 (patch) | |
tree | 23958d28c714542d7584b80da90617019a7a1229 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff) |
soc: fsl: cpm1: tsa: Fix __iomem addresses declaration
Running sparse (make C=1) on tsa.c raises a lot of warning such as:
--- 8< ---
warning: incorrect type in assignment (different address spaces)
expected void *[noderef] si_regs
got void [noderef] __iomem *
--- 8< ---
Indeed, some variable were declared 'type *__iomem var' instead of
'type __iomem *var'.
Use the correct declaration to remove these warnings.
Fixes: 1d4ba0b81c1c ("soc: fsl: cpm1: Add support for TSA")
Cc: stable@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312051959.9YdRIYbg-lkp@intel.com/
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20231205152116.122512-2-herve.codina@bootlin.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions