On 29/06/18 23:08, kbuild test robot wrote:
>    net//ipv4/ip_input.c: In function 'ip_sublist_rcv':
>>> net//ipv4/ip_input.c:524:14: warning: passing argument 6 of 'NF_HOOK_LIST' 
>>> from incompatible pointer type
>            head, dev, NULL, ip_rcv_finish);
>                  ^
>    In file included from include/uapi/linux/netfilter_ipv4.h:9:0,
>                     from include/linux/netfilter_ipv4.h:7,
>                     from net//ipv4/ip_input.c:145:
>    include/linux/netfilter.h:387:1: note: expected 'struct list_head *' but 
> argument is of type 'struct net_device *'
>     NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock 
> *sk,
>     ^
>    net//ipv4/ip_input.c:524:25: warning: passing argument 8 of 'NF_HOOK_LIST' 
> from incompatible pointer type
>            head, dev, NULL, ip_rcv_finish);
Looks like I forgot to change my stub for the CONFIG_NETFILTER=n case.
Serves me right for not doing a build test in that configuration.

Updated series to follow shortly.
And thanks, kbuild, for catching it.
-Ed

Reply via email to