diff options
| author | Guenter Roeck <[email protected]> | 2021-09-11 04:29:25 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2021-10-26 18:22:51 +0000 |
| commit | abd1c6adc16d1b82109a29b570fc545b775049d5 (patch) | |
| tree | 18bbafc3a1be0dda89caa7c2e9289557f51cd5e7 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | watchdog: sbsa: drop unneeded MODULE_ALIAS (diff) | |
| download | kernel-abd1c6adc16d1b82109a29b570fc545b775049d5.tar.gz kernel-abd1c6adc16d1b82109a29b570fc545b775049d5.zip | |
watchdog: ixp4xx_wdt: Fix address space warning
sparse reports the following address space warning.
drivers/watchdog/ixp4xx_wdt.c:122:20: sparse:
incorrect type in assignment (different address spaces)
drivers/watchdog/ixp4xx_wdt.c:122:20: sparse:
expected void [noderef] __iomem *base
drivers/watchdog/ixp4xx_wdt.c:122:20: sparse:
got void *platform_data
Add a typecast to solve the problem.
Fixes: 21a0a29d16c6 ("watchdog: ixp4xx: Rewrite driver to use core")
Cc: Linus Walleij <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
