lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 24 Dec 2008 23:18:13 +0100
From:	"Stefanik Gábor" <netrolller.3d@...il.com>
To:	"Randy Dunlap" <randy.dunlap@...cle.com>
Cc:	"Luis R. Rodriguez" <lrodriguez@...eros.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>
Subject: Re: mmotm 2008-12-24-01-20 uploaded (ath9k)

On Wed, Dec 24, 2008 at 10:43 PM, Randy Dunlap <randy.dunlap@...cle.com> wrote:
> Luis R. Rodriguez wrote:
>> On Wed, Dec 24, 2008 at 10:04:43AM -0800, Randy Dunlap wrote:
>>> akpm@...ux-foundation.org wrote:
>>>> The mm-of-the-moment snapshot 2008-12-24-01-20 has been uploaded to
>>>>
>>>>    http://userweb.kernel.org/~akpm/mmotm/
>>>>
>>>> and will soon be available at
>>>>
>>>>    git://git.zen-sources.org/zen/mmotm.git
>>>
>>> ath9k build fails with:
>>>
>>> drivers/built-in.o: In function `ath_detach':
>>> main.c:(.text+0xee655): undefined reference to `rfkill_unregister'
>>> drivers/built-in.o: In function `ath_rfkill_poll':
>>> main.c:(.text+0xeedfa): undefined reference to `rfkill_force_state'
>>> drivers/built-in.o: In function `ath9k_start':
>>> main.c:(.text+0xefe79): undefined reference to `rfkill_register'
>>> main.c:(.text+0xeff20): undefined reference to `rfkill_free'
>>> drivers/built-in.o: In function `ath_pci_probe':
>>> main.c:(.text+0xf0f73): undefined reference to `rfkill_allocate'
>>>
>>> when ath9k is built-in and CONFIG_RFKILL=m.
>>>
>>> config attached.
>>
>> <-- snip -->
>>
>>> # CONFIG_MAC80211_DEBUGFS is not set
>>> # CONFIG_MAC80211_DEBUG_MENU is not set
>>> CONFIG_RFKILL=m
>>> CONFIG_RFKILL_INPUT=m
>>> CONFIG_RFKILL_LEDS=y
>>
>> Try this (already merged into wireless-testing):
>
> This seems to be already merged/used in mmotm and that's where the
> build failure happened.
>
> And this patch does not address how to call rfkill interfaces when
> CONFIG_RFKILL=m and ath9k is built into the kernel image...
>

IMO we should not allow compiling-in ath9k when rfkill is built as a
module, similar to how we do for mac80211 (CONFIG_MAC80211=m requires
all drivers to be modules).

-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