Skip to contentSkip to conversation

v3.12-stable-queue build errors

DISCUSSION Jiri Slaby 4 participants 5 messages Apr 27, 2015 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Jiri Slaby

author
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines · Guenter Roeck

Several powerpc build fail with:

drivers/net/ethernet/freescale/gianfar.c: In function 'gfar_start_xmit':
drivers/net/ethernet/freescale/gianfar.c:2146:3: error: implicit declaration of function 'dev_consume_skb_any' [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);

dev_consume_skb_any() does not exist in 3.12.

Introduced by 'gianfar: Carefully free skbs in functions called by netpoll'.

Eric, David,

what action should I take here?

1) take also:
commit e6247027e5173c00efb2084d688d06ff835bc3b0

Author: Eric Dumazet <[email protected]>
Date:   Thu Dec 5 04:45:08 2013 -0800

net: introduce dev_consume_skb_any()

2) drop 'gianfar: Carefully free skbs in functions called by netpoll' from stable-3.12

3) any other idea?

thanks,

Signature · 2 lines
js
suse labs
#2 lore raw
Quoted 18 lines · Jiri Slaby
Quoted 10 lines · Guenter Roeck

Several powerpc build fail with:

drivers/net/ethernet/freescale/gianfar.c: In function 'gfar_start_xmit':
drivers/net/ethernet/freescale/gianfar.c:2146:3: error: implicit declaration of function 'dev_consume_skb_any' [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);

dev_consume_skb_any() does not exist in 3.12.

Introduced by 'gianfar: Carefully free skbs in functions called by netpoll'.

Eric, David,

what action should I take here?

1) take also:
commit e6247027e5173c00efb2084d688d06ff835bc3b0

Quoted 8 lines
Author: Eric Dumazet <[email protected]>
Date:   Thu Dec 5 04:45:08 2013 -0800

net: introduce dev_consume_skb_any()

2) drop 'gianfar: Carefully free skbs in functions called by netpoll' from stable-3.12

This is probably the most reasonable. KISS.

Quoted 1 line

3) any other idea?

#define dev_consume_sky_any dev_kfree_skb_any

The correctness fix is updating the code to handle any context. The consume vs kfree accouting difference is not particularly interesting.

Eric

#3 lore raw
Quoted 23 lines · Eric W. Biederman
Quoted 21 lines · Jiri Slaby
Quoted 10 lines · Guenter Roeck

Several powerpc build fail with:

drivers/net/ethernet/freescale/gianfar.c: In function 'gfar_start_xmit':
drivers/net/ethernet/freescale/gianfar.c:2146:3: error: implicit declaration of function 'dev_consume_skb_any' [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);

dev_consume_skb_any() does not exist in 3.12.

Introduced by 'gianfar: Carefully free skbs in functions called by netpoll'.

Eric, David,

what action should I take here?

1) take also:
commit e6247027e5173c00efb2084d688d06ff835bc3b0

Author: Eric Dumazet <[email protected]>
Date:   Thu Dec 5 04:45:08 2013 -0800
Quoted 8 lines
Quoted 5 lines

net: introduce dev_consume_skb_any()

2) drop 'gianfar: Carefully free skbs in functions called by netpoll' from stable-3.12

This is probably the most reasonable. KISS.

Greg dropped the patch from 3.10.

Guenter

maintainer
#4 lore raw
In reply to Eric W. Biederman

From: [email protected] (Eric W. Biederman)
Date: Mon, 27 Apr 2015 10:35:51 -0500

Quoted 23 lines
Quoted 21 lines · Jiri Slaby
Quoted 10 lines · Guenter Roeck

Several powerpc build fail with:

drivers/net/ethernet/freescale/gianfar.c: In function 'gfar_start_xmit':
drivers/net/ethernet/freescale/gianfar.c:2146:3: error: implicit declaration of function 'dev_consume_skb_any' [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);

dev_consume_skb_any() does not exist in 3.12.

Introduced by 'gianfar: Carefully free skbs in functions called by netpoll'.

Eric, David,

what action should I take here?

1) take also:
commit e6247027e5173c00efb2084d688d06ff835bc3b0

Author: Eric Dumazet <[email protected]>
Date:   Thu Dec 5 04:45:08 2013 -0800
Quoted 7 lines
Quoted 5 lines

net: introduce dev_consume_skb_any()

2) drop 'gianfar: Carefully free skbs in functions called by netpoll' from stable-3.12

This is probably the most reasonable. KISS.

Yeah just drop the patch.

I didn't even want to submit this series in the first place but people kept poking me endlessly about it.

author
#5 lore raw
Quoted 32 lines · David Miller

From: [email protected] (Eric W. Biederman)
Date: Mon, 27 Apr 2015 10:35:51 -0500

Quoted 29 lines
Quoted 26 lines · Jiri Slaby
Quoted 10 lines · Guenter Roeck

Several powerpc build fail with:

drivers/net/ethernet/freescale/gianfar.c: In function 'gfar_start_xmit':
drivers/net/ethernet/freescale/gianfar.c:2146:3: error: implicit declaration of function 'dev_consume_skb_any' [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);

dev_consume_skb_any() does not exist in 3.12.

Introduced by 'gianfar: Carefully free skbs in functions called by netpoll'.

Eric, David,

what action should I take here?

1) take also:
commit e6247027e5173c00efb2084d688d06ff835bc3b0

Author: Eric Dumazet <[email protected]>
Date:   Thu Dec 5 04:45:08 2013 -0800

net: introduce dev_consume_skb_any()

2) drop 'gianfar: Carefully free skbs in functions called by netpoll' from stable-3.12

Quoted 6 lines
Quoted 1 line

This is probably the most reasonable. KISS.

Yeah just drop the patch.

I didn't even want to submit this series in the first place but people kept poking me endlessly about it.

Now dropped. Thanks.

Signature · 2 lines
js
suse labs