linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the net tree
@ 2014-09-16  0:24 Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2014-09-16  0:24 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Anish Bhatt

[-- Attachment #1: Type: text/plain, Size: 3815 bytes --]

Hi all,

After merging the net tree, today's linux-next build
(powerpc ppc64_defconfig) failed like this:

warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (SCSI_FC_ATTRS) selects SCSI_NETLINK which has unmet direct dependencies (NET)
warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (SCSI_FC_ATTRS) selects SCSI_NETLINK which has unmet direct dependencies (NET)
warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
drivers/built-in.o: In function `.scsi_nl_rcv_msg':
scsi_netlink.c:(.text+0x16455c): undefined reference to `.netlink_ack'
scsi_netlink.c:(.text+0x16456c): undefined reference to `.skb_pull'
scsi_netlink.c:(.text+0x1645e0): undefined reference to `.netlink_capable'
drivers/built-in.o: In function `.scsi_netlink_init':
(.text+0x16471c): undefined reference to `.__netlink_kernel_create'
drivers/built-in.o: In function `.scsi_netlink_exit':
(.text+0x16477c): undefined reference to `.netlink_kernel_release'
drivers/built-in.o: In function `.fc_host_post_event':
(.text+0x16ac1c): undefined reference to `.__alloc_skb'
drivers/built-in.o: In function `.fc_host_post_event':
(.text+0x16ac60): undefined reference to `.__nlmsg_put'
drivers/built-in.o: In function `.fc_host_post_event':
(.text+0x16ace0): undefined reference to `.netlink_broadcast'
drivers/built-in.o: In function `.fc_host_post_event':
(.text+0x16ad24): undefined reference to `.kfree_skb'
drivers/built-in.o: In function `.fc_host_post_vendor_event':
(.text+0x16ae48): undefined reference to `.__alloc_skb'
drivers/built-in.o: In function `.fc_host_post_vendor_event':
(.text+0x16ae90): undefined reference to `.__nlmsg_put'
drivers/built-in.o: In function `.fc_host_post_vendor_event':
(.text+0x16af1c): undefined reference to `.netlink_broadcast'
drivers/built-in.o: In function `.fc_host_post_vendor_event':
(.text+0x16af84): undefined reference to `.kfree_skb'
drivers/built-in.o:(.toc+0x0): undefined reference to `init_net'

Presumably caused by commit 5d6be6a5d486 ("scsi_netlink : Make
SCSI_NETLINK dependent on NET instead of selecting NET").

I used the version of the net tree from next-20140915 (i.e. up to
commit 9e07a422383c ("Merge branch 'bridge_vlan_filtering'")) for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2024-04-10 22:42 Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2024-04-10 22:42 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Paolo Abeni
  Cc: Heiner Kallweit, Networking, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

arm-linux-gnueabi-ld: drivers/net/ethernet/realtek/r8169_main.o: in function `rtl_remove_one':
r8169_main.c:(.text+0x62e4): undefined reference to `r8169_remove_leds'

Caused by commit

  19fa4f2a85d7 ("r8169: fix LED-related deadlock on module removal")

I have used the net tree from next-20240410 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2023-05-18  4:42 ` Jakub Kicinski
  2023-05-18  6:47   ` Paolo Abeni
@ 2023-05-18  9:37   ` Marc Kleine-Budde
  1 sibling, 0 replies; 137+ messages in thread
From: Marc Kleine-Budde @ 2023-05-18  9:37 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Dario Binacchi, Stephen Rothwell, David Miller, Networking,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

On 17.05.2023 21:42:00, Jakub Kicinski wrote:
> On Thu, 18 May 2023 09:06:34 +1000 Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the net tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> > 
> > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > FATAL ERROR: Unable to parse input tree
> > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
> > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > FATAL ERROR: Unable to parse input tree
> > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
> > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > FATAL ERROR: Unable to parse input tree
> > 
> > Caused by commit
> > 
> >   0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")
> > 
> > I have used the net tree from next-20230517 for today.
> 
> Dario, Marc, can we get an immediate fix for this?

Here you go:

| https://lore.kernel.org/all/20230518073241.1110453-1-mkl@pengutronix.de

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2023-05-18  6:52     ` Dario Binacchi
@ 2023-05-18  7:14       ` Paolo Abeni
  0 siblings, 0 replies; 137+ messages in thread
From: Paolo Abeni @ 2023-05-18  7:14 UTC (permalink / raw)
  To: Dario Binacchi
  Cc: Jakub Kicinski, Marc Kleine-Budde, Stephen Rothwell,
	David Miller, Networking, Linux Kernel Mailing List,
	Linux Next Mailing List

On Thu, 2023-05-18 at 08:52 +0200, Dario Binacchi wrote:
> Hi all,
> 
> On Thu, May 18, 2023 at 8:47 AM Paolo Abeni <pabeni@redhat.com> wrote:
> > 
> > On Wed, 2023-05-17 at 21:42 -0700, Jakub Kicinski wrote:
> > > On Thu, 18 May 2023 09:06:34 +1000 Stephen Rothwell wrote:
> > > > Hi all,
> > > > 
> > > > After merging the net tree, today's linux-next build (arm
> > > > multi_v7_defconfig) failed like this:
> > > > 
> > > > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > > > FATAL ERROR: Unable to parse input tree
> > > > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
> > > > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > > > FATAL ERROR: Unable to parse input tree
> > > > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
> > > > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > > > FATAL ERROR: Unable to parse input tree
> > > > 
> > > > Caused by commit
> > > > 
> > > >   0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")
> > > > 
> > > > I have used the net tree from next-20230517 for today.
> > > 
> > > Dario, Marc, can we get an immediate fix for this?
> > 
> > Dario, Marc: we are supposed to send the net PR to Linus today. Lacking
> > a fix, I'll be forced to revert the mentioned commit in a little time.
> > 
> 
> Marc reverted the commit:
> https://lore.kernel.org/all/20230517181950.1106697-1-mkl@pengutronix.de/

Thanks for the pointer!

@Marc: could you please formally send the revert to netdev, too?

Thanks!

Paolo


^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2023-05-18  6:47   ` Paolo Abeni
@ 2023-05-18  6:52     ` Dario Binacchi
  2023-05-18  7:14       ` Paolo Abeni
  0 siblings, 1 reply; 137+ messages in thread
From: Dario Binacchi @ 2023-05-18  6:52 UTC (permalink / raw)
  To: Paolo Abeni
  Cc: Jakub Kicinski, Marc Kleine-Budde, Stephen Rothwell,
	David Miller, Networking, Linux Kernel Mailing List,
	Linux Next Mailing List

Hi all,

On Thu, May 18, 2023 at 8:47 AM Paolo Abeni <pabeni@redhat.com> wrote:
>
> On Wed, 2023-05-17 at 21:42 -0700, Jakub Kicinski wrote:
> > On Thu, 18 May 2023 09:06:34 +1000 Stephen Rothwell wrote:
> > > Hi all,
> > >
> > > After merging the net tree, today's linux-next build (arm
> > > multi_v7_defconfig) failed like this:
> > >
> > > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > > FATAL ERROR: Unable to parse input tree
> > > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
> > > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > > FATAL ERROR: Unable to parse input tree
> > > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
> > > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > > FATAL ERROR: Unable to parse input tree
> > >
> > > Caused by commit
> > >
> > >   0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")
> > >
> > > I have used the net tree from next-20230517 for today.
> >
> > Dario, Marc, can we get an immediate fix for this?
>
> Dario, Marc: we are supposed to send the net PR to Linus today. Lacking
> a fix, I'll be forced to revert the mentioned commit in a little time.
>

Marc reverted the commit:
https://lore.kernel.org/all/20230517181950.1106697-1-mkl@pengutronix.de/

Thanks and regards,
Dario

> Thanks!
>
> Paolo
>


-- 

Dario Binacchi

Senior Embedded Linux Developer

dario.binacchi@amarulasolutions.com

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
info@amarulasolutions.com

www.amarulasolutions.com

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2023-05-18  4:42 ` Jakub Kicinski
@ 2023-05-18  6:47   ` Paolo Abeni
  2023-05-18  6:52     ` Dario Binacchi
  2023-05-18  9:37   ` Marc Kleine-Budde
  1 sibling, 1 reply; 137+ messages in thread
From: Paolo Abeni @ 2023-05-18  6:47 UTC (permalink / raw)
  To: Jakub Kicinski, Dario Binacchi, Marc Kleine-Budde
  Cc: Stephen Rothwell, David Miller, Networking,
	Linux Kernel Mailing List, Linux Next Mailing List

On Wed, 2023-05-17 at 21:42 -0700, Jakub Kicinski wrote:
> On Thu, 18 May 2023 09:06:34 +1000 Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the net tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> > 
> > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > FATAL ERROR: Unable to parse input tree
> > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
> > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > FATAL ERROR: Unable to parse input tree
> > make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
> > Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> > FATAL ERROR: Unable to parse input tree
> > 
> > Caused by commit
> > 
> >   0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")
> > 
> > I have used the net tree from next-20230517 for today.
> 
> Dario, Marc, can we get an immediate fix for this?

Dario, Marc: we are supposed to send the net PR to Linus today. Lacking
a fix, I'll be forced to revert the mentioned commit in a little time.

Thanks!

Paolo


^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2023-05-17 23:06 Stephen Rothwell
  2023-05-17 23:29 ` Stephen Rothwell
@ 2023-05-18  4:42 ` Jakub Kicinski
  2023-05-18  6:47   ` Paolo Abeni
  2023-05-18  9:37   ` Marc Kleine-Budde
  1 sibling, 2 replies; 137+ messages in thread
From: Jakub Kicinski @ 2023-05-18  4:42 UTC (permalink / raw)
  To: Dario Binacchi, Marc Kleine-Budde
  Cc: Stephen Rothwell, David Miller, Networking,
	Linux Kernel Mailing List, Linux Next Mailing List

On Thu, 18 May 2023 09:06:34 +1000 Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> FATAL ERROR: Unable to parse input tree
> make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
> Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> FATAL ERROR: Unable to parse input tree
> make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
> Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> FATAL ERROR: Unable to parse input tree
> 
> Caused by commit
> 
>   0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")
> 
> I have used the net tree from next-20230517 for today.

Dario, Marc, can we get an immediate fix for this?

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2023-05-17 23:06 Stephen Rothwell
@ 2023-05-17 23:29 ` Stephen Rothwell
  2023-05-18  4:42 ` Jakub Kicinski
  1 sibling, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2023-05-17 23:29 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Jakub Kicinski, Dario Binacchi, Marc Kleine-Budde,
	Linux Kernel Mailing List, Linux Next Mailing List, Simon Horman

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

Hi all,

On Thu, 18 May 2023 09:06:34 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the net tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> FATAL ERROR: Unable to parse input tree
> make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
> Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> FATAL ERROR: Unable to parse input tree
> make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
> Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
> FATAL ERROR: Unable to parse input tree
> 
> Caused by commit
> 
>   0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")
> 
> I have used the net tree from next-20230517 for today.

This also meant that I used the ipvs tree from next-20230517 (because
it had merged the net tree).

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2023-05-17 23:06 Stephen Rothwell
  2023-05-17 23:29 ` Stephen Rothwell
  2023-05-18  4:42 ` Jakub Kicinski
  0 siblings, 2 replies; 137+ messages in thread
From: Stephen Rothwell @ 2023-05-17 23:06 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Jakub Kicinski, Dario Binacchi, Marc Kleine-Budde,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f746-disco.dtb] Error 1
Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:419: arch/arm/boot/dts/stm32f769-disco.dtb] Error 1
Error: arch/arm/boot/dts/stm32f746.dtsi:265.20-21 syntax error
FATAL ERROR: Unable to parse input tree

Caused by commit

  0920ccdf41e3 ("ARM: dts: stm32: add CAN support on stm32f746")

I have used the net tree from next-20230517 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2021-07-06 23:11 Stephen Rothwell
@ 2021-07-08  4:01 ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2021-07-08  4:01 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Paul Blakey, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

Hi all,

On Wed, 7 Jul 2021 09:11:13 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> net/core/dev.c: In function 'gro_list_prepare':
> net/core/dev.c:6015:51: error: 'TC_SKB_EXT' undeclared (first use in this function)
>  6015 |    struct tc_skb_ext *skb_ext = skb_ext_find(skb, TC_SKB_EXT);
>       |                                                   ^~~~~~~~~~
> net/core/dev.c:6015:51: note: each undeclared identifier is reported only once for each function it appears in
> net/core/dev.c:6020:19: error: invalid use of undefined type 'struct tc_skb_ext'
>  6020 |     diffs |= p_ext->chain ^ skb_ext->chain;
>       |                   ^~
> net/core/dev.c:6020:36: error: invalid use of undefined type 'struct tc_skb_ext'
>  6020 |     diffs |= p_ext->chain ^ skb_ext->chain;
>       |                                    ^~
> 
> Caused by commit
> 
>   8550ff8d8c75 ("skbuff: Release nfct refcount on napi stolen or re-used skbs")
> 
> I have used the net tree from next-20210706 for today.

I am still getting this error.  The definition of TC_SKB_EXT depend on
CONFIG_NET_TC_SKB_EXT.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2021-07-06 23:11 Stephen Rothwell
  2021-07-08  4:01 ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2021-07-06 23:11 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Paul Blakey, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

net/core/dev.c: In function 'gro_list_prepare':
net/core/dev.c:6015:51: error: 'TC_SKB_EXT' undeclared (first use in this function)
 6015 |    struct tc_skb_ext *skb_ext = skb_ext_find(skb, TC_SKB_EXT);
      |                                                   ^~~~~~~~~~
net/core/dev.c:6015:51: note: each undeclared identifier is reported only once for each function it appears in
net/core/dev.c:6020:19: error: invalid use of undefined type 'struct tc_skb_ext'
 6020 |     diffs |= p_ext->chain ^ skb_ext->chain;
      |                   ^~
net/core/dev.c:6020:36: error: invalid use of undefined type 'struct tc_skb_ext'
 6020 |     diffs |= p_ext->chain ^ skb_ext->chain;
      |                                    ^~

Caused by commit

  8550ff8d8c75 ("skbuff: Release nfct refcount on napi stolen or re-used skbs")

I have used the net tree from next-20210706 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2018-11-15  6:02 Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2018-11-15  6:02 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Michal Kalderon

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

Hi all,

After merging the net tree, today's linux-next build (arm allmodconfig
(from KernelCI)) failed like this:

drivers/net/ethernet/qlogic/qed/qed_rdma.h:186:79: error: expected ';' before '}' token

Caused by commit

  291d57f67d24 ("qed: Fix rdma_info structure allocation")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-06-08  7:22 ` Greg Kroah-Hartman
@ 2017-06-08  9:00   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2017-06-08  9:00 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: David Miller, Networking, Linux-Next Mailing List,
	Linux Kernel Mailing List, Hans de Goede

Hi Greg,

On Thu, 8 Jun 2017 09:22:20 +0200 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
>
> Looks good to me, thanks for this, I'll keep it around for when the
> merge window  happens.

Actually, that patch needs to go into the net tree before Dave asks
Linus to merge it - the net tree is based post v4.12-rc1 and contains
fixes for the current merge window.
-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-06-08  0:08 Stephen Rothwell
  2017-06-08  0:17 ` David Miller
@ 2017-06-08  7:22 ` Greg Kroah-Hartman
  2017-06-08  9:00   ` Stephen Rothwell
  1 sibling, 1 reply; 137+ messages in thread
From: Greg Kroah-Hartman @ 2017-06-08  7:22 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, Networking, Linux-Next Mailing List,
	Linux Kernel Mailing List, Hans de Goede

On Thu, Jun 08, 2017 at 10:08:58AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 'rtw_cfg80211_add_monitor_if':
> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2670:10: error: 'struct net_device' has no member named 'destructor'
>   mon_ndev->destructor = rtw_ndev_destructor;
>           ^
> 
> Caused by commit
> 
>   cf124db566e6 ("net: Fix inconsistent teardown and release of private netdev state.")
> 
> from the net tree interacting with commit
> 
>   554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver"
> 
> from Linus' tree (v4.12-rc1).
> 
> I applied the following merge fix patch for today.
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 8 Jun 2017 09:49:26 +1000
> Subject: [PATCH] net: fix up for "Fix inconsistent teardown and release of private netdev state"
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 3 ++-
>  drivers/staging/rtl8723bs/os_dep/os_intfs.c       | 2 --
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> index 36c3189fc4b7..bd4352fe2de3 100644
> --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> @@ -2667,7 +2667,8 @@ static int rtw_cfg80211_add_monitor_if (struct adapter *padapter, char *name, st
>  	mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP;
>  	strncpy(mon_ndev->name, name, IFNAMSIZ);
>  	mon_ndev->name[IFNAMSIZ - 1] = 0;
> -	mon_ndev->destructor = rtw_ndev_destructor;
> +	mon_ndev->needs_free_netdev = true;
> +	mon_ndev->priv_destructor = rtw_ndev_destructor;
>  
>  	mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops;
>  
> diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
> index f83cfc76505c..021589913681 100644
> --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
> +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
> @@ -1207,8 +1207,6 @@ void rtw_ndev_destructor(struct net_device *ndev)
>  
>  	if (ndev->ieee80211_ptr)
>  		kfree((u8 *)ndev->ieee80211_ptr);
> -
> -	free_netdev(ndev);
>  }
>  
>  void rtw_dev_unload(struct adapter *padapter)

Looks good to me, thanks for this, I'll keep it around for when the
merge window  happens.

greg k-h

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-06-08  0:08 Stephen Rothwell
@ 2017-06-08  0:17 ` David Miller
  2017-06-08  7:22 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 137+ messages in thread
From: David Miller @ 2017-06-08  0:17 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, hdegoede, gregkh

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 8 Jun 2017 10:08:58 +1000

> I applied the following merge fix patch for today.
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 8 Jun 2017 09:49:26 +1000
> Subject: [PATCH] net: fix up for "Fix inconsistent teardown and release of private netdev state"
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Looks good to me, thanks Stephen.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2017-06-08  0:08 Stephen Rothwell
  2017-06-08  0:17 ` David Miller
  2017-06-08  7:22 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 137+ messages in thread
From: Stephen Rothwell @ 2017-06-08  0:08 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Hans de Goede, Greg Kroah-Hartman

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 'rtw_cfg80211_add_monitor_if':
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2670:10: error: 'struct net_device' has no member named 'destructor'
  mon_ndev->destructor = rtw_ndev_destructor;
          ^

Caused by commit

  cf124db566e6 ("net: Fix inconsistent teardown and release of private netdev state.")

from the net tree interacting with commit

  554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver"

from Linus' tree (v4.12-rc1).

I applied the following merge fix patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 8 Jun 2017 09:49:26 +1000
Subject: [PATCH] net: fix up for "Fix inconsistent teardown and release of private netdev state"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 3 ++-
 drivers/staging/rtl8723bs/os_dep/os_intfs.c       | 2 --
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
index 36c3189fc4b7..bd4352fe2de3 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
@@ -2667,7 +2667,8 @@ static int rtw_cfg80211_add_monitor_if (struct adapter *padapter, char *name, st
 	mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP;
 	strncpy(mon_ndev->name, name, IFNAMSIZ);
 	mon_ndev->name[IFNAMSIZ - 1] = 0;
-	mon_ndev->destructor = rtw_ndev_destructor;
+	mon_ndev->needs_free_netdev = true;
+	mon_ndev->priv_destructor = rtw_ndev_destructor;
 
 	mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops;
 
diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index f83cfc76505c..021589913681 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -1207,8 +1207,6 @@ void rtw_ndev_destructor(struct net_device *ndev)
 
 	if (ndev->ieee80211_ptr)
 		kfree((u8 *)ndev->ieee80211_ptr);
-
-	free_netdev(ndev);
 }
 
 void rtw_dev_unload(struct adapter *padapter)
-- 
2.11.0

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-16  3:27     ` David Miller
  2017-02-16  3:30       ` Alexei Starovoitov
@ 2017-02-16  3:42       ` Stephen Rothwell
  1 sibling, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2017-02-16  3:42 UTC (permalink / raw)
  To: David Miller
  Cc: ast, netdev, linux-next, linux-kernel, peterz, mingo, acme,
	alexander.shishkin, joe, jolsa

Hi Dave,

On Wed, 15 Feb 2017 22:27:46 -0500 (EST) David Miller <davem@davemloft.net> wrote:
>
> I applied the fix that synced the two header files already.

