]> git.baikalelectronics.ru Git - kernel.git/commit
net: bpfilter: Fix type cast and pointer warnings
authorShanthosh RK <shanthosh.rk@gmail.com>
Fri, 5 Oct 2018 15:27:48 +0000 (20:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 18:51:06 +0000 (11:51 -0700)
commitfb97f69ae6ba87f74d7a025848420b5115027a77
tree1d14813926ccef392fa12afd43c007e4cec2108f
parenta5e218685fdacfaf1dd26f39236261fad15728cb
net: bpfilter: Fix type cast and pointer warnings

Fixes the following Sparse warnings:

net/bpfilter/bpfilter_kern.c:62:21: warning: cast removes address space
of expression
net/bpfilter/bpfilter_kern.c:101:49: warning: Using plain integer as
NULL pointer

Signed-off-by: Shanthosh RK <shanthosh.rk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bpfilter/bpfilter_kern.c