]> 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)
commit14f7a4187aac56a0e70a0aa04a81c7ba1a6e80cd
tree1d14813926ccef392fa12afd43c007e4cec2108f
parentd948d6dd0a650c858bad94d7892bf1e4bb00abe4
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