]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
decnet: fix using plain integer as NULL warning
authorYueHaibing <yuehaibing@huawei.com>
Wed, 8 Aug 2018 11:59:32 +0000 (19:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:11:24 +0000 (14:11 -0700)
commit0bab1cdc8c4d5392a5d9037cfbdbb2cacc91ce5e
tree14419fc238f4665617a73d5fbf928b267235650c
parent15693fd37fc3a49da356164ed15b571c175efc34
decnet: fix using plain integer as NULL warning

Fixes the following sparse warning:
net/decnet/dn_route.c:407:30: warning: Using plain integer as NULL pointer
net/decnet/dn_route.c:1923:22: warning: Using plain integer as NULL pointer

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_route.c