Sorry about that, I missed it in checking your tree over breakfast :-)

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-16  3:27     ` David Miller
@ 2017-02-16  3:30       ` Alexei Starovoitov
  2017-02-16  3:42       ` Stephen Rothwell
  1 sibling, 0 replies; 137+ messages in thread
From: Alexei Starovoitov @ 2017-02-16  3:30 UTC (permalink / raw)
  To: David Miller
  Cc: sfr, netdev, linux-next, linux-kernel, peterz, mingo, acme,
	alexander.shishkin, joe, jolsa

On 2/15/17 7:27 PM, David Miller wrote:
> From: Alexei Starovoitov <ast@fb.com>
> Date: Wed, 15 Feb 2017 19:06:02 -0800
>
>> On 2/15/17 7:02 PM, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> On Tue, 14 Feb 2017 09:12:50 +1100 Stephen Rothwell
>>> <sfr@canb.auug.org.au> wrote:
>>>>
>>>> After merging the net tree, today's linux-next build (powerpc64le
>>>> perf)
>>>> failed like this:
>>>>
>>>> Warning: tools/include/uapi/linux/bpf.h differs from kernel
>>>> bpf.c: In function 'bpf_prog_attach':
>>>> bpf.c:180:6: error: 'union bpf_attr' has no member named
>>>> 'attach_flags'; did you mean 'map_flags'?
>>>>     attr.attach_flags  = flags;
>>>>         ^
>>>>
>>>> Caused by commit
>>>>
>>>>     7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
>>>>
>>>
>>> So do we have a fix for this?  I am sure that Dave would like to send
>>> his "net" tree to Linus sometime soonish ...
>>
>> Do you mind resending it to netdev with my Ack ?
>> please mention [PATCH net] in subj, so it's get caught by Dave's
>> scripts.
>
> I applied the fix that synced the two header files already.

Ahh. Thanks!

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-16  3:06   ` Alexei Starovoitov
@ 2017-02-16  3:27     ` David Miller
  2017-02-16  3:30       ` Alexei Starovoitov
  2017-02-16  3:42       ` Stephen Rothwell
  0 siblings, 2 replies; 137+ messages in thread
From: David Miller @ 2017-02-16  3:27 UTC (permalink / raw)
  To: ast
  Cc: sfr, netdev, linux-next, linux-kernel, peterz, mingo, acme,
	alexander.shishkin, joe, jolsa

From: Alexei Starovoitov <ast@fb.com>
Date: Wed, 15 Feb 2017 19:06:02 -0800

> On 2/15/17 7:02 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> On Tue, 14 Feb 2017 09:12:50 +1100 Stephen Rothwell
>> <sfr@canb.auug.org.au> wrote:
>>>
>>> After merging the net tree, today's linux-next build (powerpc64le
>>> perf)
>>> failed like this:
>>>
>>> Warning: tools/include/uapi/linux/bpf.h differs from kernel
>>> bpf.c: In function 'bpf_prog_attach':
>>> bpf.c:180:6: error: 'union bpf_attr' has no member named
>>> 'attach_flags'; did you mean 'map_flags'?
>>>    attr.attach_flags  = flags;
>>>        ^
>>>
>>> Caused by commit
>>>
>>>    7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
>>>
>>
>> So do we have a fix for this?  I am sure that Dave would like to send
>> his "net" tree to Linus sometime soonish ...
> 
> Do you mind resending it to netdev with my Ack ?
> please mention [PATCH net] in subj, so it's get caught by Dave's
> scripts.

I applied the fix that synced the two header files already.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-16  3:02 ` Stephen Rothwell
@ 2017-02-16  3:06   ` Alexei Starovoitov
  2017-02-16  3:27     ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Alexei Starovoitov @ 2017-02-16  3:06 UTC (permalink / raw)
  To: Stephen Rothwell, David Miller, Networking
  Cc: linux-next, linux-kernel, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Alexander Shishkin, Joe Stringer,
	Jiri Olsa

On 2/15/17 7:02 PM, Stephen Rothwell wrote:
> Hi all,
>
> On Tue, 14 Feb 2017 09:12:50 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> After merging the net tree, today's linux-next build (powerpc64le perf)
>> failed like this:
>>
>> Warning: tools/include/uapi/linux/bpf.h differs from kernel
>> bpf.c: In function 'bpf_prog_attach':
>> bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags'; did you mean 'map_flags'?
>>    attr.attach_flags  = flags;
>>        ^
>>
>> Caused by commit
>>
>>    7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
>>
>
> So do we have a fix for this?  I am sure that Dave would like to send
> his "net" tree to Linus sometime soonish ...

Do you mind resending it to netdev with my Ack ?
please mention [PATCH net] in subj, so it's get caught by Dave's scripts.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-13 22:12 Stephen Rothwell
                   ` (2 preceding siblings ...)
  2017-02-14  6:42 ` Ingo Molnar
@ 2017-02-16  3:02 ` Stephen Rothwell
  2017-02-16  3:06   ` Alexei Starovoitov
  3 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2017-02-16  3:02 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: linux-next, linux-kernel, Alexei Starovoitov, Peter Zijlstra,
	Ingo Molnar, Arnaldo Carvalho de Melo, Alexander Shishkin,
	Joe Stringer, Jiri Olsa

Hi all,

On Tue, 14 Feb 2017 09:12:50 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the net tree, today's linux-next build (powerpc64le perf)
> failed like this:
> 
> Warning: tools/include/uapi/linux/bpf.h differs from kernel
> bpf.c: In function 'bpf_prog_attach':
> bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags'; did you mean 'map_flags'?
>   attr.attach_flags  = flags;
>       ^
> 
> Caused by commit
> 
>   7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
> 

So do we have a fix for this?  I am sure that Dave would like to send
his "net" tree to Linus sometime soonish ...

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-14 13:23       ` Jiri Olsa
@ 2017-02-14 13:54         ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 137+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-02-14 13:54 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Ingo Molnar, Stephen Rothwell, David Miller, Networking,
	linux-next, linux-kernel, Alexei Starovoitov, Peter Zijlstra,
	Ingo Molnar, Alexander Shishkin, Arnaldo Carvalho de Melo

Em Tue, Feb 14, 2017 at 02:23:26PM +0100, Jiri Olsa escreveu:
> On Tue, Feb 14, 2017 at 09:50:20AM -0300, Arnaldo Carvalho de Melo wrote:
> 
> SNIP
> 
> > 
> > What I think Ingo meant with dependency at the build system level is to
> > somehow state that if file A gets changed, then tool B must be rebuilt.
> > 
> > Now that samples/bpf and tools/perf/ depend on tools/lib/bpf/ I _always_
> > build both, ditto for tools/objtool, that shares a different library
> > with tools/perf/, tools/lib/subcmd/:
> > 
> > ENTRYPOINT make -C /git/linux/tools/perf O=/tmp/build/perf && \
> >            rm -rf /tmp/build/perf/{.[^.]*,*} && \
> >            make NO_LIBELF=1 -C /git/linux/tools/perf O=/tmp/build/perf && \
> >            make -C /git/linux/tools/objtool O=/tmp/build/objtool && \
> >            make -C /git/linux O=/tmp/build/linux allmodconfig && \
> >            make -C /git/linux O=/tmp/build/linux headers_install && \
> >            make -C /git/linux O=/tmp/build/linux samples/bpf/
> > 
> > This is the default action for my
> > docker.io/acmel/linux-perf-tools-build-fedora:rawhide container.
> > 
> > It is published, so a:
> > 
> >    docker pull docker.io/acmel/linux-perf-tools-build-fedora:rawhide
> > 
> > And then run it before pushing things upstream would catch these kinds
> > of errors.
> > 
> > But that would possibly disrupt too much people's workflow, that is why
> > using the Kbuild originated tools/build/ we have to somehow express that
> > when a change is made in a file then a tool that uses that file needs to
> > be rebuilt.
> 
> we already have the check in the check-headers.sh script,
> an AFAICS there's no 'rebuild' option here.. just warn or fail
> because the headers update needs to be done manualy

... when needed. And that will only be detected if you try to build
tools using what is in tools/include/linux/bpf.h

Tools using tools/lib/bpf/ _must_ use what is in tools/include/.

So lemme see if my reasoning is right:

tools/lib/bpf/bpf.c has:

  #include <linux/bpf.h>

Now, samples/bpf/ will build tools/lib/bpf/bpf.o:

# Libbpf dependencies
LIBBPF := ../../tools/lib/bpf/bpf.o

HOSTCFLAGS += -I$(objtree)/usr/include
HOSTCFLAGS += -I$(srctree)/tools/lib/
HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include
HOSTCFLAGS += -I$(srctree)/tools/perf

HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable

So it will never include tools/include/uapi/linux/bpf.h, which it
should.

Because the workflow people working on sample/bpf/ is to first install
the new headers using a variation of:

  make headers_install

So they will get the new bpf.h, not use tools/include/uapi/linux/bpf.h,
b00m.

They should use tools/include/uapi/linux/bpf.h, which is the one we know
builds well with tools/lib/bpf/bpf.c, since we tested it last time we
made the copy.
 
> > Makefile rules probably would be enough, but then it would have to be
> > done at the tools/build/ level and all tools using shared components
> > would have to use it to trigger the rebuild.
 
> we can move/invoke the check-headers.sh script in some upper dir

Most of the time I just ignore that warning, only when I find spare time
I go look if the changes in the kernel copy, i.e. upstream, should
trigger changes in the tools using its copy in tools/include/.

- Arnaldo

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-14 12:50     ` Arnaldo Carvalho de Melo
@ 2017-02-14 13:23       ` Jiri Olsa
  2017-02-14 13:54         ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 137+ messages in thread
From: Jiri Olsa @ 2017-02-14 13:23 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Ingo Molnar, Stephen Rothwell, David Miller, Networking,
	linux-next, linux-kernel, Alexei Starovoitov, Peter Zijlstra,
	Ingo Molnar, Alexander Shishkin, Arnaldo Carvalho de Melo

On Tue, Feb 14, 2017 at 09:50:20AM -0300, Arnaldo Carvalho de Melo wrote:

SNIP

> 
> What I think Ingo meant with dependency at the build system level is to
> somehow state that if file A gets changed, then tool B must be rebuilt.
> 
> Now that samples/bpf and tools/perf/ depend on tools/lib/bpf/ I _always_
> build both, ditto for tools/objtool, that shares a different library
> with tools/perf/, tools/lib/subcmd/:
> 
> ENTRYPOINT make -C /git/linux/tools/perf O=/tmp/build/perf && \
>            rm -rf /tmp/build/perf/{.[^.]*,*} && \
>            make NO_LIBELF=1 -C /git/linux/tools/perf O=/tmp/build/perf && \
>            make -C /git/linux/tools/objtool O=/tmp/build/objtool && \
>            make -C /git/linux O=/tmp/build/linux allmodconfig && \
>            make -C /git/linux O=/tmp/build/linux headers_install && \
>            make -C /git/linux O=/tmp/build/linux samples/bpf/
> 
> This is the default action for my
> docker.io/acmel/linux-perf-tools-build-fedora:rawhide container.
> 
> It is published, so a:
> 
>    docker pull docker.io/acmel/linux-perf-tools-build-fedora:rawhide
> 
> And then run it before pushing things upstream would catch these kinds
> of errors.
> 
> But that would possibly disrupt too much people's workflow, that is why
> using the Kbuild originated tools/build/ we have to somehow express that
> when a change is made in a file then a tool that uses that file needs to
> be rebuilt.

we already have the check in the check-headers.sh script,
an AFAICS there's no 'rebuild' option here.. just warn or fail
because the headers update needs to be done manualy

> 
> Makefile rules probably would be enough, but then it would have to be
> done at the tools/build/ level and all tools using shared components
> would have to use it to trigger the rebuild.

we can move/invoke the check-headers.sh script in some upper dir

jirka

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-14  9:19   ` Jiri Olsa
@ 2017-02-14 12:50     ` Arnaldo Carvalho de Melo
  2017-02-14 13:23       ` Jiri Olsa
  0 siblings, 1 reply; 137+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-02-14 12:50 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Ingo Molnar, Stephen Rothwell, David Miller, Networking,
	linux-next, linux-kernel, Alexei Starovoitov, Peter Zijlstra,
	Ingo Molnar, Alexander Shishkin, Arnaldo Carvalho de Melo

Em Tue, Feb 14, 2017 at 10:19:37AM +0100, Jiri Olsa escreveu:
> On Tue, Feb 14, 2017 at 07:42:21AM +0100, Ingo Molnar wrote:
> > * Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > > Unfortunately, the perf header files are kept separate from the kernel
> > > header files proper and are not automatically copied over :-(

> > No, that's wrong, the problem is not that headers were not shared, the problem is 
> > that a tooling interdependency was not properly tested *and* that the dependency 
> > was not properly implemented in the build system either.

> > Note that we had similar build breakages when include headers _were_ shared as 
> > well, so sharing the headers would only have worked around this particular bug and 
> > would have introduced fragility in other places...

> > The best, most robust solution in this particular case would be to fix the 
> > (tooling) build system to express the dependency, that would have shown the build 
> > failure right when the modification was done.
 
> so we have the warning now:
>   Warning: tools/include/uapi/linux/bpf.h differs from kernel
 
> do you want to change it into the build failure?

No. Differences in the copy are not always problematic, the problem here
lies elsewhere.

Please run:

  make -C tools all

To build all tools when you touch something in tools/include and/or
tools/lib/

- Arnaldo



Bored? Here is what I first wrote ;-)

Simply using the kernel original would require kernel hackers to build
all tools using that file, something we long decided not to do.

What I think Ingo meant with dependency at the build system level is to
somehow state that if file A gets changed, then tool B must be rebuilt.

Now that samples/bpf and tools/perf/ depend on tools/lib/bpf/ I _always_
build both, ditto for tools/objtool, that shares a different library
with tools/perf/, tools/lib/subcmd/:

ENTRYPOINT make -C /git/linux/tools/perf O=/tmp/build/perf && \
           rm -rf /tmp/build/perf/{.[^.]*,*} && \
           make NO_LIBELF=1 -C /git/linux/tools/perf O=/tmp/build/perf && \
           make -C /git/linux/tools/objtool O=/tmp/build/objtool && \
           make -C /git/linux O=/tmp/build/linux allmodconfig && \
           make -C /git/linux O=/tmp/build/linux headers_install && \
           make -C /git/linux O=/tmp/build/linux samples/bpf/

This is the default action for my
docker.io/acmel/linux-perf-tools-build-fedora:rawhide container.

It is published, so a:

   docker pull docker.io/acmel/linux-perf-tools-build-fedora:rawhide

And then run it before pushing things upstream would catch these kinds
of errors.

But that would possibly disrupt too much people's workflow, that is why
using the Kbuild originated tools/build/ we have to somehow express that
when a change is made in a file then a tool that uses that file needs to
be rebuilt.

Makefile rules probably would be enough, but then it would have to be
done at the tools/build/ level and all tools using shared components
would have to use it to trigger the rebuild.

- Arnaldo

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-14  6:42 ` Ingo Molnar
@ 2017-02-14  9:19   ` Jiri Olsa
  2017-02-14 12:50     ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 137+ messages in thread
From: Jiri Olsa @ 2017-02-14  9:19 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Stephen Rothwell, David Miller, Networking, linux-next,
	linux-kernel, Alexei Starovoitov, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Alexander Shishkin,
	Arnaldo Carvalho de Melo

On Tue, Feb 14, 2017 at 07:42:21AM +0100, Ingo Molnar wrote:
> 
> * Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> > Hi all,
> > 
> > After merging the net tree, today's linux-next build (powerpc64le perf)
> > failed like this:
> > 
> > Warning: tools/include/uapi/linux/bpf.h differs from kernel
> > bpf.c: In function 'bpf_prog_attach':
> > bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags'; did you mean 'map_flags'?
> >   attr.attach_flags  = flags;
> >       ^
> > 
> > Caused by commit
> > 
> >   7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
> > 
> > Unfortunately, the perf header files are kept separate from the kernel
> > header files proper and are not automatically copied over :-(
> 
> No, that's wrong, the problem is not that headers were not shared, the problem is 
> that a tooling interdependency was not properly tested *and* that the dependency 
> was not properly implemented in the build system either.
> 
> Note that we had similar build breakages when include headers _were_ shared as 
> well, so sharing the headers would only have worked around this particular bug and 
> would have introduced fragility in other places...
> 
> The best, most robust solution in this particular case would be to fix the 
> (tooling) build system to express the dependency, that would have shown the build 
> failure right when the modification was done.

so we have the warning now:
  Warning: tools/include/uapi/linux/bpf.h differs from kernel

do you want to change it into the build failure?

jirka

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-13 23:31 ` Alexei Starovoitov
@ 2017-02-14  7:59   ` Joe Stringer
  0 siblings, 0 replies; 137+ messages in thread
From: Joe Stringer @ 2017-02-14  7:59 UTC (permalink / raw)
  To: Alexei Starovoitov
  Cc: Stephen Rothwell, David Miller, Networking, linux-next, LKML,
	Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Alexander Shishkin, Daniel Borkmann, Jesper Dangaard Brouer,
	Wang Nan

On 13 February 2017 at 15:31, Alexei Starovoitov <ast@fb.com> wrote:
> On 2/13/17 2:12 PM, Stephen Rothwell wrote:
>>
>> Hi all,
>>
>> After merging the net tree, today's linux-next build (powerpc64le perf)
>> failed like this:
>>
>> Warning: tools/include/uapi/linux/bpf.h differs from kernel
>> bpf.c: In function 'bpf_prog_attach':
>> bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags';
>> did you mean 'map_flags'?
>>    attr.attach_flags  = flags;
>>        ^
>>
>> Caused by commit
>>
>>    7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
>>
>> Unfortunately, the perf header files are kept separate from the kernel
>> header files proper and are not automatically copied over :-(
>>
>> I have applied the following build fix patch for today.
>
>
> Yes. Thanks for the fix. It's more than a merge conflict.
> I should have added it in the first place. Now we have both
> perf and samples/bpf depend on tools/lib/bpf and I simply
> forgot about this dependency, since building perf
> is not my typical workflow.
>
> Joe,
> can you think of a way to make tools/lib/bpf to
> use tools/include only?
> Right now we just pull tools/lib/bpf/bpf.o in samples/bpf/Makefile
> and that's a hack that caused this issue.
> samples/bpf/ needs to depend on libbpf.a properly.

Honestly the build system stuff is all black magic to me.

Originally I had a line in the samples/bpf makefile that changed
directory and ran make there, but it was limited in that it only
addressed the 'all' target so you could still hit issues when trying
to build specific samples directly via their own targets so I removed
it on request:

https://patchwork.kernel.org/patch/9472573/

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-13 22:12 Stephen Rothwell
  2017-02-13 23:31 ` Alexei Starovoitov
  2017-02-14  6:35 ` Ingo Molnar
@ 2017-02-14  6:42 ` Ingo Molnar
  2017-02-14  9:19   ` Jiri Olsa
  2017-02-16  3:02 ` Stephen Rothwell
  3 siblings, 1 reply; 137+ messages in thread
From: Ingo Molnar @ 2017-02-14  6:42 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, Networking, linux-next, linux-kernel,
	Alexei Starovoitov, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Alexander Shishkin, Jiri Olsa,
	Arnaldo Carvalho de Melo


* Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi all,
> 
> After merging the net tree, today's linux-next build (powerpc64le perf)
> failed like this:
> 
> Warning: tools/include/uapi/linux/bpf.h differs from kernel
> bpf.c: In function 'bpf_prog_attach':
> bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags'; did you mean 'map_flags'?
>   attr.attach_flags  = flags;
>       ^
> 
> Caused by commit
> 
>   7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
> 
> Unfortunately, the perf header files are kept separate from the kernel
> header files proper and are not automatically copied over :-(

No, that's wrong, the problem is not that headers were not shared, the problem is 
that a tooling interdependency was not properly tested *and* that the dependency 
was not properly implemented in the build system either.

Note that we had similar build breakages when include headers _were_ shared as 
well, so sharing the headers would only have worked around this particular bug and 
would have introduced fragility in other places...

The best, most robust solution in this particular case would be to fix the 
(tooling) build system to express the dependency, that would have shown the build 
failure right when the modification was done.

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-13 22:12 Stephen Rothwell
  2017-02-13 23:31 ` Alexei Starovoitov
@ 2017-02-14  6:35 ` Ingo Molnar
  2017-02-14  6:42 ` Ingo Molnar
  2017-02-16  3:02 ` Stephen Rothwell
  3 siblings, 0 replies; 137+ messages in thread
From: Ingo Molnar @ 2017-02-14  6:35 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, Networking, linux-next, linux-kernel,
	Alexei Starovoitov, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Alexander Shishkin


* Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> --- a/tools/include/uapi/linux/bpf.h
> +++ b/tools/include/uapi/linux/bpf.h
> @@ -116,6 +116,12 @@ enum bpf_attach_type {
>  
>  #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE
>  
> +/* If BPF_F_ALLOW_OVERRIDE flag is used in BPF_PROG_ATTACH command
> + * to the given target_fd cgroup the descendent cgroup will be able to
> + * override effective bpf program that was inherited from this cgroup
> + */
> +#define BPF_F_ALLOW_OVERRIDE	(1U << 0)
> +

BTW., guys, for heaven's sake, please use the standard (multi-line) comment style:

  /*
   * Comment .....
   * ...... goes here.
   */

specified in Documentation/CodingStyle...

It's not that hard to create visually balanced patterns.

Thanks,

        Ingo

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2017-02-13 22:12 Stephen Rothwell
@ 2017-02-13 23:31 ` Alexei Starovoitov
  2017-02-14  7:59   ` Joe Stringer
  2017-02-14  6:35 ` Ingo Molnar
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 137+ messages in thread
From: Alexei Starovoitov @ 2017-02-13 23:31 UTC (permalink / raw)
  To: Stephen Rothwell, David Miller, Networking
  Cc: linux-next, linux-kernel, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Alexander Shishkin, Daniel Borkmann,
	Wang Nan, joe

On 2/13/17 2:12 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net tree, today's linux-next build (powerpc64le perf)
> failed like this:
>
> Warning: tools/include/uapi/linux/bpf.h differs from kernel
> bpf.c: In function 'bpf_prog_attach':
> bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags'; did you mean 'map_flags'?
>    attr.attach_flags  = flags;
>        ^
>
> Caused by commit
>
>    7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")
>
> Unfortunately, the perf header files are kept separate from the kernel
> header files proper and are not automatically copied over :-(
>
> I have applied the following build fix patch for today.

Yes. Thanks for the fix. It's more than a merge conflict.
I should have added it in the first place. Now we have both
perf and samples/bpf depend on tools/lib/bpf and I simply
forgot about this dependency, since building perf
is not my typical workflow.

Joe,
can you think of a way to make tools/lib/bpf to
use tools/include only?
Right now we just pull tools/lib/bpf/bpf.o in samples/bpf/Makefile
and that's a hack that caused this issue.
samples/bpf/ needs to depend on libbpf.a properly.

For the patch:
Acked-by: Alexei Starovoitov <ast@kernel.org>

Dave,
can you apply it to 'net' tree,
since the patch properly made it into patchwork ?
or I can resubmit it.
Thanks!

> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Tue, 14 Feb 2017 08:22:20 +1100
> Subject: [PATCH] bpf: kernel header files need to be copied into the tools directory
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>   tools/include/uapi/linux/bpf.h | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
> index 0eb0e87dbe9f..d2b0ac799d03 100644
> --- a/tools/include/uapi/linux/bpf.h
> +++ b/tools/include/uapi/linux/bpf.h
> @@ -116,6 +116,12 @@ enum bpf_attach_type {
>
>   #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE
>
> +/* If BPF_F_ALLOW_OVERRIDE flag is used in BPF_PROG_ATTACH command
> + * to the given target_fd cgroup the descendent cgroup will be able to
> + * override effective bpf program that was inherited from this cgroup
> + */
> +#define BPF_F_ALLOW_OVERRIDE	(1U << 0)
> +
>   #define BPF_PSEUDO_MAP_FD	1
>
>   /* flags for BPF_MAP_UPDATE_ELEM command */
> @@ -171,6 +177,7 @@ union bpf_attr {
>   		__u32		target_fd;	/* container object to attach to */
>   		__u32		attach_bpf_fd;	/* eBPF program to attach */
>   		__u32		attach_type;
> +		__u32		attach_flags;
>   	};
>   } __attribute__((aligned(8)));
>
>

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2017-02-13 22:12 Stephen Rothwell
  2017-02-13 23:31 ` Alexei Starovoitov
                   ` (3 more replies)
  0 siblings, 4 replies; 137+ messages in thread
From: Stephen Rothwell @ 2017-02-13 22:12 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: linux-next, linux-kernel, Alexei Starovoitov, Peter Zijlstra,
	Ingo Molnar, Arnaldo Carvalho de Melo, Alexander Shishkin

Hi all,

After merging the net tree, today's linux-next build (powerpc64le perf)
failed like this:

Warning: tools/include/uapi/linux/bpf.h differs from kernel
bpf.c: In function 'bpf_prog_attach':
bpf.c:180:6: error: 'union bpf_attr' has no member named 'attach_flags'; did you mean 'map_flags'?
  attr.attach_flags  = flags;
      ^

Caused by commit

  7f677633379b ("bpf: introduce BPF_F_ALLOW_OVERRIDE flag")

Unfortunately, the perf header files are kept separate from the kernel
header files proper and are not automatically copied over :-(

I have applied the following build fix patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 14 Feb 2017 08:22:20 +1100
Subject: [PATCH] bpf: kernel header files need to be copied into the tools directory

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 tools/include/uapi/linux/bpf.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 0eb0e87dbe9f..d2b0ac799d03 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -116,6 +116,12 @@ enum bpf_attach_type {
 
 #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE
 
+/* If BPF_F_ALLOW_OVERRIDE flag is used in BPF_PROG_ATTACH command
+ * to the given target_fd cgroup the descendent cgroup will be able to
+ * override effective bpf program that was inherited from this cgroup
+ */
+#define BPF_F_ALLOW_OVERRIDE	(1U << 0)
+
 #define BPF_PSEUDO_MAP_FD	1
 
 /* flags for BPF_MAP_UPDATE_ELEM command */
@@ -171,6 +177,7 @@ union bpf_attr {
 		__u32		target_fd;	/* container object to attach to */
 		__u32		attach_bpf_fd;	/* eBPF program to attach */
 		__u32		attach_type;
+		__u32		attach_flags;
 	};
 } __attribute__((aligned(8)));
 
-- 
2.10.2

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2016-10-21  0:43     ` Stephen Rothwell
@ 2016-10-21  0:46       ` Florian Fainelli
  0 siblings, 0 replies; 137+ messages in thread
From: Florian Fainelli @ 2016-10-21  0:46 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: David Miller, Networking, linux-next, linux-kernel

On 10/20/2016 05:43 PM, Stephen Rothwell wrote:
> Hi Florian,
> 
> On Thu, 20 Oct 2016 17:30:33 -0700 Florian Fainelli <f.fainelli@gmail.com> wrote:
>>
>> On 10/20/2016 03:42 PM, Florian Fainelli wrote:
>>> On 10/20/2016 03:27 PM, Stephen Rothwell wrote:  
>>>>
>>>> After merging the net tree, today's linux-next build (arm
>>>> multi_v7_defconfig) failed like this:
>>>>
>>>> ERROR: "kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!
>>>>
>>>> Caused by commit
>>>>
>>>>   2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
>>>>
>>>> I used the version of the net tree from next-20161020 for today.  
>>>
>>> OK, seems like we need an ifdef CONFIG_KEXEC_CORE, let me fix that.
>>> Thanks Stephen!  
>>
>> Stephen, can you send me the .config file? I could not reproduce it with
>> next-20161020 and doing a make multi_v7_defconfig:
> 
> This only started with the net tree as of today (HEAD a681574c99be).
> The problem is simply that kexec_in_progress is not exported to modules.

Realized that right after sending you the email.

> 
> Sorry, getting the actual .config file is a pain at this point since my
> builds have moved on.
> 
> It probably had (the current .config has):
> 
> CONFIG_NET_DSA_BCM_SF2=m
> CONFIG_KEXEC_CORE=y
> 
> If CONFIG_KEXEC_CORE is not set, then kexec_in_progress is defined to false.

Yes indeed, I have a fix ready, thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2016-10-21  0:30   ` Florian Fainelli
@ 2016-10-21  0:43     ` Stephen Rothwell
  2016-10-21  0:46       ` Florian Fainelli
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2016-10-21  0:43 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: David Miller, Networking, linux-next, linux-kernel

Hi Florian,

On Thu, 20 Oct 2016 17:30:33 -0700 Florian Fainelli <f.fainelli@gmail.com> wrote:
>
> On 10/20/2016 03:42 PM, Florian Fainelli wrote:
> > On 10/20/2016 03:27 PM, Stephen Rothwell wrote:  
> >>
> >> After merging the net tree, today's linux-next build (arm
> >> multi_v7_defconfig) failed like this:
> >>
> >> ERROR: "kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!
> >>
> >> Caused by commit
> >>
> >>   2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
> >>
> >> I used the version of the net tree from next-20161020 for today.  
> > 
> > OK, seems like we need an ifdef CONFIG_KEXEC_CORE, let me fix that.
> > Thanks Stephen!  
> 
> Stephen, can you send me the .config file? I could not reproduce it with
> next-20161020 and doing a make multi_v7_defconfig:

This only started with the net tree as of today (HEAD a681574c99be).
The problem is simply that kexec_in_progress is not exported to modules.

Sorry, getting the actual .config file is a pain at this point since my
builds have moved on.

It probably had (the current .config has):

CONFIG_NET_DSA_BCM_SF2=m
CONFIG_KEXEC_CORE=y

If CONFIG_KEXEC_CORE is not set, then kexec_in_progress is defined to false.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2016-10-20 22:42 ` Florian Fainelli
@ 2016-10-21  0:30   ` Florian Fainelli
  2016-10-21  0:43     ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: Florian Fainelli @ 2016-10-21  0:30 UTC (permalink / raw)
  To: Stephen Rothwell, David Miller, Networking; +Cc: linux-next, linux-kernel

On 10/20/2016 03:42 PM, Florian Fainelli wrote:
> On 10/20/2016 03:27 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the net tree, today's linux-next build (arm
>> multi_v7_defconfig) failed like this:
>>
>> ERROR: "kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!
>>
>> Caused by commit
>>
>>   2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
>>
>> I used the version of the net tree from next-20161020 for today.
> 
> OK, seems like we need an ifdef CONFIG_KEXEC_CORE, let me fix that.
> Thanks Stephen!

Stephen, can you send me the .config file? I could not reproduce it with
next-20161020 and doing a make multi_v7_defconfig:

fainelli@fainelli-desktop:[~/../linux]$ ls -l drivers/net/dsa/*.ko
-rw-rw-r-- 1 fainelli fainelli 17K Oct 20 17:30 drivers/net/dsa/bcm_sf2.ko

Thanks
-- 
Florian

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2016-10-20 22:27 Stephen Rothwell
@ 2016-10-20 22:42 ` Florian Fainelli
  2016-10-21  0:30   ` Florian Fainelli
  0 siblings, 1 reply; 137+ messages in thread
From: Florian Fainelli @ 2016-10-20 22:42 UTC (permalink / raw)
  To: Stephen Rothwell, David Miller, Networking; +Cc: linux-next, linux-kernel

On 10/20/2016 03:27 PM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> ERROR: "kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!
> 
> Caused by commit
> 
>   2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
> 
> I used the version of the net tree from next-20161020 for today.

OK, seems like we need an ifdef CONFIG_KEXEC_CORE, let me fix that.
Thanks Stephen!
-- 
Florian

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2016-10-20 22:27 Stephen Rothwell
  2016-10-20 22:42 ` Florian Fainelli
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2016-10-20 22:27 UTC (permalink / raw)
  To: David Miller, Networking; +Cc: linux-next, linux-kernel, Florian Fainelli

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

ERROR: "kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!

Caused by commit

  2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")

I used the version of the net tree from next-20161020 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-10-15  2:02 ` David Miller
@ 2014-10-15  5:24   ` Giuseppe CAVALLARO
  0 siblings, 0 replies; 137+ messages in thread
From: Giuseppe CAVALLARO @ 2014-10-15  5:24 UTC (permalink / raw)
  To: David Miller, sfr; +Cc: netdev, linux-next, linux-kernel

On 10/15/2014 4:02 AM, David Miller wrote:
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Wed, 15 Oct 2014 10:44:11 +1100
>
>> Hi all,
>>
>> After merging the net tree, today's linux-next build (arm
>> multi_v7_defconfig) failed like this:
>>
>> drivers/built-in.o: In function `.LANCHOR0':
>> :(.rodata+0x6b764): undefined reference to `sti_gmac_data'
>> :(.rodata+0x6b828): undefined reference to `sti_gmac_data'
>> :(.rodata+0x6b8ec): undefined reference to `sti_gmac_data'
>> :(.rodata+0x6b9b0): undefined reference to `sti_gmac_data'
>>
>> Caused by commit 53b26b9bc9a5 ("stmmac: dwmac-sti: review the
>> glue-logic for STi4xx and STiD127 SoCs") which renamed sti_gmac_data to
>> stih4xx_dwmac_data (or something) without updating all the references
>> to it (including the one added in the previous commit ...).
>>
>> I reverted that commit for today.
>
> Sigh, Giuseppe if I don't see a proper fix by tomorrow I'm
> reverting all of the stmmac changes I applied today.

I am looking at this now and let you know soon

peppe

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-10-14 23:44 Stephen Rothwell
@ 2014-10-15  2:02 ` David Miller
  2014-10-15  5:24   ` Giuseppe CAVALLARO
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2014-10-15  2:02 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, peppe.cavallaro

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 15 Oct 2014 10:44:11 +1100

> Hi all,
> 
> After merging the net tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> drivers/built-in.o: In function `.LANCHOR0':
> :(.rodata+0x6b764): undefined reference to `sti_gmac_data'
> :(.rodata+0x6b828): undefined reference to `sti_gmac_data'
> :(.rodata+0x6b8ec): undefined reference to `sti_gmac_data'
> :(.rodata+0x6b9b0): undefined reference to `sti_gmac_data'
> 
> Caused by commit 53b26b9bc9a5 ("stmmac: dwmac-sti: review the
> glue-logic for STi4xx and STiD127 SoCs") which renamed sti_gmac_data to
> stih4xx_dwmac_data (or something) without updating all the references
> to it (including the one added in the previous commit ...).
> 
> I reverted that commit for today.

Sigh, Giuseppe if I don't see a proper fix by tomorrow I'm
reverting all of the stmmac changes I applied today.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2014-10-14 23:44 Stephen Rothwell
  2014-10-15  2:02 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2014-10-14 23:44 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Giuseppe CAVALLARO

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/built-in.o: In function `.LANCHOR0':
:(.rodata+0x6b764): undefined reference to `sti_gmac_data'
:(.rodata+0x6b828): undefined reference to `sti_gmac_data'
:(.rodata+0x6b8ec): undefined reference to `sti_gmac_data'
:(.rodata+0x6b9b0): undefined reference to `sti_gmac_data'

Caused by commit 53b26b9bc9a5 ("stmmac: dwmac-sti: review the
glue-logic for STi4xx and STiD127 SoCs") which renamed sti_gmac_data to
stih4xx_dwmac_data (or something) without updating all the references
to it (including the one added in the previous commit ...).

I reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-09-17  1:48 ` David Miller
@ 2014-09-17  2:18   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2014-09-17  2:18 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, anish

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

Hi Dave,

On Tue, 16 Sep 2014 21:48:59 -0400 (EDT) David Miller <davem@davemloft.net> wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Wed, 17 Sep 2014 11:04:54 +1000
> 
> > This is a bit different to yesterday's failure but I assume it is still
> > related to commit 5d6be6a5d486 ("scsi_netlink : Make SCSI_NETLINK
> > dependent on NET instead of selecting NET").
> > 
> > I used the net tree from next-20140915 again today.
> 
> Should be fixed by:
> 
> commit 6a38792ca8a5da28f65dc42eeb73d9a431f8d0fd
> Author: Randy Dunlap <rdunlap@infradead.org>
> Date:   Tue Sep 16 13:47:41 2014 -0700
> 
>     scsi: use 'depends' instead of 'select' for SCSI_FC_ATTRS
>     
>     There are other kconfig symbols which use SCSI_FC_ATTRS.
>     In order to maintain sanity and prevent kconfig warnings, change
>     all of these from using 'select' to using 'depends on' so that
>     proper symbol dependencies will be honored and circular depends
>     problems will be avoided.
>     This fixes kconfig warnings and build errors:

OK, thanks.  That was not in the net tree I fetched this morning, so
should be good tomorrow.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-09-17  1:04 Stephen Rothwell
  2014-09-17  1:12 ` Stephen Rothwell
@ 2014-09-17  1:48 ` David Miller
  2014-09-17  2:18   ` Stephen Rothwell
  1 sibling, 1 reply; 137+ messages in thread
From: David Miller @ 2014-09-17  1:48 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, anish

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 17 Sep 2014 11:04:54 +1000

> This is a bit different to yesterday's failure but I assume it is still
> related to commit 5d6be6a5d486 ("scsi_netlink : Make SCSI_NETLINK
> dependent on NET instead of selecting NET").
> 
> I used the net tree from next-20140915 again today.

Should be fixed by:

commit 6a38792ca8a5da28f65dc42eeb73d9a431f8d0fd
Author: Randy Dunlap <rdunlap@infradead.org>
Date:   Tue Sep 16 13:47:41 2014 -0700

    scsi: use 'depends' instead of 'select' for SCSI_FC_ATTRS
    
    There are other kconfig symbols which use SCSI_FC_ATTRS.
    In order to maintain sanity and prevent kconfig warnings, change
    all of these from using 'select' to using 'depends on' so that
    proper symbol dependencies will be honored and circular depends
    problems will be avoided.
    This fixes kconfig warnings and build errors:
    
    warning: (LIBFC && SCSI_IBMVFC && SCSI_QLA_FC && SCSI_LPFC && ZFCP && SCSI_BFA_FC && SCSI_CHELSIO_FCOE && FUSION_FC) selects SCSI_FC_ATTRS which has unmet direct dependencies (SCSI && NET)
    drivers/scsi/scsi_transport_fc.c: In function 'fc_host_post_event':
    drivers/scsi/scsi_transport_fc.c:543:7: error: 'scsi_nl_sock' undeclared (first use in this function)
    drivers/scsi/scsi_transport_fc.c: In function 'fc_host_post_vendor_event':
    drivers/scsi/scsi_transport_fc.c:611:7: error: 'scsi_nl_sock' undeclared (first use in this function)
    
    Reported-by: Fengguang Wu <fengguang.wu@intel.com> [0-day test robot]
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig
index a34a11d..63ca984 100644
--- a/drivers/message/fusion/Kconfig
+++ b/drivers/message/fusion/Kconfig
@@ -29,7 +29,7 @@ config FUSION_SPI
 config FUSION_FC
 	tristate "Fusion MPT ScsiHost drivers for FC"
 	depends on PCI && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	---help---
 	  SCSI HOST support for a Fiber Channel host adapters.
 
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 1d7e513..b745012 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -585,7 +585,7 @@ config HYPERV_STORAGE
 
 config LIBFC
 	tristate "LibFC module"
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	select CRC32
 	---help---
 	  Fibre Channel library module
@@ -816,7 +816,7 @@ config SCSI_IBMVSCSI
 config SCSI_IBMVFC
 	tristate "IBM Virtual FC support"
 	depends on PPC_PSERIES && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	help
 	  This is the IBM POWER Virtual FC Client
 
@@ -1266,7 +1266,7 @@ source "drivers/scsi/qla4xxx/Kconfig"
 config SCSI_LPFC
 	tristate "Emulex LightPulse Fibre Channel Support"
 	depends on PCI && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	select CRC_T10DIF
 	help
           This lpfc driver supports the Emulex LightPulse
@@ -1676,7 +1676,7 @@ config SCSI_SUNESP
 config ZFCP
 	tristate "FCP host bus adapter driver for IBM eServer zSeries"
 	depends on S390 && QDIO && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	help
           If you want to access SCSI devices attached to your IBM eServer
           zSeries by means of Fibre Channel interfaces say Y.
@@ -1704,7 +1704,7 @@ config SCSI_PM8001
 config SCSI_BFA_FC
 	tristate "Brocade BFA Fibre Channel Support"
 	depends on PCI && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	help
 	  This bfa driver supports all Brocade PCIe FC/FCOE host adapters.
 
diff --git a/drivers/scsi/csiostor/Kconfig b/drivers/scsi/csiostor/Kconfig
index 4d03b03..7c7e508 100644
--- a/drivers/scsi/csiostor/Kconfig
+++ b/drivers/scsi/csiostor/Kconfig
@@ -1,7 +1,7 @@
 config SCSI_CHELSIO_FCOE
 	tristate "Chelsio Communications FCoE support"
 	depends on PCI && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	select FW_LOADER
 	help
 	  This driver supports FCoE Offload functionality over
diff --git a/drivers/scsi/qla2xxx/Kconfig b/drivers/scsi/qla2xxx/Kconfig
index 23d6072..7d65776 100644
--- a/drivers/scsi/qla2xxx/Kconfig
+++ b/drivers/scsi/qla2xxx/Kconfig
@@ -1,7 +1,7 @@
 config SCSI_QLA_FC
 	tristate "QLogic QLA2XXX Fibre Channel Support"
 	depends on PCI && SCSI
-	select SCSI_FC_ATTRS
+	depends on SCSI_FC_ATTRS
 	select FW_LOADER
 	---help---
 	This qla2xxx driver supports all QLogic Fibre Channel

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-09-17  1:04 Stephen Rothwell
@ 2014-09-17  1:12 ` Stephen Rothwell
  2014-09-17  1:48 ` David Miller
  1 sibling, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2014-09-17  1:12 UTC (permalink / raw)
  To: Steffen Klassert
  Cc: David Miller, netdev, linux-next, linux-kernel, Anish Bhatt

[-- Attachment #1: Type: text/plain, Size: 3311 bytes --]

Hi Steffen,

On Wed, 17 Sep 2014 11:04:54 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the net tree, today's linux-next build (powerpc ppc64_defconfig)
> failed like this:
> 
> warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (LIBFC && SCSI_IBMVFC && SCSI_QLA_FC && SCSI_LPFC && ZFCP && SCSI_BFA_FC && SCSI_CHELSIO_FCOE && FUSION_FC) selects SCSI_FC_ATTRS which has unmet direct dependencies (SCSI && NET)
> warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (LIBFC && SCSI_IBMVFC && SCSI_QLA_FC && SCSI_LPFC && ZFCP && SCSI_BFA_FC && SCSI_CHELSIO_FCOE && FUSION_FC) selects SCSI_FC_ATTRS which has unmet direct dependencies (SCSI && NET)
> warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
> drivers/scsi/scsi_transport_fc.c: In function 'fc_host_post_event':
> drivers/scsi/scsi_transport_fc.c:543:7: error: 'scsi_nl_sock' undeclared (first use in this function)
>   if (!scsi_nl_sock) {
>        ^
> drivers/scsi/scsi_transport_fc.c:543:7: note: each undeclared identifier is reported only once for each function it appears in
> drivers/scsi/scsi_transport_fc.c: In function 'fc_host_post_vendor_event':
> drivers/scsi/scsi_transport_fc.c:611:7: error: 'scsi_nl_sock' undeclared (first use in this function)
>   if (!scsi_nl_sock) {
>        ^
> 
> This is a bit different to yesterday's failure but I assume it is still
> related to commit 5d6be6a5d486 ("scsi_netlink : Make SCSI_NETLINK
> dependent on NET instead of selecting NET").
> 
> I used the net tree from next-20140915 again today.

I also had to use the version of the ipsec tree from next-20140916
since today's version is based on the version of the net tree with
errors.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2014-09-17  1:04 Stephen Rothwell
  2014-09-17  1:12 ` Stephen Rothwell
  2014-09-17  1:48 ` David Miller
  0 siblings, 2 replies; 137+ messages in thread
From: Stephen Rothwell @ 2014-09-17  1:04 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Anish Bhatt

[-- Attachment #1: Type: text/plain, Size: 3018 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc ppc64_defconfig)
failed like this:

warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (LIBFC && SCSI_IBMVFC && SCSI_QLA_FC && SCSI_LPFC && ZFCP && SCSI_BFA_FC && SCSI_CHELSIO_FCOE && FUSION_FC) selects SCSI_FC_ATTRS which has unmet direct dependencies (SCSI && NET)
warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (LIBFC && SCSI_IBMVFC && SCSI_QLA_FC && SCSI_LPFC && ZFCP && SCSI_BFA_FC && SCSI_CHELSIO_FCOE && FUSION_FC) selects SCSI_FC_ATTRS which has unmet direct dependencies (SCSI && NET)
warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
drivers/scsi/scsi_transport_fc.c: In function 'fc_host_post_event':
drivers/scsi/scsi_transport_fc.c:543:7: error: 'scsi_nl_sock' undeclared (first use in this function)
  if (!scsi_nl_sock) {
       ^
drivers/scsi/scsi_transport_fc.c:543:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/scsi/scsi_transport_fc.c: In function 'fc_host_post_vendor_event':
drivers/scsi/scsi_transport_fc.c:611:7: error: 'scsi_nl_sock' undeclared (first use in this function)
  if (!scsi_nl_sock) {
       ^

This is a bit different to yesterday's failure but I assume it is still
related to commit 5d6be6a5d486 ("scsi_netlink : Make SCSI_NETLINK
dependent on NET instead of selecting NET").

I used the net tree from next-20140915 again today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-08-26  3:22 ` David Miller
@ 2014-08-26  3:33   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2014-08-26  3:33 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, vyasevich

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

Hi Dave,

On Mon, 25 Aug 2014 20:22:22 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> Sorry about that, I just pushed the following to fix it:
> 
> ====================
> [PATCH] mvneta: Add missing if_vlan.h include.

Thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-08-26  2:05 Stephen Rothwell
@ 2014-08-26  3:22 ` David Miller
  2014-08-26  3:33   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2014-08-26  3:22 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, vyasevich

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 26 Aug 2014 12:05:11 +1000

> Hi all,
> 
> After merging the net tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_skb_tx_csum':
> drivers/net/ethernet/marvell/mvneta.c:1374:3: error: implicit declaration of function 'vlan_get_protocol' [-Werror=implicit-function-declaration]
>    __be16 l3_proto = vlan_get_protocol(skb);
>    ^
> 
> Caused by commit 817dbfa5d1bc ("mvneta: Fix TSO and checksum for
> non-acceleration vlan traffic").
> 
> I have reverted that commit for today.

Sorry about that, I just pushed the following to fix it:

====================
[PATCH] mvneta: Add missing if_vlan.h include.

drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_skb_tx_csum':
drivers/net/ethernet/marvell/mvneta.c:1374:3: error: implicit declaration of function 'vlan_get_protocol' [-Werror=implicit-function-declaration]
   __be16 l3_proto = vlan_get_protocol(skb);
   ^

Reporeted-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/ethernet/marvell/mvneta.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c
index 133f8c6..ade067d 100644
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -20,6 +20,7 @@
 #include <linux/mbus.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
+#include <linux/if_vlan.h>
 #include <net/ip.h>
 #include <net/ipv6.h>
 #include <linux/io.h>
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2014-08-26  2:05 Stephen Rothwell
  2014-08-26  3:22 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2014-08-26  2:05 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Vlad Yasevich

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_skb_tx_csum':
drivers/net/ethernet/marvell/mvneta.c:1374:3: error: implicit declaration of function 'vlan_get_protocol' [-Werror=implicit-function-declaration]
   __be16 l3_proto = vlan_get_protocol(skb);
   ^

Caused by commit 817dbfa5d1bc ("mvneta: Fix TSO and checksum for
non-acceleration vlan traffic").

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-07-30  0:36 Stephen Rothwell
@ 2014-07-30  8:26 ` Oliver Neukum
  0 siblings, 0 replies; 137+ messages in thread
From: Oliver Neukum @ 2014-07-30  8:26 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: David Miller, netdev, linux-next, linux-kernel

On Wed, 2014-07-30 at 10:36 +1000, Stephen Rothwell wrote:

> Caused by commit 20fbe3ae990f ("cdc_subset: deal with a device that
> needs reset for timeout").
> 
> I have used the net tree from next-20140729 for today (i.e. up to
> commit fe26566d8a0515 ("bnx2x: fix crash during TSO tunneling")).

Thank you. Patch is on the way.

	Regards
		Oliver



^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2014-07-30  0:36 Stephen Rothwell
  2014-07-30  8:26 ` Oliver Neukum
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2014-07-30  0:36 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Oliver Neukum

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/net/usb/cdc_subset.c:360:15: error: 'dummy_prereset' undeclared here (not in a function)
  .pre_reset = dummy_prereset,
               ^
drivers/net/usb/cdc_subset.c:361:16: error: 'dummy_postreset' undeclared here (not in a function)
  .post_reset = dummy_postreset,
                ^

Caused by commit 20fbe3ae990f ("cdc_subset: deal with a device that
needs reset for timeout").

I have used the net tree from next-20140729 for today (i.e. up to
commit fe26566d8a0515 ("bnx2x: fix crash during TSO tunneling")).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-07-23 18:40     ` Florian Fainelli
@ 2014-07-23 18:42       ` Vince Bridgers
  0 siblings, 0 replies; 137+ messages in thread
From: Vince Bridgers @ 2014-07-23 18:42 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: David Miller, Stephen Rothwell, netdev, linux-next, linux-kernel

On Wed, Jul 23, 2014 at 1:40 PM, Florian Fainelli <f.fainelli@gmail.com> wrote:
> 2014-07-23 11:38 GMT-07:00 Vince Bridgers <vbridgers2013@gmail.com>:
>> Hi all,
>>
>> On Mon, Jul 7, 2014 at 9:53 PM, David Miller <davem@davemloft.net> wrote:
>>> From: Stephen Rothwell <sfr@canb.auug.org.au>
>>> Date: Fri, 4 Jul 2014 11:39:07 +1000
>>>
>>>> After merging the net tree, today's linux-next build (x86_64
>>>> allmodconfig) failed like this:
>>>>
>>>> ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
>>>>
>>>> Caused by commit 0acf16768740 ("net: stmmac: add platform init/exit for
>>>> Altera's ARM socfpga").
>>>>
>>>> I reverted that commit for today.
>>>
>>> Vince you haven't made any effort to fix this build failure, so I am reverting
>>> your changes.
>>
>> My apologies, I was out on vacation and I should have checked for this
>> before submitting. I have a corrected patch that I'm ready to submit.
>
> net-next does contain a change that adds EXPORT_SYMBOLE() to
> phy_resume and phy_suspend, you might be able to get along with just
> re-submitting your patches if they still apply cleanly?
> --
> Florian

Ok, I was just parsing the other email thread. I'll try that.

Cheers

Vince

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-07-23 18:38   ` Vince Bridgers
@ 2014-07-23 18:40     ` Florian Fainelli
  2014-07-23 18:42       ` Vince Bridgers
  0 siblings, 1 reply; 137+ messages in thread
From: Florian Fainelli @ 2014-07-23 18:40 UTC (permalink / raw)
  To: Vince Bridgers
  Cc: David Miller, Stephen Rothwell, netdev, linux-next, linux-kernel

2014-07-23 11:38 GMT-07:00 Vince Bridgers <vbridgers2013@gmail.com>:
> Hi all,
>
> On Mon, Jul 7, 2014 at 9:53 PM, David Miller <davem@davemloft.net> wrote:
>> From: Stephen Rothwell <sfr@canb.auug.org.au>
>> Date: Fri, 4 Jul 2014 11:39:07 +1000
>>
>>> After merging the net tree, today's linux-next build (x86_64
>>> allmodconfig) failed like this:
>>>
>>> ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
>>>
>>> Caused by commit 0acf16768740 ("net: stmmac: add platform init/exit for
>>> Altera's ARM socfpga").
>>>
>>> I reverted that commit for today.
>>
>> Vince you haven't made any effort to fix this build failure, so I am reverting
>> your changes.
>
> My apologies, I was out on vacation and I should have checked for this
> before submitting. I have a corrected patch that I'm ready to submit.

net-next does contain a change that adds EXPORT_SYMBOLE() to
phy_resume and phy_suspend, you might be able to get along with just
re-submitting your patches if they still apply cleanly?
-- 
Florian

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-07-08  2:53 ` David Miller
  2014-07-08 16:28   ` Florian Fainelli
@ 2014-07-23 18:38   ` Vince Bridgers
  2014-07-23 18:40     ` Florian Fainelli
  1 sibling, 1 reply; 137+ messages in thread
From: Vince Bridgers @ 2014-07-23 18:38 UTC (permalink / raw)
  To: David Miller, Florian Fainelli; +Cc: sfr, netdev, linux-next, linux-kernel

Hi all,

On Mon, Jul 7, 2014 at 9:53 PM, David Miller <davem@davemloft.net> wrote:
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Fri, 4 Jul 2014 11:39:07 +1000
>
>> After merging the net tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
>>
>> Caused by commit 0acf16768740 ("net: stmmac: add platform init/exit for
>> Altera's ARM socfpga").
>>
>> I reverted that commit for today.
>
> Vince you haven't made any effort to fix this build failure, so I am reverting
> your changes.

My apologies, I was out on vacation and I should have checked for this
before submitting. I have a corrected patch that I'm ready to submit.

Vince

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-07-08  2:53 ` David Miller
@ 2014-07-08 16:28   ` Florian Fainelli
  2014-07-23 18:38   ` Vince Bridgers
  1 sibling, 0 replies; 137+ messages in thread
From: Florian Fainelli @ 2014-07-08 16:28 UTC (permalink / raw)
  To: David Miller
  Cc: Stephen Rothwell, netdev, linux-next, linux-kernel, Vince Bridgers

2014-07-07 19:53 GMT-07:00 David Miller <davem@davemloft.net>:
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Fri, 4 Jul 2014 11:39:07 +1000
>
>> After merging the net tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
>>
>> Caused by commit 0acf16768740 ("net: stmmac: add platform init/exit for
>> Altera's ARM socfpga").
>>
>> I reverted that commit for today.
>
> Vince you haven't made any effort to fix this build failure, so I am reverting
> your changes.

I'll take care of this, since I am also using phy_suspend/resume in
the systemport driver, and the kbuild test robot reported a linker
failure.
-- 
Florian

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-07-04  1:39 Stephen Rothwell
@ 2014-07-08  2:53 ` David Miller
  2014-07-08 16:28   ` Florian Fainelli
  2014-07-23 18:38   ` Vince Bridgers
  0 siblings, 2 replies; 137+ messages in thread
From: David Miller @ 2014-07-08  2:53 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, vbridgers2013

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 4 Jul 2014 11:39:07 +1000

> After merging the net tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!
> 
> Caused by commit 0acf16768740 ("net: stmmac: add platform init/exit for
> Altera's ARM socfpga").
> 
> I reverted that commit for today.

Vince you haven't made any effort to fix this build failure, so I am reverting
your changes.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2014-07-04  1:39 Stephen Rothwell
  2014-07-08  2:53 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2014-07-04  1:39 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Vince Bridgers

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!

Caused by commit 0acf16768740 ("net: stmmac: add platform init/exit for
Altera's ARM socfpga").

I reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2014-05-20  0:59 Stephen Rothwell
@ 2014-05-20 14:50 ` Vlad Yasevich
  0 siblings, 0 replies; 137+ messages in thread
From: Vlad Yasevich @ 2014-05-20 14:50 UTC (permalink / raw)
  To: Stephen Rothwell, David Miller, netdev
  Cc: linux-next, linux-kernel, Vlad Yasevich

On 05/19/2014 08:59 PM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> 
> In file included from arch/powerpc/net/bpf_jit_comp.c:16:0:
> include/linux/if_vlan.h: In function 'vlan_get_encap_level':
> include/linux/if_vlan.h:491:2: error: implicit declaration of function 'vlan_dev_priv' [-Werror=implicit-function-declaration]
>   return vlan_dev_priv(dev)->nest_level;
>   ^
> include/linux/if_vlan.h:491:27: error: invalid type argument of '->' (have 'int')
>   return vlan_dev_priv(dev)->nest_level;
>                            ^
> 
> Caused by commit 44a4085538c8 ("bonding: Fix stacked device detection
> in arp monitoring").
> 
> vlan_dev_priv() is protected by:
> 
> #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
> 
> but the newly added call in vlan_get_encap_level() is not.
> 
> I have used the net tree from next-20140519 for today.
> 

Right.  Apologies.  I missed the above fact.  Fix forthcoming.

-vlad

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2014-05-20  0:59 Stephen Rothwell
  2014-05-20 14:50 ` Vlad Yasevich
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2014-05-20  0:59 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Vlad Yasevich

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:


In file included from arch/powerpc/net/bpf_jit_comp.c:16:0:
include/linux/if_vlan.h: In function 'vlan_get_encap_level':
include/linux/if_vlan.h:491:2: error: implicit declaration of function 'vlan_dev_priv' [-Werror=implicit-function-declaration]
  return vlan_dev_priv(dev)->nest_level;
  ^
include/linux/if_vlan.h:491:27: error: invalid type argument of '->' (have 'int')
  return vlan_dev_priv(dev)->nest_level;
                           ^

Caused by commit 44a4085538c8 ("bonding: Fix stacked device detection
in arp monitoring").

vlan_dev_priv() is protected by:

#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)

but the newly added call in vlan_get_encap_level() is not.

I have used the net tree from next-20140519 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* RE: linux-next: build failure after merge of the net tree
  2012-10-04  1:47     ` David Miller
@ 2012-10-04  2:12       ` Jay Hernandez
  0 siblings, 0 replies; 137+ messages in thread
From: Jay Hernandez @ 2012-10-04  2:12 UTC (permalink / raw)
  To: David Miller, sfr
  Cc: netdev, linux-next, linux-kernel, Vipul Pandya, Jay Hernandez

David and Stephen,

I apologize for not taking the necessary steps to verify our patches
before submission. Ignorance is not an excuse... Anyways David thank you
for fixing the issue for us.

Jay-

-----Original Message-----
From: David Miller [mailto:davem@davemloft.net] 
Sent: Wednesday, October 03, 2012 6:48 PM
To: sfr@canb.auug.org.au
Cc: netdev@vger.kernel.org; linux-next@vger.kernel.org;
linux-kernel@vger.kernel.org; Vipul Pandya; Jay Hernandez
Subject: Re: linux-next: build failure after merge of the net tree

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 4 Oct 2012 11:06:15 +1000

> Actually, for me it is.  I have a script that does the "use 
> yesterday's version" for me.  To fix (even a one liner) means bringing

> up an editor, commiting, creating the patch and then recommiting it 
> (an implementation
> detail) and recording that I need to keep (automatically) applying the

> patch in case the maintainer doesn't react quickly.

Ok, fair enough.

I'll try to look into making x86 barf when a vmalloc.h include is
missing.


^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2012-10-04  1:06   ` Stephen Rothwell
@ 2012-10-04  1:47     ` David Miller
  2012-10-04  2:12       ` Jay Hernandez
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2012-10-04  1:47 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, vipul, jay

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 4 Oct 2012 11:06:15 +1000

> Actually, for me it is.  I have a script that does the "use yesterday's
> version" for me.  To fix (even a one liner) means bringing up an editor,
> commiting, creating the patch and then recommiting it (an implementation
> detail) and recording that I need to keep (automatically) applying the
> patch in case the maintainer doesn't react quickly.

Ok, fair enough.

I'll try to look into making x86 barf when a vmalloc.h include is
missing.


^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2012-10-04  0:50 ` David Miller
@ 2012-10-04  1:06   ` Stephen Rothwell
  2012-10-04  1:47     ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2012-10-04  1:06 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, vipul, jay

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

Hi David,

On Wed, 03 Oct 2012 20:50:53 -0400 (EDT) David Miller <davem@davemloft.net> wrote:
>
> I do have a question though, it is honestly really that much easier to
> revert a whole days worth of changes (and therefore not get the code
> tested at all) than to simply add the obvious one liner?

Actually, for me it is.  I have a script that does the "use yesterday's
version" for me.  To fix (even a one liner) means bringing up an editor,
commiting, creating the patch and then recommiting it (an implementation
detail) and recording that I need to keep (automatically) applying the
patch in case the maintainer doesn't react quickly.

In this particular case I have been telling people to include vmalloc.h
(and other things like slab.h) over and over for years ... its a pain
that x86 builds indirectly include so much stuff.

> It seems to me to be absolutely the wrong tradeoff in these situations.

I guess for the "current/fixes" tree during the merge window, you are
right.  For the "normal" trees, does a delay of (usually) one day really
matter?

I used to fix all this stuff and it added considerably to the length of
my work day (which currently can be up to 16 hours long) :-(

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2012-10-04  0:18 Stephen Rothwell
@ 2012-10-04  0:50 ` David Miller
  2012-10-04  1:06   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2012-10-04  0:50 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, vipul, jay

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 4 Oct 2012 10:18:33 +1000

> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function 't4_memory_rw':
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:420:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:420:7: warning: assignment makes pointer from integer without a cast [enabled by default]
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:487:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function 'get_vpd_params':
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:530:6: warning: assignment makes pointer from integer without a cast [enabled by default]
> 
> Caused by commit 8c357ebd5693 ("cxgb4: Dynamically allocate memory in
> t4_memory_rw() and get_vpd_params()").  Missing include of
> linux/vmalloc.h.
> 
> I have used the net tree from next-20121003 for today.

Thanks, I'll fix this as is shown below.

I do have a question though, it is honestly really that much easier to
revert a whole days worth of changes (and therefore not get the code
tested at all) than to simply add the obvious one liner?

It seems to me to be absolutely the wrong tradeoff in these situations.

====================
[PATCH] cxgb4: Fix build error due to missing linux/vmalloc.h include.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
index 745a1f5..31752b2 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
@@ -43,6 +43,7 @@
 #include <linux/pci.h>
 #include <linux/spinlock.h>
 #include <linux/timer.h>
+#include <linux/vmalloc.h>
 #include <asm/io.h>
 #include "cxgb4_uld.h"
 #include "t4_hw.h"
-- 
1.7.11.4


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2012-10-04  0:18 Stephen Rothwell
  2012-10-04  0:50 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2012-10-04  0:18 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Vipul Pandya, Jay Hernandez

[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function 't4_memory_rw':
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:420:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:420:7: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:487:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function 'get_vpd_params':
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:530:6: warning: assignment makes pointer from integer without a cast [enabled by default]

Caused by commit 8c357ebd5693 ("cxgb4: Dynamically allocate memory in
t4_memory_rw() and get_vpd_params()").  Missing include of
linux/vmalloc.h.

I have used the net tree from next-20121003 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-08-16  3:26 Stephen Rothwell
@ 2011-08-16  4:03 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-08-16  4:03 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 16 Aug 2011 13:26:59 +1000

> I applied this patch for today:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Tue, 16 Aug 2011 13:22:24 +1000
> Subject: [PATCH] sungem: sungem_phy.h moved
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Sigh, applied, sorry about this.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-08-16  3:26 Stephen Rothwell
  2011-08-16  4:03 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-08-16  3:26 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/ethernet/sun/sungem_phy.c:36:24: fatal error: sungem_phy.h: No such file or directory

Caused by commit 2bb698412d8a ("net: Move sungem_phy.h under
include/linux").

I applied this patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 16 Aug 2011 13:22:24 +1000
Subject: [PATCH] sungem: sungem_phy.h moved

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/net/ethernet/sun/sungem_phy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/sun/sungem_phy.c b/drivers/net/ethernet/sun/sungem_phy.c
index d16880d..db99c22 100644
--- a/drivers/net/ethernet/sun/sungem_phy.c
+++ b/drivers/net/ethernet/sun/sungem_phy.c
@@ -33,7 +33,7 @@
 #include <asm/prom.h>
 #endif
 
-#include "sungem_phy.h"
+#include <linux/sungem_phy.h>
 
 /* Link modes of the BCM5400 PHY */
 static const int phy_BCM5400_link_table[8][3] = {
-- 
1.7.5.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-08-12  4:34       ` Stephen Rothwell
@ 2011-08-12  5:22         ` Jeff Kirsher
  0 siblings, 0 replies; 137+ messages in thread
From: Jeff Kirsher @ 2011-08-12  5:22 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: David Miller, netdev, linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

On Thu, 2011-08-11 at 21:34 -0700, Stephen Rothwell wrote:
> Hi Jeff,
> 
> On Thu, 11 Aug 2011 20:05:25 -0700 Jeff Kirsher <jeffrey.t.kirsher@intel.com> wrote:
> >
> > I am working on a patch now to fix this.
> > 
> > Stephen - if you could compile test it, I would greatly appreciate.
> 
> Sure, send it over.  With master.kernel.org down, its not like I can
> releease linux-next anyway :-)
> 

That explains why I was having issues connecting to
master.kernel.org. :)  Good to know it was not just me.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-08-12  3:05     ` Jeff Kirsher
@ 2011-08-12  4:34       ` Stephen Rothwell
  2011-08-12  5:22         ` Jeff Kirsher
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-08-12  4:34 UTC (permalink / raw)
  To: jeffrey.t.kirsher; +Cc: David Miller, netdev, linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

Hi Jeff,

On Thu, 11 Aug 2011 20:05:25 -0700 Jeff Kirsher <jeffrey.t.kirsher@intel.com> wrote:
>
> I am working on a patch now to fix this.
> 
> Stephen - if you could compile test it, I would greatly appreciate.

Sure, send it over.  With master.kernel.org down, its not like I can
releease linux-next anyway :-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-08-12  2:51   ` David Miller
@ 2011-08-12  3:05     ` Jeff Kirsher
  2011-08-12  4:34       ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: Jeff Kirsher @ 2011-08-12  3:05 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, netdev, linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

On Thu, 2011-08-11 at 19:51 -0700, David Miller wrote:
> From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> Date: Thu, 11 Aug 2011 19:31:35 -0700
> 
> > I am curious, can you compile the Sun GEM support driver?  and if so,
> > does the Spider Net driver compile?
> 
> I'm pretty sure you cannot reference object targets outside of
> the current directory and expect it to work.
> 
> You can only reference things in the current directory (objects,
> directories to traverse down into, etc.) as targets
> 
> So when there is a common piece of infrastructure shared by
> two drivers, you're really going to have to cope with them
> at the same time.

I am working on a patch now to fix this.

Stephen - if you could compile test it, I would greatly appreciate.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-08-12  2:31 ` Jeff Kirsher
@ 2011-08-12  2:51   ` David Miller
  2011-08-12  3:05     ` Jeff Kirsher
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2011-08-12  2:51 UTC (permalink / raw)
  To: jeffrey.t.kirsher; +Cc: sfr, netdev, linux-next, linux-kernel

From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Thu, 11 Aug 2011 19:31:35 -0700

> I am curious, can you compile the Sun GEM support driver?  and if so,
> does the Spider Net driver compile?

I'm pretty sure you cannot reference object targets outside of
the current directory and expect it to work.

You can only reference things in the current directory (objects,
directories to traverse down into, etc.) as targets

