diff options
| author | Sanjuán García, Jorge <[email protected]> | 2023-08-03 09:59:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-04 15:09:51 +0200 |
| commit | 593135f09368dbddc0244b859a7c3befb97214e0 (patch) | |
| tree | 0897e232dc54561cb930ee44bc9656fcd40c2517 /tools/perf/scripts/python | |
| parent | a10b6a03e6377f8e658ee3c9f4bc0feae30f3df2 (diff) | |
8250_men_mcb: remove unnecessary cast when reading register
Fixes following sparse warning:
drivers/tty/serial/8250/8250_men_mcb.c:92:21: sparse: cast removes
address space '__iomem' of expression
drivers/tty/serial/8250/8250_men_mcb.c:92:21: sparse: incorrect type
in argument 1 (different address spaces) expected void const volatile
[noderef] __iomem *addr got void *
Fixes: 2554e6ba28a2 ("8250_men_mcb: Read num ports from register data.")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Jorge Sanjuan Garcia <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions