diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2020-01-12 17:13:18 +0000 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-01-27 11:41:08 +0100 |
commit | 69d5f3a9c0c9044202db8793f34f0f0eb1e0302b (patch) | |
tree | 04115cc8bd81850a97d8b7c9e043f21fc4f1aad3 /net/tipc/net.h | |
parent | d8186285f1fdbc847af75dfeaa4fcc574753c97c (diff) |
thermal: sun8i: Fix using plain integer as NULL pointer in sun8i_ths_resource_init
sparse returns a warning:
"drivers/thermal/sun8i_thermal.c:341:60: sparse: sparse: Using plain
integer as NULL pointer".
Fix it by replacing the zero integer by a NULL pointer.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200112171318.23025-1-tiny.windzz@gmail.com
Diffstat (limited to 'net/tipc/net.h')
0 files changed, 0 insertions, 0 deletions