So when there is a common piece of infrastructure shared by
two drivers, you're really going to have to cope with them
at the same time.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-08-12  2:02 Stephen Rothwell
@ 2011-08-12  2:31 ` Jeff Kirsher
  2011-08-12  2:51   ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Jeff Kirsher @ 2011-08-12  2:31 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: David Miller, netdev, linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

On Thu, 2011-08-11 at 19:02 -0700, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> Assembler messages:
> Fatal error: can't create drivers/net/ethernet/sun/.tmp_sungem_phy.o: No such file or directory
> 
> Presumably caused by commit e689cf4a0427 ("cassini/niu/sun*: Move the Sun
> drivers") theough I don't know why.  I tried throwing away my object
> directory, but that didn't help.
> 
> Ah, ha!  This looks suspicious (change to drivers/net/Makefile):
> 
> +obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o
> 
> I have used the net tree from next-20110811 for today.

I am curious, can you compile the Sun GEM support driver?  and if so,
does the Spider Net driver compile?

I know I did not have the PPC hardware to test the compilation of the
Spider Net driver, but I was basing the Makefile changes on similar
changes that the Broadcom driver required, which I did compile test.

I want to resolve this before continuing on with the next set of
patches.



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-08-12  2:02 Stephen Rothwell
  2011-08-12  2:31 ` Jeff Kirsher
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-08-12  2:02 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Jeff Kirsher

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

Assembler messages:
Fatal error: can't create drivers/net/ethernet/sun/.tmp_sungem_phy.o: No such file or directory

