diff options
| author | Yangtao Li <[email protected]> | 2020-01-12 17:13:18 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2020-01-27 11:41:08 +0100 |
| commit | 69d5f3a9c0c9044202db8793f34f0f0eb1e0302b (patch) | |
| tree | 04115cc8bd81850a97d8b7c9e043f21fc4f1aad3 /scripts/gdb/vmlinux-gdb.py | |
| 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 <[email protected]>
Signed-off-by: Yangtao Li <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions