diff options
author | Herve Codina <herve.codina@bootlin.com> | 2023-12-05 16:20:59 +0100 |
---|---|---|
committer | Herve Codina <herve.codina@bootlin.com> | 2023-12-12 10:29:20 +0100 |
commit | a5ec3a21220da06bdda2e686012ca64fdb6c513d (patch) | |
tree | cdf9e82685c462f48ccd7344f37463110bd2e86d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fc0c64154e5ddeb6f63c954735bd646ce5b8d9a4 (diff) |
soc: fsl: cpm1: qmc: Fix __iomem addresses declaration
Running sparse (make C=1) on qmc.c raises a lot of warning such as:
...
warning: incorrect type in assignment (different address spaces)
expected struct cpm_buf_desc [usertype] *[noderef] __iomem bd
got struct cpm_buf_desc [noderef] [usertype] __iomem *txbd_free
...
Indeed, some variable were declared 'type *__iomem var' instead of
'type __iomem *var'.
Use the correct declaration to remove these warnings.
Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
Cc: stable@vger.kernel.org
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-3-herve.codina@bootlin.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions