mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
sparse points out an embarrasing bug in an older patch of mine,
which uses the register offset instead of an __iomem pointer:
drivers/clk/pxa/clk-pxa3xx.c:167:9: sparse: sparse: Using plain integer as NULL pointer
Unlike sparse, gcc and clang ignore this bug and fail to warn
because a literal '0' is considered a valid representation of
a NULL pointer.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| clk-pxa.c | ||
| clk-pxa.h | ||
| clk-pxa2xx.h | ||
| clk-pxa3xx.c | ||
| clk-pxa25x.c | ||
| clk-pxa27x.c | ||
| Makefile | ||