diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-09-10 21:29:25 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2021-10-26 20:22:51 +0200 |
commit | abd1c6adc16d1b82109a29b570fc545b775049d5 (patch) | |
tree | 18bbafc3a1be0dda89caa7c2e9289557f51cd5e7 /virt | |
parent | bcc3e704f1b73f7f8674364f0bda6593bbc9fd2b (diff) | |
download | linux-abd1c6adc16d1b82109a29b570fc545b775049d5.tar.bz2 |
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 <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210911042925.556889-1-linux@roeck-us.net
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions