v3.18-stable-queue build failures
Hi,
almost all builds in v3.18-stable-queue fail with
In file included from net/socket.c:74:0:include/linux/if_vlan.h: In function 'vlan_put_tag':include/linux/if_vlan.h:409:3: error: implicit declaration of function '__vlan_put_tag' [-Werror=implicit-function-declaration] include/linux/if_vlan.h:409:3: warning: return makes pointer from integer without a cast [enabled by default]
groeck@server:~/src/linux-stable$ git grep __vlan_put_tag include/linux/if_vlan.h: return __vlan_put_tag(skb, vlan_proto, vlan_tci);
It appears that 'vlan: rename __vlan_put_tag to vlan_insert_tag_set_proto' was incomplete for v3.18.
Guenter
Quoted 9 lines · Guenter Roeck
Hi,
almost all builds in v3.18-stable-queue fail with
In file included from
net/socket.c:74:0:include/linux/if_vlan.h: In function 'vlan_put_tag':include/linux/if_vlan.h:409:3: error: implicit declaration of function '__vlan_put_tag' [-Werror=implicit-function-declaration]include/linux/if_vlan.h:409:3: warning: return makes pointer from integer without a cast [enabled by default]
Quoted 5 lines
groeck@server:~/src/linux-stable$ git grep __vlan_put_tag include/linux/if_vlan.h: return __vlan_put_tag(skb, vlan_proto, vlan_tci);It appears that 'vlan: rename
__vlan_put_tagtovlan_insert_tag_set_proto' was incomplete for v3.18.
Thanks!
This was actually missing b4bef1b575 ("vlan: kill vlan_put_tag helper").
Fixed and re-pushed.
Thanks,
Sasha
Quoted 13 lines · Sasha Levin
Quoted 12 lines · Guenter Roeck
Hi,
almost all builds in v3.18-stable-queue fail with
In file included from
net/socket.c:74:0:include/linux/if_vlan.h: In function 'vlan_put_tag':include/linux/if_vlan.h:409:3: error: implicit declaration of function '__vlan_put_tag' [-Werror=implicit-function-declaration]include/linux/if_vlan.h:409:3: warning: return makes pointer from integer without a cast [enabled by default]groeck@server:~/src/linux-stable$ git grep __vlan_put_tag include/linux/if_vlan.h: return __vlan_put_tag(skb, vlan_proto, vlan_tci);
Quoted 9 lines
Quoted 2 lines
It appears that 'vlan: rename
__vlan_put_tagtovlan_insert_tag_set_proto' was incomplete for v3.18.Thanks!
This was actually missing
b4bef1b575("vlan: killvlan_put_taghelper").Fixed and re-pushed.
Hi Sasha,
much better now but there are still several build failures.
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h: In function 'bnx2x_fp_busy_poll_init':drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:625:2: error: implicit declaration of function 'WRITE_ONCE'
---drivers/net/vxlan.c: In function 'vxlan_xmit_skb':drivers/net/vxlan.c:1646:2: error: too few arguments to function 'iptunnel_handle_offloads' include/net/ip_tunnels.h:181:17: note: declared here
Guenter
Quoted 19 lines · Guenter Roeck
Quoted 18 lines · Sasha Levin
Quoted 9 lines · Guenter Roeck
Hi,
almost all builds in v3.18-stable-queue fail with
In file included from
net/socket.c:74:0:include/linux/if_vlan.h: In function 'vlan_put_tag':include/linux/if_vlan.h:409:3: error: implicit declaration of function '__vlan_put_tag' [-Werror=implicit-function-declaration]include/linux/if_vlan.h:409:3: warning: return makes pointer from integer without a cast [enabled by default]Quoted 5 lines
groeck@server:~/src/linux-stable$ git grep __vlan_put_tag include/linux/if_vlan.h: return __vlan_put_tag(skb, vlan_proto, vlan_tci);It appears that 'vlan: rename
__vlan_put_tagtovlan_insert_tag_set_proto' was incomplete for v3.18.Thanks!
Quoted 7 lines
Quoted 4 lines
This was actually missing
b4bef1b575("vlan: killvlan_put_taghelper").Fixed and re-pushed.
Hi Sasha,
much better now but there are still several build failures.
Thanks again!
Quoted 2 lines
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h: In function 'bnx2x_fp_busy_poll_init':drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:625:2: error: implicit declaration of function 'WRITE_ONCE'
That's a missing "kernel: Change ASSIGN_ONCE(val, x) to WRITE_ONCE(x, val)".
Quoted 3 lines
drivers/net/vxlan.c: In function 'vxlan_xmit_skb':drivers/net/vxlan.c:1646:2: error: too few arguments to function 'iptunnel_handle_offloads'include/net/ip_tunnels.h:181:17: note: declared here
And this is just a bad backport.
Fixed both and repushed.
Thanks,
Sasha
Quoted 9 lines · Sasha Levin
Quoted 1 line
much better now but there are still several build failures.
Thanks again!
Quoted 2 lines
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h: In function 'bnx2x_fp_busy_poll_init':drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:625:2: error: implicit declaration of function 'WRITE_ONCE'That's a missing "kernel: Change
ASSIGN_ONCE(val, x)toWRITE_ONCE(x, val)".
Quoted 8 lines
Quoted 3 lines
drivers/net/vxlan.c: In function 'vxlan_xmit_skb':drivers/net/vxlan.c:1646:2: error: too few arguments to function 'iptunnel_handle_offloads'include/net/ip_tunnels.h:181:17: note: declared hereAnd this is just a bad backport.
Fixed both and repushed.
Yes, all is perfect now.
Guenter