linux-next: build failure after merge of the wireless-drivers-next tree
Hi all,
After merging the wireless-drivers-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/net/wireless/quantenna/qtnfmac/core.c: In function 'qtnf_core_net_attach':drivers/net/wireless/quantenna/qtnfmac/core.c:319:5: error: 'struct net_device' has no member named 'destructor'
dev->destructor = free_netdev;
^Caused by commit
98f44cb0655c ("qtnfmac: introduce new FullMAC driver for Quantenna chipsets")
interacting with commit
cf124db566e6 ("net: Fix inconsistent teardown and release of private netdev state.")
from the net tree.
I applied this merge fix patch for today.
From: Stephen Rothwell <[email protected]>
Date: Thu, 8 Jun 2017 12:24:08 +1000
Subject: [PATCH] qtnfmac: fix up for "net: Fix inconsistent teardown and
release of private netdev state."
--- drivers/net/wireless/quantenna/qtnfmac/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/quantenna/qtnfmac/core.c +1 -1
@@ -316,7 +316,7 @@ int qtnf_core_net_attach(struct qtnf_wmac *mac, struct qtnf_vif *vif, vif->netdev = dev; dev->netdev_ops = &qtnf_netdev_ops; - dev->destructor = free_netdev; + dev->needs_free_netdev = true;dev_net_set (dev,wiphy_net (wiphy)); dev->ieee80211_ptr = &vif->wdev; dev->ieee80211_ptr->iftype = iftype;
Signature · 5 lines
2.11.0 -- Cheers, Stephen Rothwell
Igor Mitsyanko
Acked-byQuoted 18 lines · Stephen Rothwell
External Email
Hi all,
After merging the wireless-drivers-next tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/net/wireless/quantenna/qtnfmac/core.c: In function 'qtnf_core_net_attach':drivers/net/wireless/quantenna/qtnfmac/core.c:319:5: error: 'structnet_device' has no member named 'destructor'dev->destructor = free_netdev; ^Caused by commit
98f44cb0655c("qtnfmac: introduce new FullMAC driver for Quantenna chipsets")
Quoted 7 lines
interacting with commit
cf124db566e6("net: Fix inconsistent teardown and release of private netdev state.")from the net tree.
I applied this merge fix patch for today.
Hi Stephen,
thanks. As I understand, you've applied this patch during a merge and no further actions are required, correct?
Quoted 7 lines
From: Stephen Rothwell <[email protected]>
Date: Thu, 8 Jun 2017 12:24:08 +1000
Subject: [PATCH] qtnfmac: fix up for "net: Fix inconsistent teardown and
release of private netdev state."Signed-off-by Stephen Rothwell <[email protected]>
Quoted 24 lines
--- drivers/net/wireless/quantenna/qtnfmac/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/quantenna/qtnfmac/core.c +1
-2@@ -316,7 +316,7 @@ int qtnf_core_net_attach(struct qtnf_wmac *mac, struct qtnf_vif *vif, vif->netdev = dev; dev->netdev_ops = &qtnf_netdev_ops; - dev->destructor = free_netdev; + dev->needs_free_netdev = true;dev_net_set (dev,wiphy_net (wiphy)); dev->ieee80211_ptr = &vif->wdev; dev->ieee80211_ptr->iftype = iftype; --2.11.0
--
Cheers,
Stephen Rothwell
Hi Igor,
Quoted 3 lines · On Wed, 7 Jun 2017 19:43:18 -0700 Igor Mitsyanko…
thanks. As I understand, you've applied this patch during a merge and no further actions are required, correct?
Dave Miller will need to apply that patch (or something similar) when he merges the wireless-drivers-next tree into the net-next tree. I will keep applying the patch each day until then.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
Hi Igor,
Quoted 3 lines · On Wed, 7 Jun 2017 19:43:18 -0700 Igor Mitsyanko…
thanks. As I understand, you've applied this patch during a merge and no further actions are required, correct?
Dave Miller will need to apply that patch (or something similar) when he merges the wireless-drivers-next tree into the net-next tree. I will keep applying the patch each day until then.
Thanks, I'll remind Dave about this when i submit the pull request (very soon now).
Signature · 1 line
Kalle Valo
Hi Kalle,
Quoted 8 lines · On Thu, 08 Jun 2017 15:07:00 +0300 Kalle Valo <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Quoted 3 lines · On Wed, 7 Jun 2017 19:43:18 -0700 Igor Mitsyanko…
thanks. As I understand, you've applied this patch during a merge and no further actions are required, correct?
Quoted 6 lines
Quoted 3 lines
Dave Miller will need to apply that patch (or something similar) when he merges the wireless-drivers-next tree into the net-next tree. I will keep applying the patch each day until then.
Thanks, I'll remind Dave about this when i submit the pull request (very soon now).
It occurred to me just after I wrote the previous message that it would only be true after he merges the current net tree into the net-next tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Dave,
Quoted 4 lines · On Thu, 8 Jun 2017 12:27:59 +1000 Stephen Rothwell <[email protected]> wrote:
After merging the wireless-drivers-next tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Quoted 8 lines
drivers/net/wireless/quantenna/qtnfmac/core.c: In function 'qtnf_core_net_attach':drivers/net/wireless/quantenna/qtnfmac/core.c:319:5: error: 'structnet_device' has no member named 'destructor'dev->destructor = free_netdev; ^Caused by commit
98f44cb0655c("qtnfmac: introduce new FullMAC driver for Quantenna chipsets")
This commit is now in the net-next tree ...
Quoted 7 lines
interacting with commit
cf124db566e6("net: Fix inconsistent teardown and release of private netdev state.")from the net tree.
I applied this merge fix patch for today.
So this merge fix patch is needed when the net and net-next trees are merged.
Quoted 25 lines
From: Stephen Rothwell <[email protected]>
Date: Thu, 8 Jun 2017 12:24:08 +1000
Subject: [PATCH] qtnfmac: fix up for "net: Fix inconsistent teardown and
release of private netdev state."Signed-off-by Stephen Rothwell <[email protected]>--- drivers/net/wireless/quantenna/qtnfmac/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/quantenna/qtnfmac/core.c +1
-1@@ -316,7 +316,7 @@ int qtnf_core_net_attach(struct qtnf_wmac *mac, struct qtnf_vif *vif, vif->netdev = dev; dev->netdev_ops = &qtnf_netdev_ops; - dev->destructor = free_netdev; + dev->needs_free_netdev = true;dev_net_set (dev,wiphy_net (wiphy)); dev->ieee80211_ptr = &vif->wdev; dev->ieee80211_ptr->iftype = iftype;Signature · 1 line
2.11.0
Signature · 2 lines
Cheers, Stephen Rothwell
David Miller
maintainerFrom: Stephen Rothwell <[email protected]>
Date: Tue, 13 Jun 2017 12:00:24 +1000
Quoted 20 lines
Hi Dave,
Quoted 4 lines · On Thu, 8 Jun 2017 12:27:59 +1000 Stephen Rothwell <[email protected]> wrote:
After merging the wireless-drivers-next tree, today's linux-next build (
x86_64allmodconfig) failed like this:Quoted 8 lines
drivers/net/wireless/quantenna/qtnfmac/core.c: In function 'qtnf_core_net_attach':drivers/net/wireless/quantenna/qtnfmac/core.c:319:5: error: 'structnet_device' has no member named 'destructor'dev->destructor = free_netdev; ^Caused by commit
98f44cb0655c("qtnfmac: introduce new FullMAC driver for Quantenna chipsets")This commit is now in the net-next tree ...
Quoted 2 lines
interacting with commit
Quoted 7 lines
Quoted 5 lines
cf124db566e6("net: Fix inconsistent teardown and release of private netdev state.")from the net tree.
I applied this merge fix patch for today.
So this merge fix patch is needed when the net and net-next trees are merged.
This is now all resolved, thanks!
Hi Dave,
Quoted 24 lines · On Thu, 15 Jun 2017 12:08:08 -0400 (EDT) David Miller <[email protected]>…
From: Stephen Rothwell <[email protected]>
Date: Tue, 13 Jun 2017 12:00:24 +1000Quoted 20 lines · On Thu, 8 Jun 2017 12:27:59 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 4 lines
After merging the wireless-drivers-next tree, today's linux-next build (
x86_64allmodconfig) failed like this:Quoted 8 lines
drivers/net/wireless/quantenna/qtnfmac/core.c: In function 'qtnf_core_net_attach':drivers/net/wireless/quantenna/qtnfmac/core.c:319:5: error: 'structnet_device' has no member named 'destructor'dev->destructor = free_netdev; ^Caused by commit
98f44cb0655c("qtnfmac: introduce new FullMAC driver for Quantenna chipsets")This commit is now in the net-next tree ...
Quoted 4 lines
interacting with commit
cf124db566e6("net: Fix inconsistent teardown and release of private netdev state.")
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
from the net tree.
I applied this merge fix patch for today.
So this merge fix patch is needed when the net and net-next trees are merged.
This is now all resolved, thanks!
Thanks for letting me know.
Signature · 2 lines
Cheers, Stephen Rothwell