Skip to contentSkip to conversation

net: dsa: bcm_sf2: Fix build module

PATCH Applied Florian Fainelli 2 participants 5 messages Jan 31, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dsa: bcm_sf2: Fix build module

Commit 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc") added a new object to build: bcm_sf2_cfp.o, but in doing so, we essentially just built this object and no longer bcm_sf2.o.

Fix this by creating a module named bcm-sf2.ko which links in bcm_sf2.o and bcm_sf2_cfp.o.

Fixes 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")
---
 drivers/net/dsa/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/dsa/Makefile +2 -2
index da9893478e21..a3c941632217 100644
@@ -1,6 +1,6 @@
 obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
-obj-$(CONFIG_NET_DSA_BCM_SF2)	+= bcm_sf2.o
-bcm_sf2-objs			+= bcm_sf2_cfp.o
+obj-$(CONFIG_NET_DSA_BCM_SF2)	+= bcm-sf2.o
+bcm-sf2-objs			:= bcm_sf2.o bcm_sf2_cfp.o
 obj-$(CONFIG_NET_DSA_QCA8K)	+= qca8k.o
 
 obj-y				+= b53/
Signature · 1 line
2.9.3
maintainer Applied
#1 lore raw

From: Florian Fainelli <[email protected]>
Date: Mon, 30 Jan 2017 19:17:16 -0800

Quoted 9 lines

Commit 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc") added a new object to build: bcm_sf2_cfp.o, but in doing so, we essentially just built this object and no longer bcm_sf2.o.

Fix this by creating a module named bcm-sf2.ko which links in bcm_sf2.o and bcm_sf2_cfp.o.

Fixes 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")

Applied, thanks.

maintainer
#3 lore raw
In reply to Florian Fainelli

From: Florian Fainelli <[email protected]>
Date: Tue, 31 Jan 2017 10:32:38 -0800

Quoted 11 lines · David Miller
Quoted 10 lines

From: Florian Fainelli <[email protected]>
Date: Mon, 30 Jan 2017 19:17:16 -0800

Quoted 7 lines

Commit 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc") added a new object to build: bcm_sf2_cfp.o, but in doing so, we essentially just built this object and no longer bcm_sf2.o.

Fix this by creating a module named bcm-sf2.ko which links in bcm_sf2.o and bcm_sf2_cfp.o.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Fixes 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")

Applied, thanks.

I don't see it showing up on next-next yet, is it just queued locally? Thanks!

The perils of working on different machines during the day :-)

It should be there now, sorry about that.

#2 lore raw
In reply to David Miller
Quoted 7 lines · David Miller

From: Florian Fainelli <[email protected]>
Date: Mon, 30 Jan 2017 19:17:16 -0800

Quoted 4 lines

Commit 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc") added a new object to build: bcm_sf2_cfp.o, but in doing so, we essentially just built this object and no longer bcm_sf2.o.

Quoted 7 lines
Quoted 5 lines

Fix this by creating a module named bcm-sf2.ko which links in bcm_sf2.o and bcm_sf2_cfp.o.

Fixes 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")

Applied, thanks.

I don't see it showing up on next-next yet, is it just queued locally? Thanks!

Signature · 1 line
Florian
#4 lore raw
In reply to David Miller
Quoted 17 lines · David Miller

From: Florian Fainelli <[email protected]>
Date: Tue, 31 Jan 2017 10:32:38 -0800

Quoted 14 lines · David Miller
Quoted 13 lines

From: Florian Fainelli <[email protected]>
Date: Mon, 30 Jan 2017 19:17:16 -0800

Quoted 9 lines

Commit 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc") added a new object to build: bcm_sf2_cfp.o, but in doing so, we essentially just built this object and no longer bcm_sf2.o.

Fix this by creating a module named bcm-sf2.ko which links in bcm_sf2.o and bcm_sf2_cfp.o.

Fixes 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")
Quoted 9 lines
Quoted 4 lines
Quoted 1 line

Applied, thanks.

I don't see it showing up on next-next yet, is it just queued locally? Thanks!

The perils of working on different machines during the day :-)

It should be there now, sorry about that.

No worries, thanks for the prompt fix!

Signature · 1 line
Florian