linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wlcore: drop INET dependency
@ 2012-06-25  2:17 Randy Dunlap
  2012-06-25  7:23 ` Luciano Coelho
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2012-06-25  2:17 UTC (permalink / raw)
  To: linux-wireless; +Cc: John W. Linville, Luciano Coelho

From: Randy Dunlap <rdunlap@xenotime.net>

Mainline build reports:

warning: (WL12XX) selects WLCORE which has unmet direct dependencies (NETDEVICES && WLAN && WL_TI && GENERIC_HARDIRQS && MAC80211 && INET)

The INET dependency was added in commit
3c6af5b54fe74b6e56efadc22927e4055d00e9fc:
    wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_
notifier'
    wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_no
tifier'
    
    Driver is doing some filtering based on IP addresses...

but this driver no longer has that code and it builds fine even when
CONFIG_INET is not enabled, so drop that dependency and eliminate the
kconfig warning message.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Luciano Coelho <luciano.coelho@nokia.com>
Cc: John W. Linville <linville@tuxdriver.com>
---
 drivers/net/wireless/ti/wlcore/Kconfig |    1 -
 1 file changed, 1 deletion(-)

--- lnx-35-rc3.orig/drivers/net/wireless/ti/wlcore/Kconfig
+++ lnx-35-rc3/drivers/net/wireless/ti/wlcore/Kconfig
@@ -1,7 +1,6 @@
 config WLCORE
 	tristate "TI wlcore support"
 	depends on WL_TI && GENERIC_HARDIRQS && MAC80211
-	depends on INET
 	select FW_LOADER
 	---help---
 	  This module contains the main code for TI WLAN chips.  It abstracts

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

* Re: [PATCH] wlcore: drop INET dependency
  2012-06-25  2:17 [PATCH] wlcore: drop INET dependency Randy Dunlap
@ 2012-06-25  7:23 ` Luciano Coelho
  0 siblings, 0 replies; 2+ messages in thread
From: Luciano Coelho @ 2012-06-25  7:23 UTC (permalink / raw)
  To: Randy Dunlap, John W. Linville; +Cc: linux-wireless

(updated to my new email address).

On Sun, 2012-06-24 at 19:17 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> Mainline build reports:
> 
> warning: (WL12XX) selects WLCORE which has unmet direct dependencies (NETDEVICES && WLAN && WL_TI && GENERIC_HARDIRQS && MAC80211 && INET)
> 
> The INET dependency was added in commit
> 3c6af5b54fe74b6e56efadc22927e4055d00e9fc:
>     wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_
> notifier'
>     wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_no
> tifier'
>     
>     Driver is doing some filtering based on IP addresses...
> 
> but this driver no longer has that code and it builds fine even when
> CONFIG_INET is not enabled, so drop that dependency and eliminate the
> kconfig warning message.
> 
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> Cc: Luciano Coelho <luciano.coelho@nokia.com>
> Cc: John W. Linville <linville@tuxdriver.com>
> ---

Acked-by: Luciano Coelho <coelho@ti.com>

Thanks, Randy!

This one goes quite far back, the dependency in the code was removed in
commit eb887d (wl1271: Use the ARP configuration function from
mac80211), 2 years ago.

I think this should be applied to 3.5 and maybe even to stable (is this
kind of warning important enough to deserve going to stable releases?)

John, can you take this directly into wireless.git?

--
Cheers,
Luca.


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

end of thread, other threads:[~2012-06-25  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25  2:17 [PATCH] wlcore: drop INET dependency Randy Dunlap
2012-06-25  7:23 ` Luciano Coelho

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).