Presumably caused by commit e689cf4a0427 ("cassini/niu/sun*: Move the Sun
drivers") theough I don't know why.  I tried throwing away my object
directory, but that didn't help.

Ah, ha!  This looks suspicious (change to drivers/net/Makefile):

+obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o

I have used the net tree from next-20110811 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-20  4:58   ` Stephen Rothwell
@ 2011-06-20  5:36     ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-06-20  5:36 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, greg, adobriyan

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 20 Jun 2011 14:58:07 +1000

> On Wed, 15 Jun 2011 08:56:17 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> On Thu, 9 Jun 2011 14:56:57 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>> I think that this patch would probably apply to just the net-next tree
>> anyway.
> 
> Ping.

Sorry, this slipped through the cracks, I'll take care of this right now.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-14 22:56 ` Stephen Rothwell
@ 2011-06-20  4:58   ` Stephen Rothwell
  2011-06-20  5:36     ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-06-20  4:58 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Greg KH, Alexey Dobriyan

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

Hi Dave,

On Wed, 15 Jun 2011 08:56:17 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Thu, 9 Jun 2011 14:56:57 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> > 
> > [See summary in patch below.]
> > 
> > I assume that this is fallout from commit a6b7a407865a ("net: remove
> > interrupt.h inclusion from netdevice.h").
> > 
> > I added the following patch for today:
> > 
> > From 520e46c255afa851b33e5c4a2bcf2112ecccbb6f Mon Sep 17 00:00:00 2001
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Thu, 9 Jun 2011 14:19:09 +1000
> > Subject: [PATCH] net/staging: add needed interrupt.h and hardirq.h includes
> 
> I am still getting these build errors and applying the patch.  I would
> assume that if you merge Linus' tree (-rc3 will do it) into net-next, you
> will get these failures as well (for an x86_64 allmodconfig build at
> least).
> 
> I think that this patch would probably apply to just the net-next tree
> anyway.

Ping.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-09  4:56 Stephen Rothwell
  2011-06-09  5:17 ` Greg K-H
  2011-06-10 20:28 ` Geert Uytterhoeven
@ 2011-06-14 22:56 ` Stephen Rothwell
  2011-06-20  4:58   ` Stephen Rothwell
  2 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-06-14 22:56 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Greg KH, Alexey Dobriyan

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

Hi Dave,

On Thu, 9 Jun 2011 14:56:57 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> [See summary in patch below.]
> 
> [Hmmm, suddenly allmodconfig is building stuff in staging?  Ah ha!
> Commit fe35a59e16fb ("Staging: remove STAGING_EXCLUDE_BUILD
> option")  Greg, a bit of warning might have been nice :-( ]
> 
> I assume that this is fallout from commit a6b7a407865a ("net: remove
> interrupt.h inclusion from netdevice.h").
> 
> I added the following patch for today:
> 
> From 520e46c255afa851b33e5c4a2bcf2112ecccbb6f Mon Sep 17 00:00:00 2001
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 9 Jun 2011 14:19:09 +1000
> Subject: [PATCH] net/staging: add needed interrupt.h and hardirq.h includes

I am still getting these build errors and applying the patch.  I would
assume that if you merge Linus' tree (-rc3 will do it) into net-next, you
will get these failures as well (for an x86_64 allmodconfig build at
least).

I think that this patch would probably apply to just the net-next tree
anyway.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-11  4:26   ` Stephen Rothwell
@ 2011-06-11 11:39     ` Geert Uytterhoeven
  0 siblings, 0 replies; 137+ messages in thread
From: Geert Uytterhoeven @ 2011-06-11 11:39 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, netdev, linux-next, linux-kernel, Greg KH, Alexey Dobriyan

On Sat, Jun 11, 2011 at 06:26, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> On Fri, 10 Jun 2011 22:28:03 +0200 Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> My first bisection between two successive versions of linux-next failed, but
>
> Bisecting between successive linux-next versions is bound not to work.
> Bisection really only works between a commit and one of ist ancestors.

Yeah, I should have known that...

>> the second one between linus and linux-next just finished and points
>> to that commit.
>
> That is a much better bet.

Patch has been sent.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-10 20:28 ` Geert Uytterhoeven
@ 2011-06-11  4:26   ` Stephen Rothwell
  2011-06-11 11:39     ` Geert Uytterhoeven
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-06-11  4:26 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: David Miller, netdev, linux-next, linux-kernel, Greg KH, Alexey Dobriyan

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

Hi Geert,

On Fri, 10 Jun 2011 22:28:03 +0200 Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> On Thu, Jun 9, 2011 at 06:56, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > I assume that this is fallout from commit a6b7a407865a ("net: remove
> > interrupt.h inclusion from netdevice.h").
> 
> Ah, that's were the failures on m68k come from:
> http://kisskb.ellerman.id.au/kisskb/buildresult/4222666/
> http://kisskb.ellerman.id.au/kisskb/buildresult/4223000/

Yep.

> My first bisection between two successive versions of linux-next failed, but

Bisecting between successive linux-next versions is bound not to work.
Bisection really only works between a commit and one of ist ancestors.

> the second one between linus and linux-next just finished and points
> to that commit.

That is a much better bet.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-09  4:56 Stephen Rothwell
  2011-06-09  5:17 ` Greg K-H
@ 2011-06-10 20:28 ` Geert Uytterhoeven
  2011-06-11  4:26   ` Stephen Rothwell
  2011-06-14 22:56 ` Stephen Rothwell
  2 siblings, 1 reply; 137+ messages in thread
From: Geert Uytterhoeven @ 2011-06-10 20:28 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, netdev, linux-next, linux-kernel, Greg KH, Alexey Dobriyan

On Thu, Jun 9, 2011 at 06:56, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> I assume that this is fallout from commit a6b7a407865a ("net: remove
> interrupt.h inclusion from netdevice.h").

Ah, that's were the failures on m68k come from:
http://kisskb.ellerman.id.au/kisskb/buildresult/4222666/
http://kisskb.ellerman.id.au/kisskb/buildresult/4223000/

My first bisection between two successive versions of linux-next failed, but
the second one between linus and linux-next just finished and points
to that commit.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-09  5:39   ` Stephen Rothwell
@ 2011-06-09 19:29     ` Greg KH
  0 siblings, 0 replies; 137+ messages in thread
From: Greg KH @ 2011-06-09 19:29 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, <netdev@vger.kernel.org>,
	linux-next, linux-kernel, Alexey Dobriyan

On Thu, Jun 09, 2011 at 03:39:04PM +1000, Stephen Rothwell wrote:
> Hi Greg,
> 
> On Wed, 8 Jun 2011 22:17:55 -0700 Greg K-H <greg@kroah.com> wrote:
> >
> > Sorry, this is something that Linus asked for and will be going to him
> > tomorrow with the rest of the staging-linus branch.
> 
> Yeah, I remember the discussion, just not a conclusion.  At least the
> x86_64 allmodconfig builds worked before I merged the net tree, so that is
> something.
> 
> The powerpc allyesconfig build is going to be interesting :-(
> 
> You might like to check the build results at
> http://kisskb.ellerman.id.au/kisskb/branch/9/ sometime tomorrow.  Or
> point your janitors at it :-)

I don't see any failures in the staging tree in the powerpc allyesconfig
build, so all must be good :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-09  5:17 ` Greg K-H
@ 2011-06-09  5:39   ` Stephen Rothwell
  2011-06-09 19:29     ` Greg KH
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-06-09  5:39 UTC (permalink / raw)
  To: Greg K-H
  Cc: David Miller, <netdev@vger.kernel.org>,
	linux-next, linux-kernel, Alexey Dobriyan

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

Hi Greg,

On Wed, 8 Jun 2011 22:17:55 -0700 Greg K-H <greg@kroah.com> wrote:
>
> Sorry, this is something that Linus asked for and will be going to him
> tomorrow with the rest of the staging-linus branch.

Yeah, I remember the discussion, just not a conclusion.  At least the
x86_64 allmodconfig builds worked before I merged the net tree, so that is
something.

The powerpc allyesconfig build is going to be interesting :-(

You might like to check the build results at
http://kisskb.ellerman.id.au/kisskb/branch/9/ sometime tomorrow.  Or
point your janitors at it :-)
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-06-09  4:56 Stephen Rothwell
@ 2011-06-09  5:17 ` Greg K-H
  2011-06-09  5:39   ` Stephen Rothwell
  2011-06-10 20:28 ` Geert Uytterhoeven
  2011-06-14 22:56 ` Stephen Rothwell
  2 siblings, 1 reply; 137+ messages in thread
From: Greg K-H @ 2011-06-09  5:17 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, <netdev@vger.kernel.org>,
	linux-next, linux-kernel, Alexey Dobriyan


On Jun 8, 2011, at 9:56 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> [See summary in patch below.]
> 
> [Hmmm, suddenly allmodconfig is building stuff in staging?  Ah ha!
> Commit fe35a59e16fb ("Staging: remove STAGING_EXCLUDE_BUILD
> option")  Greg, a bit of warning might have been nice :-( ]
> 

Sorry, this is something that Linus asked for and will be going to him
tomorrow with the rest of the staging-linus branch.

greg k-h

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-06-09  4:56 Stephen Rothwell
  2011-06-09  5:17 ` Greg K-H
                   ` (2 more replies)
  0 siblings, 3 replies; 137+ messages in thread
From: Stephen Rothwell @ 2011-06-09  4:56 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Greg KH, Alexey Dobriyan

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

[See summary in patch below.]

[Hmmm, suddenly allmodconfig is building stuff in staging?  Ah ha!
Commit fe35a59e16fb ("Staging: remove STAGING_EXCLUDE_BUILD
option")  Greg, a bit of warning might have been nice :-( ]

I assume that this is fallout from commit a6b7a407865a ("net: remove
interrupt.h inclusion from netdevice.h").

I added the following patch for today:

>From 520e46c255afa851b33e5c4a2bcf2112ecccbb6f Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 9 Jun 2011 14:19:09 +1000
Subject: [PATCH] net/staging: add needed interrupt.h and hardirq.h includes

Made necessary by commit a6b7a407865a ("net: remove
interrupt.h inclusion from netdevice.h").

Fixes these build errors:

drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1212:3: error: implicit declaration of function 'in_interrupt'
drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1390:4: error: implicit declaration of function 'tasklet_schedule'
drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1988:3: error: implicit declaration of function 'tasklet_init'
drivers/staging/brcm80211/brcmfmac/dhd_linux.c:2288:5: error: implicit declaration of function 'tasklet_kill'
drivers/staging/brcm80211/brcmfmac/dhd_linux.c:232:24: error: field 'tasklet' has incomplete type
drivers/staging/brcm80211/brcmfmac/wl_iw.c:3670:2: error: implicit declaration of function 'in_interrupt'
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1349:3: error: implicit declaration of function 'free_irq'
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1352:2: error: implicit declaration of function 'tasklet_kill'
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1538:4: error: implicit declaration of function 'tasklet_schedule'
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:765:2: error: implicit declaration of function 'tasklet_init'
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:817:2: error: implicit declaration of function 'request_irq'
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:817:31: error: 'IRQF_SHARED' undeclared (first use in this function)
drivers/staging/brcm80211/brcmsmac/wl_mac80211.h:65:24: error: field 'tasklet' has incomplete type
drivers/staging/rtl8187se/ieee80211/ieee80211.h:994:24: error: field 'ps_task' has incomplete type
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:1790:3: error: implicit declaration of function 'tasklet_schedule'
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:2590:2: error: implicit declaration of function 'tasklet_init'
drivers/staging/rtl8187se/r8180.h:461:24: error: field 'irq_rx_tasklet' has incomplete type
drivers/staging/rtl8187se/r8180_core.c:2764:2: error: implicit declaration of function 'tasklet_init'
drivers/staging/rtl8187se/r8180_core.c:2954:2: error: implicit declaration of function 'request_irq'
drivers/staging/rtl8187se/r8180_core.c:2954:55: error: 'IRQF_SHARED' undeclared (first use in this function)
drivers/staging/rtl8187se/r8180_core.c:3641:4: error: implicit declaration of function 'free_irq'
drivers/staging/rtl8187se/r8180_core.c:4026:3: error: implicit declaration of function 'tasklet_schedule'
drivers/staging/rtl8192e/ieee80211/ieee80211.h:2000:24: error: field 'ps_task' has incomplete type
drivers/staging/rtl8192e/r8192E.h:909:24: error: field 'irq_rx_tasklet' has incomplete type
drivers/staging/rtl8192e/r8192E.h:910:24: error: field 'irq_tx_tasklet' has incomplete type
drivers/staging/rtl8192e/r8192E.h:911:31: error: field 'irq_prepare_beacon_tasklet' has incomplete type
drivers/staging/rtl8192e/r8192E_core.c:2008:2: error: implicit declaration of function 'tasklet_init'
drivers/staging/rtl8192e/r8192E_core.c:2412:54: error: 'IRQF_SHARED' undeclared (first use in this function)
drivers/staging/rtl8192e/r8192E_core.c:2412:9: error: implicit declaration of function 'request_irq'
drivers/staging/rtl8192e/r8192E_core.c:4640:4: error: implicit declaration of function 'free_irq'
drivers/staging/rtl8192e/r8192E_core.c:620:2: error: implicit declaration of function 'synchronize_irq'
drivers/staging/rtl8192e/r8192E_core.c:913:3: error: implicit declaration of function 'tasklet_schedule'
drivers/staging/rtl8192u/ieee80211/ieee80211.h:1993:24: error: field 'ps_task' has incomplete type

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/staging/brcm80211/brcmfmac/dhd_linux.c     |    2 ++
 drivers/staging/brcm80211/brcmfmac/wl_iw.c         |    1 +
 drivers/staging/brcm80211/brcmsmac/wl_mac80211.c   |    1 +
 drivers/staging/brcm80211/brcmsmac/wl_mac80211.h   |    2 ++
 drivers/staging/rtl8187se/ieee80211/ieee80211.h    |    1 +
 .../rtl8187se/ieee80211/ieee80211_softmac.c        |    1 +
 drivers/staging/rtl8187se/r8180.h                  |    1 +
 drivers/staging/rtl8187se/r8180_core.c             |    1 +
 drivers/staging/rtl8192e/ieee80211/ieee80211.h     |    1 +
 drivers/staging/rtl8192e/r8192E.h                  |    1 +
 drivers/staging/rtl8192e/r8192E_core.c             |    2 ++
 drivers/staging/rtl8192u/ieee80211/ieee80211.h     |    1 +
 12 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
index f356c56..09957bd 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
@@ -31,6 +31,8 @@
 #include <linux/fcntl.h>
 #include <linux/fs.h>
 #include <linux/uaccess.h>
+#include <linux/interrupt.h>
+#include <linux/hardirq.h>
 #include <bcmdefs.h>
 #include <bcmutils.h>
 
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.c b/drivers/staging/brcm80211/brcmfmac/wl_iw.c
index 15e1b05..35eec91 100644
--- a/drivers/staging/brcm80211/brcmfmac/wl_iw.c
+++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.c
@@ -18,6 +18,7 @@
 #include <linux/semaphore.h>
 #include <bcmdefs.h>
 #include <linux/netdevice.h>
+#include <linux/hardirq.h>
 #include <wlioctl.h>
 
 #include <bcmutils.h>
diff --git a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
index 6c6236c..8261229 100644
--- a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
+++ b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
@@ -24,6 +24,7 @@
 #include <linux/pci.h>
 #include <linux/sched.h>
 #include <linux/firmware.h>
+#include <linux/interrupt.h>
 #include <net/mac80211.h>
 
 #include <proto/802.11.h>
diff --git a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.h b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.h
index e703d8b..f7a58b7 100644
--- a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.h
+++ b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.h
@@ -17,6 +17,8 @@
 #ifndef _wl_mac80211_h_
 #define _wl_mac80211_h_
 
+#include <linux/interrupt.h>
+
 /* BMAC Note: High-only driver is no longer working in softirq context as it needs to block and
  * sleep so perimeter lock has to be a semaphore instead of spinlock. This requires timers to be
  * submitted to workqueue instead of being on kernel timer
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211.h b/drivers/staging/rtl8187se/ieee80211/ieee80211.h
index 16aa6a8..4384d93 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211.h
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211.h
@@ -32,6 +32,7 @@
 #include <linux/semaphore.h>
 #include <linux/wireless.h>
 #include <linux/ieee80211.h>
+#include <linux/interrupt.h>
 
 #define KEY_TYPE_NA		0x0
 #define KEY_TYPE_WEP40 		0x1
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
index 736a140..00ee02f 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
@@ -20,6 +20,7 @@
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/version.h>
+#include <linux/interrupt.h>
 #include <asm/uaccess.h>
 
 #include "dot11d.h"
diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h
index d15bdf6..a2c46ae 100644
--- a/drivers/staging/rtl8187se/r8180.h
+++ b/drivers/staging/rtl8187se/r8180.h
@@ -18,6 +18,7 @@
 #ifndef R8180H
 #define R8180H
 
+#include <linux/interrupt.h>
 
 #define RTL8180_MODULE_NAME "r8180"
 #define DMESG(x,a...) printk(KERN_INFO RTL8180_MODULE_NAME ": " x "\n", ## a)
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c
index 2155a77..bae7d85 100644
--- a/drivers/staging/rtl8187se/r8180_core.c
+++ b/drivers/staging/rtl8187se/r8180_core.c
@@ -33,6 +33,7 @@
 #include <linux/slab.h>
 #include <linux/syscalls.h>
 #include <linux/eeprom_93cx6.h>
+#include <linux/interrupt.h>
 
 #include "r8180_hw.h"
 #include "r8180.h"
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211.h b/drivers/staging/rtl8192e/ieee80211/ieee80211.h
index dbe21ab..82bc59a 100644
--- a/drivers/staging/rtl8192e/ieee80211/ieee80211.h
+++ b/drivers/staging/rtl8192e/ieee80211/ieee80211.h
@@ -31,6 +31,7 @@
 #include <linux/timer.h>
 #include <linux/sched.h>
 #include <linux/semaphore.h>
+#include <linux/interrupt.h>
 
 #include <linux/delay.h>
 #include <linux/wireless.h>
diff --git a/drivers/staging/rtl8192e/r8192E.h b/drivers/staging/rtl8192e/r8192E.h
index 0229031..89fe8fc 100644
--- a/drivers/staging/rtl8192e/r8192E.h
+++ b/drivers/staging/rtl8192e/r8192E.h
@@ -36,6 +36,7 @@
 #include <linux/if_arp.h>
 #include <linux/random.h>
 #include <linux/version.h>
+#include <linux/interrupt.h>
 #include <asm/io.h>
 #include "ieee80211/rtl819x_HT.h"
 #include "ieee80211/ieee80211.h"
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c
index 58d800f..19a9a07 100644
--- a/drivers/staging/rtl8192e/r8192E_core.c
+++ b/drivers/staging/rtl8192e/r8192E_core.c
@@ -27,6 +27,8 @@
 
 #include <linux/vmalloc.h>
 #include <linux/slab.h>
+#include <linux/interrupt.h>
+#include <linux/hardirq.h>
 #include <asm/uaccess.h>
 #include "r8192E_hw.h"
 #include "r8192E.h"
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
index e716f7b..2333257 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
@@ -31,6 +31,7 @@
 #include <linux/timer.h>
 #include <linux/sched.h>
 #include <linux/semaphore.h>
+#include <linux/interrupt.h>
 
 #include <linux/delay.h>
 #include <linux/wireless.h>
-- 
1.7.5.3

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-04-26  3:51 Stephen Rothwell
@ 2011-04-26 19:43 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-04-26 19:43 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, hayeswang, romieu

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 26 Apr 2011 13:51:46 +1000

> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/r8169.c: In function 'rtl8168e_1_hw_phy_config':
> drivers/net/r8169.c:2578: error: too many arguments to function 'rtl_apply_firmware'
> drivers/net/r8169.c:2578: error: void value not ignored as it ought to be
> drivers/net/r8169.c: In function 'rtl8168e_2_hw_phy_config':
> drivers/net/r8169.c:2586: error: too many arguments to function 'rtl_apply_firmware'
> drivers/net/r8169.c:2586: error: void value not ignored as it ought to be
> 
> Caused by commit 953a12cc2889 ("r8169: don't request firmware when
> there's no userspace") from the net-current tree interacting with commit
> 01dc7fec4025 ("net/r8169: support RTL8168E").
> 
> I applied the following fixup patch:

Stephen, I just merged net-2.6 into net-next-2.6 and added your patch
to the merge commit to make sure the build is fine.

Thanks a lot!

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-04-26  3:51 Stephen Rothwell
  2011-04-26 19:43 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-04-26  3:51 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, hayeswang, "François Romieu"

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/r8169.c: In function 'rtl8168e_1_hw_phy_config':
drivers/net/r8169.c:2578: error: too many arguments to function 'rtl_apply_firmware'
drivers/net/r8169.c:2578: error: void value not ignored as it ought to be
drivers/net/r8169.c: In function 'rtl8168e_2_hw_phy_config':
drivers/net/r8169.c:2586: error: too many arguments to function 'rtl_apply_firmware'
drivers/net/r8169.c:2586: error: void value not ignored as it ought to be

Caused by commit 953a12cc2889 ("r8169: don't request firmware when
there's no userspace") from the net-current tree interacting with commit
01dc7fec4025 ("net/r8169: support RTL8168E").

I applied the following fixup patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 26 Apr 2011 13:47:51 +1000
Subject: [PATCH] r8169: fix for rtl_apply_firmware API change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/net/r8169.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 3f93fc7..c3e264f 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -190,7 +190,9 @@ static const struct rtl_firmware_info {
 	{ .mac_version = RTL_GIGA_MAC_VER_25, .fw_name = FIRMWARE_8168D_1 },
 	{ .mac_version = RTL_GIGA_MAC_VER_26, .fw_name = FIRMWARE_8168D_2 },
 	{ .mac_version = RTL_GIGA_MAC_VER_29, .fw_name = FIRMWARE_8105E_1 },
-	{ .mac_version = RTL_GIGA_MAC_VER_30, .fw_name = FIRMWARE_8105E_1 }
+	{ .mac_version = RTL_GIGA_MAC_VER_30, .fw_name = FIRMWARE_8105E_1 },
+	{ .mac_version = RTL_GIGA_MAC_VER_31, .fw_name = FIRMWARE_8168E_1 },
+	{ .mac_version = RTL_GIGA_MAC_VER_32, .fw_name = FIRMWARE_8168E_2 }
 };
 
 enum cfg_version {
@@ -2575,16 +2577,14 @@ static void rtl8168e_hw_phy_config(struct rtl8169_private *tp)
 
 static void rtl8168e_1_hw_phy_config(struct rtl8169_private *tp)
 {
-	if (rtl_apply_firmware(tp, FIRMWARE_8168E_1) < 0)
-		netif_warn(tp, probe, tp->dev, "unable to apply firmware patch\n");
+	rtl_apply_firmware(tp);
 
 	rtl8168e_hw_phy_config(tp);
 }
 
 static void rtl8168e_2_hw_phy_config(struct rtl8169_private *tp)
 {
-	if (rtl_apply_firmware(tp, FIRMWARE_8168E_2) < 0)
-		netif_warn(tp, probe, tp->dev, "unable to apply firmware patch\n");
+	rtl_apply_firmware(tp);
 
 	rtl8168e_hw_phy_config(tp);
 }
-- 
1.7.4.4


-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-04-13  2:03 Stephen Rothwell
@ 2011-04-13  2:28 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-04-13  2:28 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, jpirko

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 13 Apr 2011 12:03:23 +1000

> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> drivers/infiniband/ulp/iser/iser_initiator.o: In function `vlan_untag':
> iser_initiator.c:(.opd+0x0): multiple definition of `vlan_untag'
> drivers/infiniband/ulp/iser/iser_verbs.o:iser_verbs.c:(.opd+0x0): first defined here
> drivers/infiniband/ulp/iser/iser_initiator.o: In function `.vlan_untag':
> iser_initiator.c:(.text+0x0): multiple definition of `.vlan_untag'
> drivers/infiniband/ulp/iser/iser_verbs.o:iser_verbs.c:(.text+0x0): first defined here
> 
> and on and on ... (lota and lots :-()

Strange, I wonder why this driver isn't enabled in my allmodconfig builds.
Let's see.

Oh, this driver depends upon INFINIBAND_ADDR_TRANS which will never be
enabled if IPV6=m, because of:

config INFINIBAND_ADDR_TRANS
	bool
	depends on INET
	depends on !(INFINIBAND = y && IPV6 = m)
	default y

come on...

> Probably caused by commit bcc6d4790361 ("net: vlan: make non-hw-accel rx
> path similar to hw-accel") which added a "non-static" inline version of
> vlan_untag() to include/linux/if_vlan.h.

Yeah, this issue is not specific to this driver and actually is just
a missing "static" in the vlan disabled case.

I'll add the following fix, thanks Stephen.

--------------------
net: Missing 'inline' in vlan-disabled vlan_untag()

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 include/linux/if_vlan.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index 998b299..546d9d3 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
@@ -174,7 +174,7 @@ static inline bool vlan_do_receive(struct sk_buff **skb)
 	return false;
 }
 
-inline struct sk_buff *vlan_untag(struct sk_buff *skb)
+static inline struct sk_buff *vlan_untag(struct sk_buff *skb)
 {
 	return skb;
 }
-- 
1.7.4.3


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-04-13  2:03 Stephen Rothwell
  2011-04-13  2:28 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-04-13  2:03 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Jiri Pirko

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/infiniband/ulp/iser/iser_initiator.o: In function `vlan_untag':
iser_initiator.c:(.opd+0x0): multiple definition of `vlan_untag'
drivers/infiniband/ulp/iser/iser_verbs.o:iser_verbs.c:(.opd+0x0): first defined here
drivers/infiniband/ulp/iser/iser_initiator.o: In function `.vlan_untag':
iser_initiator.c:(.text+0x0): multiple definition of `.vlan_untag'
drivers/infiniband/ulp/iser/iser_verbs.o:iser_verbs.c:(.text+0x0): first defined here

and on and on ... (lota and lots :-()

Probably caused by commit bcc6d4790361 ("net: vlan: make non-hw-accel rx
path similar to hw-accel") which added a "non-static" inline version of
vlan_untag() to include/linux/if_vlan.h.

I have used the net tree from next-20110412 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-04-04  1:28 Stephen Rothwell
@ 2011-04-04  2:43 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-04-04  2:43 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, mirq-linux

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 4 Apr 2011 11:28:40 +1000

> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/xen-netfront.c:1151: error: 'xennet_fix_features' undeclared here (not in a function)
> drivers/net/xen-netfront.c:1152: error: 'xennet_set_features' undeclared here (not in a function)
> 
> Caused by commit fb507934fd6f ("net: convert xen-netfront to hw_features").

Just pushed a fix for this to net-next-2.6, sorry about that.


^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-04-04  1:28 Stephen Rothwell
  2011-04-04  2:43 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-04-04  1:28 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, "Michał Mirosław"

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/xen-netfront.c:1151: error: 'xennet_fix_features' undeclared here (not in a function)
drivers/net/xen-netfront.c:1152: error: 'xennet_set_features' undeclared here (not in a function)

Caused by commit fb507934fd6f ("net: convert xen-netfront to hw_features").

I have used the net tree from next-20110401 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-15 10:29                 ` Thomas Gleixner
@ 2011-03-15 22:07                   ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-03-15 22:07 UTC (permalink / raw)
  To: tglx
  Cc: sfr, bhutchings, netdev, linux-next, linux-kernel, mingo, hpa, peterz

From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 15 Mar 2011 11:29:18 +0100 (CET)

> On Tue, 15 Mar 2011, Stephen Rothwell wrote:
> 
>> Hi Dave,
>> 
>> On Mon, 14 Mar 2011 21:07:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>> >
>> > From: Stephen Rothwell <sfr@canb.auug.org.au>
>> > Date: Tue, 15 Mar 2011 11:30:49 +1100
>> > 
>> > > So, if you merge the commit 1fb0ef31f428 ("genirq: Fix affinity notifier
>> > > fallout") from the tip tree, you will get exactly one new commit and will
>> > > fix your tree properly with no adverse effect on anyone else.
>> > 
>> > Thomas, how would you like me to do this?  Do you want to put that
>> > commit on a branch for me to pull from or should I apply it
>> > directly?
>> 
>> That commit is already the head of the irq/numa branch in the tip tree
>> (it is also on the irq/core branch).
>> 
>> Please merge that rather than cherry-picking the commit as that will
>> minimise the possibility of conflicts.  Pulling the irq/numa branch will
>> get you just that one fixup commit (as you have already merged up to the
>> immediately preceding commit).
>> 
>> I assume this makes sense, Thomas?  I just did a merge of the actual
>> fixup commit after merging the net tree.
> 
> Yes. irq/numa should do the trick.

Great, I'll do that now.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-15  6:25               ` Stephen Rothwell
@ 2011-03-15 10:29                 ` Thomas Gleixner
  2011-03-15 22:07                   ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Thomas Gleixner @ 2011-03-15 10:29 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, bhutchings, netdev, linux-next, linux-kernel,
	mingo, hpa, peterz

On Tue, 15 Mar 2011, Stephen Rothwell wrote:

> Hi Dave,
> 
> On Mon, 14 Mar 2011 21:07:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> >
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Tue, 15 Mar 2011 11:30:49 +1100
> > 
> > > So, if you merge the commit 1fb0ef31f428 ("genirq: Fix affinity notifier
> > > fallout") from the tip tree, you will get exactly one new commit and will
> > > fix your tree properly with no adverse effect on anyone else.
> > 
> > Thomas, how would you like me to do this?  Do you want to put that
> > commit on a branch for me to pull from or should I apply it
> > directly?
> 
> That commit is already the head of the irq/numa branch in the tip tree
> (it is also on the irq/core branch).
> 
> Please merge that rather than cherry-picking the commit as that will
> minimise the possibility of conflicts.  Pulling the irq/numa branch will
> get you just that one fixup commit (as you have already merged up to the
> immediately preceding commit).
> 
> I assume this makes sense, Thomas?  I just did a merge of the actual
> fixup commit after merging the net tree.

Yes. irq/numa should do the trick.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-15  4:07             ` David Miller
@ 2011-03-15  6:25               ` Stephen Rothwell
  2011-03-15 10:29                 ` Thomas Gleixner
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-03-15  6:25 UTC (permalink / raw)
  To: David Miller
  Cc: tglx, bhutchings, netdev, linux-next, linux-kernel, mingo, hpa, peterz

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

Hi Dave,

On Mon, 14 Mar 2011 21:07:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Tue, 15 Mar 2011 11:30:49 +1100
> 
> > So, if you merge the commit 1fb0ef31f428 ("genirq: Fix affinity notifier
> > fallout") from the tip tree, you will get exactly one new commit and will
> > fix your tree properly with no adverse effect on anyone else.
> 
> Thomas, how would you like me to do this?  Do you want to put that
> commit on a branch for me to pull from or should I apply it
> directly?

That commit is already the head of the irq/numa branch in the tip tree
(it is also on the irq/core branch).

Please merge that rather than cherry-picking the commit as that will
minimise the possibility of conflicts.  Pulling the irq/numa branch will
get you just that one fixup commit (as you have already merged up to the
immediately preceding commit).

I assume this makes sense, Thomas?  I just did a merge of the actual
fixup commit after merging the net tree.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-15  0:30           ` Stephen Rothwell
@ 2011-03-15  4:07             ` David Miller
  2011-03-15  6:25               ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2011-03-15  4:07 UTC (permalink / raw)
  To: sfr
  Cc: tglx, bhutchings, netdev, linux-next, linux-kernel, mingo, hpa, peterz

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 15 Mar 2011 11:30:49 +1100

> On Mon, 14 Mar 2011 10:56:12 +0100 (CET) Thomas Gleixner <tglx@linutronix.de> wrote:
>> Yeah, powerpc alone compiles with GENERIC_HARDIRQS_NO_DEPRECATED as it
>> does not have that notify commit.
>> 
>> If you add net which has that notify commit, but not the fix it
>> breaks. I wonder whether Dave should pick that fix into net.
> 
> So, if you merge the commit 1fb0ef31f428 ("genirq: Fix affinity notifier
> fallout") from the tip tree, you will get exactly one new commit and will
> fix your tree properly with no adverse effect on anyone else.

Thomas, how would you like me to do this?  Do you want to put that
commit on a branch for me to pull from or should I apply it
directly?

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  9:56         ` Thomas Gleixner
@ 2011-03-15  0:30           ` Stephen Rothwell
  2011-03-15  4:07             ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-03-15  0:30 UTC (permalink / raw)
  To: David Miller
  Cc: Thomas Gleixner, bhutchings, netdev, linux-next, linux-kernel,
	mingo, hpa, peterz

[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]

Hi Dave,

On Mon, 14 Mar 2011 10:56:12 +0100 (CET) Thomas Gleixner <tglx@linutronix.de> wrote:
>
> On Mon, 14 Mar 2011, Stephen Rothwell wrote:
> 
> > On Sun, 13 Mar 2011 22:53:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> > >
> > > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > > Date: Mon, 14 Mar 2011 16:31:35 +1100
> > > 
> > > > Maybe some config option changed ...
> > > 
> > > Perhaps GENERIC_HARDIRQS_NO_DEPRECATED?
> > 
> > Yep, that has been turned on for powerpc now.  I guess you will have the
> > same problem on sparc64 of you merge the net-next and sparc trees ...
> 
> Yeah, powerpc alone compiles with GENERIC_HARDIRQS_NO_DEPRECATED as it
> does not have that notify commit.
> 
> If you add net which has that notify commit, but not the fix it
> breaks. I wonder whether Dave should pick that fix into net.

So, if you merge the commit 1fb0ef31f428 ("genirq: Fix affinity notifier
fallout") from the tip tree, you will get exactly one new commit and will
fix your tree properly with no adverse effect on anyone else.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  6:05       ` Stephen Rothwell
  2011-03-14  6:18         ` David Miller
  2011-03-14  9:44         ` Thomas Gleixner
@ 2011-03-14  9:56         ` Thomas Gleixner
  2011-03-15  0:30           ` Stephen Rothwell
  2 siblings, 1 reply; 137+ messages in thread
From: Thomas Gleixner @ 2011-03-14  9:56 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, bhutchings, netdev, linux-next, linux-kernel,
	mingo, hpa, peterz

On Mon, 14 Mar 2011, Stephen Rothwell wrote:

> Hi Dave,
> 
> On Sun, 13 Mar 2011 22:53:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> >
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Mon, 14 Mar 2011 16:31:35 +1100
> > 
> > > Maybe some config option changed ...
> > 
> > Perhaps GENERIC_HARDIRQS_NO_DEPRECATED?
> 
> Yep, that has been turned on for powerpc now.  I guess you will have the
> same problem on sparc64 of you merge the net-next and sparc trees ...

Yeah, powerpc alone compiles with GENERIC_HARDIRQS_NO_DEPRECATED as it
does not have that notify commit.

If you add net which has that notify commit, but not the fix it
breaks. I wonder whether Dave should pick that fix into net.

Thanks,

	tglx


^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  6:05       ` Stephen Rothwell
  2011-03-14  6:18         ` David Miller
@ 2011-03-14  9:44         ` Thomas Gleixner
  2011-03-14  9:56         ` Thomas Gleixner
  2 siblings, 0 replies; 137+ messages in thread
From: Thomas Gleixner @ 2011-03-14  9:44 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, bhutchings, netdev, linux-next, linux-kernel,
	mingo, hpa, peterz

On Mon, 14 Mar 2011, Stephen Rothwell wrote:
> Hi Dave,
> 
> On Sun, 13 Mar 2011 22:53:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> >
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Mon, 14 Mar 2011 16:31:35 +1100
> > 
> > > Maybe some config option changed ...
> > 
> > Perhaps GENERIC_HARDIRQS_NO_DEPRECATED?
> 
> Yep, that has been turned on for powerpc now.  I guess you will have the
> same problem on sparc64 of you merge the net-next and sparc trees ...

Hmm, the tip/irq/core has the fix for that. /me wonders

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  6:05       ` Stephen Rothwell
@ 2011-03-14  6:18         ` David Miller
  2011-03-14  9:44         ` Thomas Gleixner
  2011-03-14  9:56         ` Thomas Gleixner
  2 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-03-14  6:18 UTC (permalink / raw)
  To: sfr
  Cc: bhutchings, netdev, linux-next, linux-kernel, tglx, mingo, hpa, peterz

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 14 Mar 2011 17:05:46 +1100

> On Sun, 13 Mar 2011 22:53:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>>
>> From: Stephen Rothwell <sfr@canb.auug.org.au>
>> Date: Mon, 14 Mar 2011 16:31:35 +1100
>> 
>> > Maybe some config option changed ...
>> 
>> Perhaps GENERIC_HARDIRQS_NO_DEPRECATED?
> 
> Yep, that has been turned on for powerpc now.  I guess you will have the
> same problem on sparc64 of you merge the net-next and sparc trees ...

I've done this as recently as last night, and for some reason I have no
build problems.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  5:53     ` David Miller
@ 2011-03-14  6:05       ` Stephen Rothwell
  2011-03-14  6:18         ` David Miller
                           ` (2 more replies)
  0 siblings, 3 replies; 137+ messages in thread
From: Stephen Rothwell @ 2011-03-14  6:05 UTC (permalink / raw)
  To: David Miller
  Cc: bhutchings, netdev, linux-next, linux-kernel, tglx, mingo, hpa, peterz

[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

Hi Dave,

On Sun, 13 Mar 2011 22:53:12 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 14 Mar 2011 16:31:35 +1100
> 
> > Maybe some config option changed ...
> 
> Perhaps GENERIC_HARDIRQS_NO_DEPRECATED?

Yep, that has been turned on for powerpc now.  I guess you will have the
same problem on sparc64 of you merge the net-next and sparc trees ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  5:31   ` Stephen Rothwell
@ 2011-03-14  5:53     ` David Miller
  2011-03-14  6:05       ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2011-03-14  5:53 UTC (permalink / raw)
  To: sfr
  Cc: bhutchings, netdev, linux-next, linux-kernel, tglx, mingo, hpa, peterz

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 14 Mar 2011 16:31:35 +1100

> Maybe some config option changed ...

Perhaps GENERIC_HARDIRQS_NO_DEPRECATED?

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  4:59 ` Ben Hutchings
@ 2011-03-14  5:31   ` Stephen Rothwell
  2011-03-14  5:53     ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-03-14  5:31 UTC (permalink / raw)
  To: Ben Hutchings
  Cc: David Miller, netdev, linux-next, linux-kernel, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Peter Zijlstra

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

Hi Ben,

On Mon, 14 Mar 2011 04:59:38 +0000 Ben Hutchings <bhutchings@solarflare.com> wrote:
>
> Commit cd7eab44e994 ("genirq: Add IRQ affinity notifiers") was a
> prerequisite for some changes in networking.  Thomas Gleixner applied it
> on a branch of its own so that David Miller could pull just that commit
> into net-next-2.6.  Of course, this means net-next-2.6 doesn't have the
> later fix (and won't for a while).

Yeah, but Dave merged that into the net-next-2.6 tree some time ago
(late January) and it hasn't caused a problem in my builds until now.
Maybe some config option changed ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-14  4:24 Stephen Rothwell
@ 2011-03-14  4:59 ` Ben Hutchings
  2011-03-14  5:31   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: Ben Hutchings @ 2011-03-14  4:59 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: David Miller, netdev, linux-next, linux-kernel, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Peter Zijlstra

On Mon, 2011-03-14 at 15:24 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> kernel/irq/manage.c: In function 'irq_affinity_notify':
> kernel/irq/manage.c:182: error: 'struct irq_desc' has no member named 'affinity'
> 
> Caused by commit cd7eab44e994 ("genirq: Add IRQ affinity notifiers")
> (which is also in the tip tree).  I am guessing that there is a fix for
> this also in the tip tree ... yep commit 1fb0ef31f428 ("genirq: Fix
> affinity notifier fallout").
> 
> I tried using the net tree from next-20110311 for today but that had the
> same problem.  So I merged the above fix commit from the tip tree.
> 
> I have no idea why this has suddenly become a problem in the net tree.

Commit cd7eab44e994 ("genirq: Add IRQ affinity notifiers") was a
prerequisite for some changes in networking.  Thomas Gleixner applied it
on a branch of its own so that David Miller could pull just that commit
into net-next-2.6.  Of course, this means net-next-2.6 doesn't have the
later fix (and won't for a while).

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-03-14  4:24 Stephen Rothwell
  2011-03-14  4:59 ` Ben Hutchings
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-03-14  4:24 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Ben Hutchings, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Peter Zijlstra

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

kernel/irq/manage.c: In function 'irq_affinity_notify':
kernel/irq/manage.c:182: error: 'struct irq_desc' has no member named 'affinity'

Caused by commit cd7eab44e994 ("genirq: Add IRQ affinity notifiers")
(which is also in the tip tree).  I am guessing that there is a fix for
this also in the tip tree ... yep commit 1fb0ef31f428 ("genirq: Fix
affinity notifier fallout").

I tried using the net tree from next-20110311 for today but that had the
same problem.  So I merged the above fix commit from the tip tree.

I have no idea why this has suddenly become a problem in the net tree.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-03-09  2:42 Stephen Rothwell
@ 2011-03-09  6:45 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-03-09  6:45 UTC (permalink / raw)
  To: sfr
  Cc: netdev, linux-next, linux-kernel, emil.s.tantilov, stephen.s.ko,
	jeffrey.t.kirsher

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 9 Mar 2011 13:42:34 +1100

> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/ixgbe/ixgbe_mbx.c: In function 'ixgbe_init_mbx_params_pf':
> drivers/net/ixgbe/ixgbe_mbx.c:456: error: 'struct ixgbe_mbx_info' has no member named 'udelay'
> 
> Caused by commit d7c8a29fc8bd20ba45ec2f52577ed04a988a9500 ("ixgbe:
> improve logic in ixgbe_init_mbx_params_pf").
> 
> I am wondering if that was ever built ...
> 
> I have used the net tree from next-20110308 for today.

Probably two minutes after you pulled this a fix went in:

commit 5217e8794619ac0a29151f29be20c7d6188303ba
Author: Andy Gospodarek <andy@greyhouse.net>
Date:   Tue Mar 8 14:26:00 2011 -0800

    ixgbe: fix compile failure in ixgbe_init_mbx_params_pf
    
    This commit:
    
        commit d7c8a29fc8bd20ba45ec2f52577ed04a988a9500
        Author: Emil Tantilov <emil.s.tantilov@intel.com>
        Date:   Thu Mar 3 09:25:02 2011 +0000
    
            ixgbe: improve logic in ixgbe_init_mbx_params_pf
    
    incorrectly added a line that accessed mbx->udelay.  I'm sure the intent
    was mbx->usec_delay.  This patch fixes the compilation error.
    
    Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/drivers/net/ixgbe/ixgbe_mbx.c b/drivers/net/ixgbe/ixgbe_mbx.c
index 3cf8aec..c7ed82e 100644
--- a/drivers/net/ixgbe/ixgbe_mbx.c
+++ b/drivers/net/ixgbe/ixgbe_mbx.c
@@ -453,7 +453,7 @@ void ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw)
 		return;
 
 	mbx->timeout = 0;
-	mbx->udelay = 0;
+	mbx->usec_delay = 0;
 
 	mbx->stats.msgs_tx = 0;
 	mbx->stats.msgs_rx = 0;

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-03-09  2:42 Stephen Rothwell
  2011-03-09  6:45 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-03-09  2:42 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Emil Tantilov, Stephen Ko, Jeff Kirsher

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/ixgbe/ixgbe_mbx.c: In function 'ixgbe_init_mbx_params_pf':
drivers/net/ixgbe/ixgbe_mbx.c:456: error: 'struct ixgbe_mbx_info' has no member named 'udelay'

Caused by commit d7c8a29fc8bd20ba45ec2f52577ed04a988a9500 ("ixgbe:
improve logic in ixgbe_init_mbx_params_pf").

I am wondering if that was ever built ...

I have used the net tree from next-20110308 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2011-01-21  1:05 Stephen Rothwell
@ 2011-01-21  1:10 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2011-01-21  1:10 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, pablo, kaber

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 21 Jan 2011 12:05:53 +1100

> Hi all,
> 
> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> ERROR: ".nf_conntrack_tstamp_fini" [net/netfilter/nf_conntrack.ko] undefined!
> ERROR: ".nf_conntrack_tstamp_init" [net/netfilter/nf_conntrack.ko] undefined!
> 
> Presumably caused by commit a992ca2a0498edd22a88ac8c41570f536de29c9e
> ("netfilter: nf_conntrack_tstamp: add flow-based timestamp extension").
> 
> I have used the net tree from next-20110120 for today.

I just pushed a fix into net-next-2.6 to cure this a few minutes ago.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2011-01-21  1:05 Stephen Rothwell
  2011-01-21  1:10 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2011-01-21  1:05 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Pablo Neira Ayuso, Patrick McHardy

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: ".nf_conntrack_tstamp_fini" [net/netfilter/nf_conntrack.ko] undefined!
ERROR: ".nf_conntrack_tstamp_init" [net/netfilter/nf_conntrack.ko] undefined!

Presumably caused by commit a992ca2a0498edd22a88ac8c41570f536de29c9e
("netfilter: nf_conntrack_tstamp: add flow-based timestamp extension").

I have used the net tree from next-20110120 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-12-09  2:39 ` David Miller
@ 2010-12-09  3:02   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-12-09  3:02 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, socketcan

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

Hi Dave,

On Wed, 08 Dec 2010 18:39:42 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 9 Dec 2010 13:28:36 +1100
> 
> > After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> > 
> > drivers/net/can/slcan.c: In function 'slcan_open':
> > drivers/net/can/slcan.c:568: error: dereferencing pointer to incomplete type
> 
> That's amazing that with all the header files this driver includes,
> powerpc somehow doesn't get the task_struct definition :-)

It was an x86_64 allmodconfig build ... but yeah (I assume you still test
build on Sparc ;-)).

> I'll add the obvious linux/sched.h include to fix this, thanks!

Thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-12-09  2:28 Stephen Rothwell
@ 2010-12-09  2:39 ` David Miller
  2010-12-09  3:02   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-12-09  2:39 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, socketcan

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 9 Dec 2010 13:28:36 +1100

> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/can/slcan.c: In function 'slcan_open':
> drivers/net/can/slcan.c:568: error: dereferencing pointer to incomplete type

That's amazing that with all the header files this driver includes,
powerpc somehow doesn't get the task_struct definition :-)

I'll add the obvious linux/sched.h include to fix this, thanks!

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-12-09  2:28 Stephen Rothwell
  2010-12-09  2:39 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-12-09  2:28 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Oliver Hartkopp

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/can/slcan.c: In function 'slcan_open':
drivers/net/can/slcan.c:568: error: dereferencing pointer to incomplete type

Caused by commit a1044e36e457fb6dbdf90ce756d578b251d99b5e ("can: add
slcan driver for serial/USB-serial CAN adapters").

I have used the net tree from next-20101208 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-12-07  4:57   ` Joe Perches
@ 2010-12-07 18:34     ` Breno Leitao
  0 siblings, 0 replies; 137+ messages in thread
From: Breno Leitao @ 2010-12-07 18:34 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Miller, sfr, netdev, linux-next, linux-kernel

On 12/07/2010 02:57 AM, Joe Perches wrote:
> I'll get this sorted out after the merges are done.
> Bruno?  I hope you don't mind testing again later.
It's ok for me.

Thanks

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-12-07  4:46 ` David Miller
@ 2010-12-07  4:57   ` Joe Perches
  2010-12-07 18:34     ` Breno Leitao
  0 siblings, 1 reply; 137+ messages in thread
From: Joe Perches @ 2010-12-07  4:57 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, netdev, linux-next, linux-kernel, leitao

On Mon, 2010-12-06 at 20:46 -0800, David Miller wrote:
> I'm reverting Joe's change from net-next-2.6 to handle this, Joe can
> resubmit after I next do a net-2.6 --> net-next-2.6 merge

I'll get this sorted out after the merges are done.
Bruno?  I hope you don't mind testing again later.



^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-12-07  1:00 Stephen Rothwell
@ 2010-12-07  4:46 ` David Miller
  2010-12-07  4:57   ` Joe Perches
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-12-07  4:46 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, joe, leitao

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 7 Dec 2010 12:00:39 +1100

> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> drivers/net/ehea/ehea_main.c: In function 'ehea_refill_rq1':
> drivers/net/ehea/ehea_main.c:405: error: implicit declaration of function 'ehea_info'
> drivers/net/ehea/ehea_main.c: In function 'ehea_init_fill_rq1':
> drivers/net/ehea/ehea_main.c:429: error: implicit declaration of function 'ehea_error'
> drivers/net/ehea/ehea_main.c: In function 'ehea_neq_tasklet':
> drivers/net/ehea/ehea_main.c:1306: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'u64'
> 
> Caused by commit 539995d18649023199986424d140f1d620372ce5 ("ehea: Use the
> standard logging functions") interacting with commit
> 5c7e57f7cddb83d81d83fefa5822dfe80891130e ("ehea: Add some info messages
> and fix an issue") which went into Linus' tree before 2.6.37-rc4.
> 
> Presumably a merge of net-current into the net tree will need a fixup patch.
> 
> I have used the net tree from next-20101206 for today.

I'm reverting Joe's change from net-next-2.6 to handle this, Joe can
resubmit after I next do a net-2.6 --> net-next-2.6 merge


^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-12-07  1:00 Stephen Rothwell
  2010-12-07  4:46 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-12-07  1:00 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Joe Perches, Breno Leitao

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/net/ehea/ehea_main.c: In function 'ehea_refill_rq1':
drivers/net/ehea/ehea_main.c:405: error: implicit declaration of function 'ehea_info'
drivers/net/ehea/ehea_main.c: In function 'ehea_init_fill_rq1':
drivers/net/ehea/ehea_main.c:429: error: implicit declaration of function 'ehea_error'
drivers/net/ehea/ehea_main.c: In function 'ehea_neq_tasklet':
drivers/net/ehea/ehea_main.c:1306: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'u64'

Caused by commit 539995d18649023199986424d140f1d620372ce5 ("ehea: Use the
standard logging functions") interacting with commit
5c7e57f7cddb83d81d83fefa5822dfe80891130e ("ehea: Add some info messages
and fix an issue") which went into Linus' tree before 2.6.37-rc4.

Presumably a merge of net-current into the net tree will need a fixup patch.

I have used the net tree from next-20101206 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-11-29  2:11 ` David Miller
@ 2010-11-29  7:25   ` Peppe CAVALLARO
  0 siblings, 0 replies; 137+ messages in thread
From: Peppe CAVALLARO @ 2010-11-29  7:25 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, netdev, linux-next, linux-kernel

On 11/29/2010 3:11 AM, David Miller wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 29 Nov 2010 11:08:24 +1100
>
> > Hi all,
> >
> > After merging the net tree, today's linux-next build (x86_64
> allmodconfig)
> > failed like this:
> >
> > drivers/net/stmmac/stmmac_main.c: In function 'stmmac_resume':
> > drivers/net/stmmac/stmmac_main.c:1849: error: 'struct stmmac_priv'
> has no member named 'shutdown'
> >
> > Caused by commit 874bd42d24c2a74f5dbd65e81e175982240fecd8 ("stmmac:
> > convert to dev_pm_ops").
> >
>

Yes, this was my fault.

> > I have used the net tree from next-20101126 for today.
>
> I have pushed the following fix which should cure this:
>
> --------------------
> stmmac: fix stmmac_resume removing not yet used shutdown flag
>

The patch, David already applied, fixes this problem.

Peppe

> The commit to convert to use the dev_pm_ops struct
> introduces a bug. The shutdown flag is not yet used
> because the hibernation on memory is done by using
> the freeze callback.
> Thanks to Vlad for having reported it.
>
> Reported-by: Vlad Lungu <vlad.lungu@windriver.com>
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> ---
>  drivers/net/stmmac/stmmac_main.c |    7 -------
>  1 files changed, 0 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/net/stmmac/stmmac_main.c
> b/drivers/net/stmmac/stmmac_main.c
> index f1dbc18..730a6fd 100644
> --- a/drivers/net/stmmac/stmmac_main.c
> +++ b/drivers/net/stmmac/stmmac_main.c
> @@ -1846,13 +1846,6 @@ static int stmmac_resume(struct device *dev)
>         if (!netif_running(ndev))
>                 return 0;
>
> -       if (priv->shutdown) {
> -               /* Re-open the interface and re-init the MAC/DMA
> -                  and the rings (i.e. on hibernation stage) */
> -               stmmac_open(dev);
> -               return 0;
> -       }
> -
>         spin_lock(&priv->lock);
>
>         /* Power Down bit, into the PM register, is cleared
> --
> 1.7.3.2
>

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-11-29  0:08 Stephen Rothwell
@ 2010-11-29  2:11 ` David Miller
  2010-11-29  7:25   ` Peppe CAVALLARO
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-11-29  2:11 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, peppe.cavallaro

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 29 Nov 2010 11:08:24 +1100

> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/stmmac/stmmac_main.c: In function 'stmmac_resume':
> drivers/net/stmmac/stmmac_main.c:1849: error: 'struct stmmac_priv' has no member named 'shutdown'
> 
> Caused by commit 874bd42d24c2a74f5dbd65e81e175982240fecd8 ("stmmac:
> convert to dev_pm_ops").
> 
> I have used the net tree from next-20101126 for today.

I have pushed the following fix which should cure this:

--------------------
stmmac: fix stmmac_resume removing not yet used shutdown flag

The commit to convert to use the dev_pm_ops struct
introduces a bug. The shutdown flag is not yet used
because the hibernation on memory is done by using
the freeze callback.
Thanks to Vlad for having reported it.

Reported-by: Vlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/stmmac/stmmac_main.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index f1dbc18..730a6fd 100644
--- a/drivers/net/stmmac/stmmac_main.c
+++ b/drivers/net/stmmac/stmmac_main.c
@@ -1846,13 +1846,6 @@ static int stmmac_resume(struct device *dev)
 	if (!netif_running(ndev))
 		return 0;
 
-	if (priv->shutdown) {
-		/* Re-open the interface and re-init the MAC/DMA
-		   and the rings (i.e. on hibernation stage) */
-		stmmac_open(dev);
-		return 0;
-	}
-
 	spin_lock(&priv->lock);
 
 	/* Power Down bit, into the PM register, is cleared
-- 
1.7.3.2


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-11-29  0:08 Stephen Rothwell
  2010-11-29  2:11 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-11-29  0:08 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Giuseppe CAVALLARO

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/stmmac/stmmac_main.c: In function 'stmmac_resume':
drivers/net/stmmac/stmmac_main.c:1849: error: 'struct stmmac_priv' has no member named 'shutdown'

Caused by commit 874bd42d24c2a74f5dbd65e81e175982240fecd8 ("stmmac:
convert to dev_pm_ops").

I have used the net tree from next-20101126 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-11-16  0:34 Stephen Rothwell
@ 2010-11-16  4:15 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2010-11-16  4:15 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, jesse

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 16 Nov 2010 11:34:37 +1100

> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> ERROR: "netif_get_vlan_features" [drivers/net/xen-netfront.ko] undefined!
> 
> Caused by commit 58e998c6d23988490162cef0784b19ea274d90bb ("offloading:
> Force software GSO for multiple vlan tags").
> 
> Presumably netif_get_vlan_features needs exporting.

Thanks Stephen, I've just pushed the following fix.

--------------------
net: Export netif_get_vlan_features().

ERROR: "netif_get_vlan_features" [drivers/net/xen-netfront.ko] undefined!

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/core/dev.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 8725d16..381b8e2 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1983,6 +1983,7 @@ int netif_get_vlan_features(struct sk_buff *skb, struct net_device *dev)
 	else
 		return 0;
 }
+EXPORT_SYMBOL(netif_get_vlan_features);
 
 /*
  * Returns true if either:
-- 
1.7.3.2


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-11-16  0:34 Stephen Rothwell
  2010-11-16  4:15 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-11-16  0:34 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Jesse Gross

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "netif_get_vlan_features" [drivers/net/xen-netfront.ko] undefined!

Caused by commit 58e998c6d23988490162cef0784b19ea274d90bb ("offloading:
Force software GSO for multiple vlan tags").

Presumably netif_get_vlan_features needs exporting.

I have used the net tree from next-20101115 for today (with
1d7138de878d1d4210727c1200193e69596f93b3 reverted).
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-10-15  0:38 Stephen Rothwell
  2010-10-14 22:07 ` Jeff Kirsher
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-10-15  0:38 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Emil Tantilov, Jeff Kirsher

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/ixgbe/ixgbe_main.c: In function 'ixgbe_configure_dcb':
drivers/net/ixgbe/ixgbe_main.c:3377: error: implicit declaration of function 'ixgbe_dcb_check_config'

Caused by commit f32f837b75233588cd4f8542214a30915ab7847b ("ixgbe: remove
unused functions").

Grep is your friend :-)

I have used the net tree from next-20101014 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-10-15  0:38 Stephen Rothwell
@ 2010-10-14 22:07 ` Jeff Kirsher
  0 siblings, 0 replies; 137+ messages in thread
From: Jeff Kirsher @ 2010-10-14 22:07 UTC (permalink / raw)
  To: Stephen Rothwell, Harvey Harrison
  Cc: David Miller, netdev, linux-next, linux-kernel, Tantilov, Emil S

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

On Thu, 2010-10-14 at 17:38 -0700, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/ixgbe/ixgbe_main.c: In function 'ixgbe_configure_dcb':
> drivers/net/ixgbe/ixgbe_main.c:3377: error: implicit declaration of function 'ixgbe_dcb_check_config'
> 
> Caused by commit f32f837b75233588cd4f8542214a30915ab7847b ("ixgbe: remove
> unused functions").
> 
> Grep is your friend :-)
> 
> I have used the net tree from next-20101014 for today.

I apologize, this is my fault.  I have a patch coming to resolved the
issue.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-08-27  1:14 Stephen Rothwell
@ 2010-08-27  3:32 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2010-08-27  3:32 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, peppe.cavallaro

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 27 Aug 2010 11:14:00 +1000

> After merging the nert tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/net/stmmac/stmmac_timer.c: In function 'stmmac_open_ext_timer':
> drivers/net/stmmac/stmmac_timer.c:60: error: 'CONFIG_RTC_HCTOSYS_DEVICE' undeclared (first use in this function)
> 
> Maybe exposed by commit ac75791aa943c7953521cb4fa7728bf51f9abd2d ("stmmac:
> remove dead option in the driver's Kconfig") since presumably we used to
> not build this driver.

Strange, it built on sparc64 for whatever reason :-)

I've just pushed the following fix to net-next-2.6, thanks.

--------------------
stmmac: Make time functionality depend upon RTC_HCTOSYS_DEVICE

Based upon a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/stmmac/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/stmmac/Kconfig b/drivers/net/stmmac/Kconfig
index 6439680..3c2af7c 100644
--- a/drivers/net/stmmac/Kconfig
+++ b/drivers/net/stmmac/Kconfig
@@ -32,6 +32,7 @@ config STMMAC_DUAL_MAC
 config STMMAC_TIMER
 	bool "STMMAC Timer optimisation"
 	default n
+	depends on RTC_HCTOSYS_DEVICE
 	help
 	  Use an external timer for mitigating the number of network
 	  interrupts. Currently, for SH architectures, it is possible
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-08-27  1:14 Stephen Rothwell
  2010-08-27  3:32 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-08-27  1:14 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Giuseppe CAVALLARO

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Hi all,

After merging the nert tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/net/stmmac/stmmac_timer.c: In function 'stmmac_open_ext_timer':
drivers/net/stmmac/stmmac_timer.c:60: error: 'CONFIG_RTC_HCTOSYS_DEVICE' undeclared (first use in this function)

Maybe exposed by commit ac75791aa943c7953521cb4fa7728bf51f9abd2d ("stmmac:
remove dead option in the driver's Kconfig") since presumably we used to
not build this driver.

I have used the net tree from next-20100826 (with the 2 reverts) for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-06-15  2:13 ` David Miller
@ 2010-06-15  3:42   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-06-15  3:42 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, linux-next, linux-kernel, andy, emil.s.tantilov,
	jeffrey.t.kirsher

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

Hi Dave,

On Mon, 14 Jun 2010 19:13:56 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> I'll incorporate your merge and build fixups when I merge net-2.6 into
> net-next-2.6 later tonight, thanks Stephen!

Great, thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-06-15  2:00 Stephen Rothwell
@ 2010-06-15  2:13 ` David Miller
  2010-06-15  3:42   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-06-15  2:13 UTC (permalink / raw)
  To: sfr
  Cc: netdev, linux-next, linux-kernel, andy, emil.s.tantilov,
	jeffrey.t.kirsher

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 15 Jun 2010 12:00:52 +1000

> Hi Dave,
> 
> After merging the wireless tree, today's linux-next build (powerpc ppc64_defconfig)
> failed like this:
> 
> drivers/net/ixgbe/ixgbe_ethtool.c: In function 'ixgbe_set_flags':
> drivers/net/ixgbe/ixgbe_ethtool.c:2232: error: implicit declaration of function 'DPRINTK'
> drivers/net/ixgbe/ixgbe_ethtool.c:2232: error: 'PROBE' undeclared (first use in this function)
> drivers/net/ixgbe/ixgbe_ethtool.c:2232: error: 'INFO' undeclared (first use in this function)
> 
> Commit 28c8e4790ca5ef75f54895ca46437f9fbb433ddf ("ixgbe: fix automatic
> LRO/RSC settings for low latency") from the net-current tree added
> another use of DPRINTK which needs comverting to e_info().  I applied the
> following patch:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Tue, 15 Jun 2010 11:43:33 +1000
> Subject: [PATCH] net: ixgbe_ethtool merge fix up
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

I'll incorporate your merge and build fixups when I merge net-2.6 into
net-next-2.6 later tonight, thanks Stephen!

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-06-15  2:00 Stephen Rothwell
  2010-06-15  2:13 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-06-15  2:00 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Andy Gospodarek, Emil Tantilov, Jeff Kirsher

Hi Dave,

After merging the wireless tree, today's linux-next build (powerpc ppc64_defconfig)
failed like this:

drivers/net/ixgbe/ixgbe_ethtool.c: In function 'ixgbe_set_flags':
drivers/net/ixgbe/ixgbe_ethtool.c:2232: error: implicit declaration of function 'DPRINTK'
drivers/net/ixgbe/ixgbe_ethtool.c:2232: error: 'PROBE' undeclared (first use in this function)
drivers/net/ixgbe/ixgbe_ethtool.c:2232: error: 'INFO' undeclared (first use in this function)

Commit 28c8e4790ca5ef75f54895ca46437f9fbb433ddf ("ixgbe: fix automatic
LRO/RSC settings for low latency") from the net-current tree added
another use of DPRINTK which needs comverting to e_info().  I applied the
following patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 15 Jun 2010 11:43:33 +1000
Subject: [PATCH] net: ixgbe_ethtool merge fix up

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/net/ixgbe/ixgbe_ethtool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c
index 65fe1f5..093461b 100644
--- a/drivers/net/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ixgbe/ixgbe_ethtool.c
@@ -2229,7 +2229,7 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data)
 		} else if (!adapter->rx_itr_setting) {
 			netdev->features &= ~ETH_FLAG_LRO;
 			if (data & ETH_FLAG_LRO)
-				DPRINTK(PROBE, INFO, "rx-usecs set to 0, "
+				e_info("rx-usecs set to 0, "
 					"LRO/RSC cannot be enabled.\n");
 		}
 	}
-- 
1.7.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-05-12  6:13 ` David Miller
@ 2010-05-12  6:51   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-05-12  6:51 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, linux-kernel, kaber, andreas.meissner

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

Hi Dave,

On Tue, 11 May 2010 23:13:39 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> Tricky merge :-)

Yeah, I got it right the second time :-)

> I'll clear all of these issues up for you tonight Stephen, thanks!

Thanks.

> There should have been a merge conflict in
> Documentation/feature-removal-schedule.txt due to some recent
> netfilter commits too, I'll take care of that too of course :)

Yeah, but I have stopped reporting those when they are just clashes
between people adding new entries at the end.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-05-12  2:56 Stephen Rothwell
@ 2010-05-12  6:13 ` David Miller
  2010-05-12  6:51   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-05-12  6:13 UTC (permalink / raw)
  To: sfr; +Cc: linux-next, linux-kernel, kaber, andreas.meissner

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 12 May 2010 12:56:53 +1000

> After merging the net tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> net/ipv4/ipmr.c: In function 'ipmr_cache_unresolved':
> net/ipv4/ipmr.c:1001: error: 'net' undeclared (first use in this function)
> 
> Caused by commit 0c12295a741d3186987f96f518cfbdaf01abb087 ("ipv4: ipmr:
> move mroute data into seperate structure") from the net tree interacting
> with commit bbd725435ddb1cac732f7a8c23c21ff67f24c60f ("IPv4: unresolved
> multicast route cleanup") from Linus' tree.

Tricky merge :-)

I'll clear all of these issues up for you tonight Stephen, thanks!

There should have been a merge conflict in
Documentation/feature-removal-schedule.txt due to some recent
netfilter commits too, I'll take care of that too of course :)

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-05-12  2:56 Stephen Rothwell
  2010-05-12  6:13 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-05-12  2:56 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, linux-kernel, Patrick McHardy, Andreas Meissner

Hi Dave,

After merging the net tree, today's linux-next build (x86_64
allmodconfig) failed like this:

net/ipv4/ipmr.c: In function 'ipmr_cache_unresolved':
net/ipv4/ipmr.c:1001: error: 'net' undeclared (first use in this function)

Caused by commit 0c12295a741d3186987f96f518cfbdaf01abb087 ("ipv4: ipmr:
move mroute data into seperate structure") from the net tree interacting
with commit bbd725435ddb1cac732f7a8c23c21ff67f24c60f ("IPv4: unresolved
multicast route cleanup") from Linus' tree.

I applied this fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 12 May 2010 12:51:02 +1000
Subject: [PATCH] net: merge fix for ipmr.c

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 net/ipv4/ipmr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index db1e77a..7a7ee1c 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -998,7 +998,7 @@ ipmr_cache_unresolved(struct mr_table *mrt, vifi_t vifi, struct sk_buff *skb)
 		atomic_inc(&mrt->cache_resolve_queue_len);
 		list_add(&c->list, &mrt->mfc_unres_queue);
 
-		if (atomic_read(&net->ipv4.cache_resolve_queue_len) == 1)
+		if (atomic_read(&mrt->cache_resolve_queue_len) == 1)
 			mod_timer(&mrt->ipmr_expire_timer, c->mfc_un.unres.expires);
 	}
 
-- 
1.7.1


-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-05-03  2:37 ` David Miller
@ 2010-05-03  4:44   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-05-03  4:44 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, eric.dumazet, yjwei

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

Hi Dave,

On Sun, 02 May 2010 19:37:56 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> Thanks Stephen, I'll do a merge of net-2.6 into net-next-2.6 and fix
> the build for you.

Thanks, that will help.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-05-03  2:08 Stephen Rothwell
@ 2010-05-03  2:37 ` David Miller
  2010-05-03  4:44   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-05-03  2:37 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, eric.dumazet, yjwei

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 3 May 2010 12:08:47 +1000

> After merging the net tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> net/sctp/socket.c: In function 'sctp_data_ready':
> net/sctp/socket.c:6191: error: implicit declaration of function 'sk_has_sleeper'
> net/sctp/socket.c:6192: error: 'struct sock' has no member named 'sk_sleep'
> 
> Caused by commit 43815482370c510c569fd18edb57afcb0fa8cab6 ("net:
> sock_def_readable() and friends RCU conversion") interacting with commit
> 561b1733a465cf9677356b40c27653dd45f1ac56 ("sctp: avoid irq lock inversion
> while call sk->sk_data_ready()") which entered Linus' tree on April 29.
> 
> I have used the net tree from next-20100430 for today.

Thanks Stephen, I'll do a merge of net-2.6 into net-next-2.6 and fix
the build for you.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-05-03  2:08 Stephen Rothwell
  2010-05-03  2:37 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-05-03  2:08 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Eric Dumazet, Wei Yongjun

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

Hi Dave,

After merging the net tree, today's linux-next build (x86_64
allmodconfig) failed like this:

net/sctp/socket.c: In function 'sctp_data_ready':
net/sctp/socket.c:6191: error: implicit declaration of function 'sk_has_sleeper'
net/sctp/socket.c:6192: error: 'struct sock' has no member named 'sk_sleep'

Caused by commit 43815482370c510c569fd18edb57afcb0fa8cab6 ("net:
sock_def_readable() and friends RCU conversion") interacting with commit
561b1733a465cf9677356b40c27653dd45f1ac56 ("sctp: avoid irq lock inversion
while call sk->sk_data_ready()") which entered Linus' tree on April 29.

I have used the net tree from next-20100430 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-04-07  3:12 ` David Miller
@ 2010-04-07  5:28   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-04-07  5:28 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, dm, jpirko

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

Hi Dave,

On Tue, 06 Apr 2010 20:12:20 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> Thanks, I'll merge net-2.6 into net-next-2.6 and fix this build
> failure in the latter.

Thanks for that.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-04-07  2:58 Stephen Rothwell
@ 2010-04-07  3:12 ` David Miller
  2010-04-07  5:28   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-04-07  3:12 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, dm, jpirko

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 7 Apr 2010 12:58:17 +1000

> After merging the wireless tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> drivers/net/cxgb4/cxgb4_main.c: In function 'set_addr_filters':
> drivers/net/cxgb4/cxgb4_main.c:264: error: dereferencing pointer to incomplete type
> drivers/net/cxgb4/cxgb4_main.c:265: error: dereferencing pointer to incomplete type
> 
> Caused by commit b8ff05a9c3237f694a1c3bf8ceec3bf6c3c14b15 ("cxgb4: Add
> main driver file and driver Makefile") from Linus' tree interacting with
> commit 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 ("net: convert multicast
> list to list_head").  The latter removed struct dev_addr_list.
> 
> I have reverted commit b8ff05a9c3237f694a1c3bf8ceec3bf6c3c14b15 (and
> 43e9da8d782b8a40d5127fcc59ac2e543cf16d7d ("net: Hook up cxgb4 to Kconfig
> and Makefile") that depended on it) for today.

Thanks, I'll merge net-2.6 into net-next-2.6 and fix this build
failure in the latter.


^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-04-07  2:58 Stephen Rothwell
  2010-04-07  3:12 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-04-07  2:58 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Dimitris Michailidis, Jiri Pirko

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

Hi Dave,

After merging the wireless tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/net/cxgb4/cxgb4_main.c: In function 'set_addr_filters':
drivers/net/cxgb4/cxgb4_main.c:264: error: dereferencing pointer to incomplete type
drivers/net/cxgb4/cxgb4_main.c:265: error: dereferencing pointer to incomplete type

Caused by commit b8ff05a9c3237f694a1c3bf8ceec3bf6c3c14b15 ("cxgb4: Add
main driver file and driver Makefile") from Linus' tree interacting with
commit 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 ("net: convert multicast
list to list_head").  The latter removed struct dev_addr_list.

I have reverted commit b8ff05a9c3237f694a1c3bf8ceec3bf6c3c14b15 (and
43e9da8d782b8a40d5127fcc59ac2e543cf16d7d ("net: Hook up cxgb4 to Kconfig
and Makefile") that depended on it) for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-02-15  4:20 Stephen Rothwell
@ 2010-02-15  6:22 ` David Miller
  0 siblings, 0 replies; 137+ messages in thread
From: David Miller @ 2010-02-15  6:22 UTC (permalink / raw)
  To: sfr
  Cc: netdev, linux-next, linux-kernel, peter.p.waskiewicz.jr,
	jeffrey.t.kirsher

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 15 Feb 2010 15:20:09 +1100

> After merging the net tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> usr/include/linux/ethtool.h:17: included file 'linux/rculist.h' is not exported
> 
> Caused by commit 15682bc488d4af8c9bb998844a94281025e0a333 ("ethtool:
> Introduce n-tuple filter programming support").
> 
> I have used the version of the net tree from next-20100212 for today.

I have a fix for that in my queue, thanks for reporting.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-02-15  4:20 Stephen Rothwell
  2010-02-15  6:22 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-02-15  4:20 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Peter P Waskiewicz Jr, Jeff Kirsher

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

Hi Dave,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

usr/include/linux/ethtool.h:17: included file 'linux/rculist.h' is not exported

Caused by commit 15682bc488d4af8c9bb998844a94281025e0a333 ("ethtool:
Introduce n-tuple filter programming support").

I have used the version of the net tree from next-20100212 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-02-08  3:40 ` David Miller
@ 2010-02-08  3:58   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-02-08  3:58 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, sri

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

Hi Dave,

On Sun, 07 Feb 2010 19:40:22 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> Known problem, I'm fixing it by killing the config option,
> everyone should have that thing enabled by now.

OK, thanks.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-02-08  2:22 Stephen Rothwell
@ 2010-02-08  3:40 ` David Miller
  2010-02-08  3:58   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-02-08  3:40 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, sri

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 8 Feb 2010 13:22:43 +1100

> After merging the net tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
 ...
> Caused by commit bfd5f4a3d605e0f6054df0b59fe0907ff7e696d3 ("packet: Add
> GSO/csum offload support").  This build has CONFIG_PACKET_MMAP unset.
> 
> I used the version of the net tree from next-20100205 for today.

Known problem, I'm fixing it by killing the config option,
everyone should have that thing enabled by now.

^ permalink raw reply	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-02-08  2:22 Stephen Rothwell
  2010-02-08  3:40 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-02-08  2:22 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Sridhar Samudrala

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

Hi Dave,

After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

net/packet/af_packet.c: In function 'packet_setsockopt':
net/packet/af_packet.c:1977: error: 'struct packet_sock' has no member named 'rx_ring'
net/packet/af_packet.c:1977: error: 'struct packet_sock' has no member named 'tx_ring'

Caused by commit bfd5f4a3d605e0f6054df0b59fe0907ff7e696d3 ("packet: Add
GSO/csum offload support").  This build has CONFIG_PACKET_MMAP unset.

I used the version of the net tree from next-20100205 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-02-05  6:32 ` David Miller
@ 2010-02-05 11:49   ` Stephen Rothwell
  0 siblings, 0 replies; 137+ messages in thread
From: Stephen Rothwell @ 2010-02-05 11:49 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, nicholasx.d.nunley

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

Hi Dave,

On Thu, 04 Feb 2010 22:32:55 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> Damn namespace pollution, this is one of a zillion reasons
> I prefer drivers are written in one sorce file, then people
> can name their functions however they like and they're all
> marked static so it doesn't cause problems like this.
> 
> I've fixed it up as follows in net-next-2.6

Looks good, thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

* Re: linux-next: build failure after merge of the net tree
  2010-02-05  5:50 Stephen Rothwell
@ 2010-02-05  6:32 ` David Miller
  2010-02-05 11:49   ` Stephen Rothwell
  0 siblings, 1 reply; 137+ messages in thread
From: David Miller @ 2010-02-05  6:32 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, nicholasx.d.nunley

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 5 Feb 2010 16:50:59 +1100

> Hi Dave,
> 
> After merging the scsi-post-merge tree, today's linux-next build (powerpc
> allyesconfig and i386 defconfig) failed like this:
> 
> drivers/net/e1000e/built-in.o: In function `e1000_has_link':
> (.opd+0x1d58): multiple definition of `e1000_has_link'
> drivers/net/e1000/built-in.o:(.opd+0x588): first defined here
> 
> Caused by commit b548192acaebcb05d6a87d1e94f19835b1a18a8b ("e1000: Report
> link status in ethtool when interface is down").
> 
> I have reverted that commit for today.

Damn namespace pollution, this is one of a zillion reasons
I prefer drivers are written in one sorce file, then people
can name their functions however they like and they're all
marked static so it doesn't cause problems like this.

I've fixed it up as follows in net-next-2.6

Thanks!

e1000e: Fix namespace conflicts wrt. e1000_has_link

Reported by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/e1000e/e1000.h   |    2 +-
 drivers/net/e1000e/ethtool.c |    2 +-
 drivers/net/e1000e/netdev.c  |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h
index 318bdb2..c2ec095 100644
--- a/drivers/net/e1000e/e1000.h
+++ b/drivers/net/e1000e/e1000.h
@@ -459,7 +459,7 @@ extern int e1000e_setup_tx_resources(struct e1000_adapter *adapter);
 extern void e1000e_free_rx_resources(struct e1000_adapter *adapter);
 extern void e1000e_free_tx_resources(struct e1000_adapter *adapter);
 extern void e1000e_update_stats(struct e1000_adapter *adapter);
-extern bool e1000_has_link(struct e1000_adapter *adapter);
+extern bool e1000e_has_link(struct e1000_adapter *adapter);
 extern void e1000e_set_interrupt_capability(struct e1000_adapter *adapter);
 extern void e1000e_reset_interrupt_capability(struct e1000_adapter *adapter);
 
diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c
index 0aa50c2..b33e3cb 100644
--- a/drivers/net/e1000e/ethtool.c
+++ b/drivers/net/e1000e/ethtool.c
@@ -202,7 +202,7 @@ static u32 e1000_get_link(struct net_device *netdev)
 	if (!netif_carrier_ok(netdev))
 		mac->get_link_status = 1;
 
-	return e1000_has_link(adapter);
+	return e1000e_has_link(adapter);
 }
 
 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u16 spddplx)
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 14a80f8..ffa37c6 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -3472,7 +3472,7 @@ static void e1000_print_link_info(struct e1000_adapter *adapter)
 	       ((ctrl & E1000_CTRL_TFCE) ? "TX" : "None" )));
 }
 
-bool e1000_has_link(struct e1000_adapter *adapter)
+bool e1000e_has_link(struct e1000_adapter *adapter)
 {
 	struct e1000_hw *hw = &adapter->hw;
 	bool link_active = 0;
@@ -3553,7 +3553,7 @@ static void e1000_watchdog_task(struct work_struct *work)
 	u32 link, tctl;
 	int tx_pending = 0;
 
-	link = e1000_has_link(adapter);
+	link = e1000e_has_link(adapter);
 	if ((netif_carrier_ok(netdev)) && link) {
 		e1000e_enable_receives(adapter);
 		goto link_up;
-- 
1.6.6.1


^ permalink raw reply related	[flat|nested] 137+ messages in thread

* linux-next: build failure after merge of the net tree
@ 2010-02-05  5:50 Stephen Rothwell
  2010-02-05  6:32 ` David Miller
  0 siblings, 1 reply; 137+ messages in thread
From: Stephen Rothwell @ 2010-02-05  5:50 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Nick Nunley

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

Hi Dave,

After merging the scsi-post-merge tree, today's linux-next build (powerpc
allyesconfig and i386 defconfig) failed like this:

drivers/net/e1000e/built-in.o: In function `e1000_has_link':
(.opd+0x1d58): multiple definition of `e1000_has_link'
drivers/net/e1000/built-in.o:(.opd+0x588): first defined here

Caused by commit b548192acaebcb05d6a87d1e94f19835b1a18a8b ("e1000: Report
link status in ethtool when interface is down").

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 137+ messages in thread

end of thread, other threads:[~2024-04-10 22:42 UTC | newest]

Thread overview: 137+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-16  0:24 linux-next: build failure after merge of the net tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2024-04-10 22:42 Stephen Rothwell
2023-05-17 23:06 Stephen Rothwell
2023-05-17 23:29 ` Stephen Rothwell
2023-05-18  4:42 ` Jakub Kicinski
2023-05-18  6:47   ` Paolo Abeni
2023-05-18  6:52     ` Dario Binacchi
2023-05-18  7:14       ` Paolo Abeni
2023-05-18  9:37   ` Marc Kleine-Budde
2021-07-06 23:11 Stephen Rothwell
2021-07-08  4:01 ` Stephen Rothwell
2018-11-15  6:02 Stephen Rothwell
2017-06-08  0:08 Stephen Rothwell
2017-06-08  0:17 ` David Miller
2017-06-08  7:22 ` Greg Kroah-Hartman
2017-06-08  9:00   ` Stephen Rothwell
2017-02-13 22:12 Stephen Rothwell
2017-02-13 23:31 ` Alexei Starovoitov
2017-02-14  7:59   ` Joe Stringer
2017-02-14  6:35 ` Ingo Molnar
2017-02-14  6:42 ` Ingo Molnar
2017-02-14  9:19   ` Jiri Olsa
2017-02-14 12:50     ` Arnaldo Carvalho de Melo
2017-02-14 13:23       ` Jiri Olsa
2017-02-14 13:54         ` Arnaldo Carvalho de Melo
2017-02-16  3:02 ` Stephen Rothwell
2017-02-16  3:06   ` Alexei Starovoitov
2017-02-16  3:27     ` David Miller
2017-02-16  3:30       ` Alexei Starovoitov
2017-02-16  3:42       ` Stephen Rothwell
2016-10-20 22:27 Stephen Rothwell
2016-10-20 22:42 ` Florian Fainelli
2016-10-21  0:30   ` Florian Fainelli
2016-10-21  0:43     ` Stephen Rothwell
2016-10-21  0:46       ` Florian Fainelli
2014-10-14 23:44 Stephen Rothwell
2014-10-15  2:02 ` David Miller
2014-10-15  5:24   ` Giuseppe CAVALLARO
2014-09-17  1:04 Stephen Rothwell
2014-09-17  1:12 ` Stephen Rothwell
2014-09-17  1:48 ` David Miller
2014-09-17  2:18   ` Stephen Rothwell
2014-08-26  2:05 Stephen Rothwell
2014-08-26  3:22 ` David Miller
2014-08-26  3:33   ` Stephen Rothwell
2014-07-30  0:36 Stephen Rothwell
2014-07-30  8:26 ` Oliver Neukum
2014-07-04  1:39 Stephen Rothwell
2014-07-08  2:53 ` David Miller
2014-07-08 16:28   ` Florian Fainelli
2014-07-23 18:38   ` Vince Bridgers
2014-07-23 18:40     ` Florian Fainelli
2014-07-23 18:42       ` Vince Bridgers
2014-05-20  0:59 Stephen Rothwell
2014-05-20 14:50 ` Vlad Yasevich
2012-10-04  0:18 Stephen Rothwell
2012-10-04  0:50 ` David Miller
2012-10-04  1:06   ` Stephen Rothwell
2012-10-04  1:47     ` David Miller
2012-10-04  2:12       ` Jay Hernandez
2011-08-16  3:26 Stephen Rothwell
2011-08-16  4:03 ` David Miller
2011-08-12  2:02 Stephen Rothwell
2011-08-12  2:31 ` Jeff Kirsher
2011-08-12  2:51   ` David Miller
2011-08-12  3:05     ` Jeff Kirsher
2011-08-12  4:34       ` Stephen Rothwell
2011-08-12  5:22         ` Jeff Kirsher
2011-06-09  4:56 Stephen Rothwell
2011-06-09  5:17 ` Greg K-H
2011-06-09  5:39   ` Stephen Rothwell
2011-06-09 19:29     ` Greg KH
2011-06-10 20:28 ` Geert Uytterhoeven
2011-06-11  4:26   ` Stephen Rothwell
2011-06-11 11:39     ` Geert Uytterhoeven
2011-06-14 22:56 ` Stephen Rothwell
2011-06-20  4:58   ` Stephen Rothwell
2011-06-20  5:36     ` David Miller
2011-04-26  3:51 Stephen Rothwell
2011-04-26 19:43 ` David Miller
2011-04-13  2:03 Stephen Rothwell
2011-04-13  2:28 ` David Miller
2011-04-04  1:28 Stephen Rothwell
2011-04-04  2:43 ` David Miller
2011-03-14  4:24 Stephen Rothwell
2011-03-14  4:59 ` Ben Hutchings
2011-03-14  5:31   ` Stephen Rothwell
2011-03-14  5:53     ` David Miller
2011-03-14  6:05       ` Stephen Rothwell
2011-03-14  6:18         ` David Miller
2011-03-14  9:44         ` Thomas Gleixner
2011-03-14  9:56         ` Thomas Gleixner
2011-03-15  0:30           ` Stephen Rothwell
2011-03-15  4:07             ` David Miller
2011-03-15  6:25               ` Stephen Rothwell
2011-03-15 10:29                 ` Thomas Gleixner
2011-03-15 22:07                   ` David Miller
2011-03-09  2:42 Stephen Rothwell
2011-03-09  6:45 ` David Miller
2011-01-21  1:05 Stephen Rothwell
2011-01-21  1:10 ` David Miller
2010-12-09  2:28 Stephen Rothwell
2010-12-09  2:39 ` David Miller
2010-12-09  3:02   ` Stephen Rothwell
2010-12-07  1:00 Stephen Rothwell
2010-12-07  4:46 ` David Miller
2010-12-07  4:57   ` Joe Perches
2010-12-07 18:34     ` Breno Leitao
2010-11-29  0:08 Stephen Rothwell
2010-11-29  2:11 ` David Miller
2010-11-29  7:25   ` Peppe CAVALLARO
2010-11-16  0:34 Stephen Rothwell
2010-11-16  4:15 ` David Miller
2010-10-15  0:38 Stephen Rothwell
2010-10-14 22:07 ` Jeff Kirsher
2010-08-27  1:14 Stephen Rothwell
2010-08-27  3:32 ` David Miller
2010-06-15  2:00 Stephen Rothwell
2010-06-15  2:13 ` David Miller
2010-06-15  3:42   ` Stephen Rothwell
2010-05-12  2:56 Stephen Rothwell
2010-05-12  6:13 ` David Miller
2010-05-12  6:51   ` Stephen Rothwell
2010-05-03  2:08 Stephen Rothwell
2010-05-03  2:37 ` David Miller
2010-05-03  4:44   ` Stephen Rothwell
2010-04-07  2:58 Stephen Rothwell
2010-04-07  3:12 ` David Miller
2010-04-07  5:28   ` Stephen Rothwell
2010-02-15  4:20 Stephen Rothwell
2010-02-15  6:22 ` David Miller
2010-02-08  2:22 Stephen Rothwell
2010-02-08  3:40 ` David Miller
2010-02-08  3:58   ` Stephen Rothwell
2010-02-05  5:50 Stephen Rothwell
2010-02-05  6:32 ` David Miller
2010-02-05 11:49   ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).