net: dsa: bcm_sf2: Fix build module
Subsystems (3)
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.
--- drivers/net/dsa/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/dsa/Makefile +2 -2
@@ -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
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 forethtool::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")Signed-off-by Florian Fainelli <[email protected]>
Applied, thanks.
David Miller
maintainerFrom: 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 -0800Quoted 7 lines
Commit
7318166cacad("net: dsa:bcm_sf2: Add support forethtool::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")Signed-off-by Florian Fainelli <[email protected]>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.
Quoted 7 lines · David Miller
From: Florian Fainelli <[email protected]>
Date: Mon, 30 Jan 2017 19:17:16 -0800Quoted 4 lines
Commit
7318166cacad("net: dsa:bcm_sf2: Add support forethtool::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")Signed-off-by Florian Fainelli <[email protected]>Applied, thanks.
I don't see it showing up on next-next yet, is it just queued locally? Thanks!
Signature · 1 line
Florian
Quoted 17 lines · David Miller
From: Florian Fainelli <[email protected]>
Date: Tue, 31 Jan 2017 10:32:38 -0800Quoted 14 lines · David Miller
Quoted 13 lines
From: Florian Fainelli <[email protected]>
Date: Mon, 30 Jan 2017 19:17:16 -0800Quoted 9 lines
Commit
7318166cacad("net: dsa:bcm_sf2: Add support forethtool::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")Signed-off-by Florian Fainelli <[email protected]>
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