mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 17:14:14 +08:00
23200a4c8a
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:
|
||
---|---|---|
.. | ||
clk-pxa2xx.h | ||
clk-pxa3xx.c | ||
clk-pxa25x.c | ||
clk-pxa27x.c | ||
clk-pxa.c | ||
clk-pxa.h | ||
Makefile |