[PATCH net-next] net: dsa: Fix duplicate object rule

Subsystems: networking [dsa], networking [general], the rest

STALE3499d

3 messages, 3 authors, 2017-02-09 · open the first message on its own page

[PATCH net-next] net: dsa: Fix duplicate object rule

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-02-08 22:40:16

While adding switch.o to the list of DSA object files, we essentially
duplicated the previous obj-y line and just added switch.o, remove the
duplicate.

Fixes: f515f192ab4f ("net: dsa: add switch notifier")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 net/dsa/Makefile | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/dsa/Makefile b/net/dsa/Makefile
index 72912982de3d..31d343796251 100644
--- a/net/dsa/Makefile
+++ b/net/dsa/Makefile
@@ -1,6 +1,5 @@
 # the core
 obj-$(CONFIG_NET_DSA) += dsa_core.o
-dsa_core-y += dsa.o slave.o dsa2.o
 dsa_core-y += dsa.o slave.o dsa2.o switch.o
 
 # tagging formats
-- 
2.9.3

Re: [PATCH net-next] net: dsa: Fix duplicate object rule

From: Vivien Didelot <hidden>
Date: 2017-02-08 22:45:24

Hi Florian,

Florian Fainelli [off-list ref] writes:
While adding switch.o to the list of DSA object files, we essentially
duplicated the previous obj-y line and just added switch.o, remove the
duplicate.

Fixes: f515f192ab4f ("net: dsa: add switch notifier")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <redacted>

My bad, thanks!

   Vivien

Re: [PATCH net-next] net: dsa: Fix duplicate object rule

From: David Miller <davem@davemloft.net>
Date: 2017-02-09 22:11:21

From: Florian Fainelli <f.fainelli@gmail.com>
Date: Wed,  8 Feb 2017 14:40:04 -0800
While adding switch.o to the list of DSA object files, we essentially
duplicated the previous obj-y line and just added switch.o, remove the
duplicate.

Fixes: f515f192ab4f ("net: dsa: add switch notifier")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help