diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-16 11:57:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-24 10:26:30 +0300 |
commit | ac41ae0b12c83229f2b1102c4ed9ad96bf8de946 (patch) | |
tree | 7cc17aef69f567c188114735daaed2eb2f66b858 /drivers/reset/reset-zynq.c | |
parent | d8da00e1a73e9577538242fb5a89c560c497369c (diff) | |
download | linux-ac41ae0b12c83229f2b1102c4ed9ad96bf8de946.tar.xz |
misc/sgi-xp: use NULL instead of using plain integer as pointer
This fixes the following sparse warnings:
drivers/misc/sgi-xp/xpc_main.c:210:23: warning: Using plain integer as
NULL pointer
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1615885041-68750-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/reset/reset-zynq.c')
0 files changed, 0 insertions, 0 deletions