Re: [PATCH net] net: bpfilter: Fix type cast and pointer warnings

From: David Miller
Date: Fri Oct 05 2018 - 14:51:45 EST


From: Shanthosh RK <shanthosh.rk@xxxxxxxxx>
Date: Fri, 5 Oct 2018 20:57:48 +0530

> 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@xxxxxxxxx>

Applied.