Re: [PATCH -next] ieee802154: fix kconfig bool/tristate muckup

From: Sergey Lapin
Date: Sat Jun 13 2009 - 06:58:25 EST


On Fri, Jun 12, 2009 at 03:59:20PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> menuconfig IEEE802154_DRIVERS is a bool that depends on tristate IEEE802154.
> If the IEEE802154 symbol is 'm', the bool becomes 'y'.
> This allows tristate symbols under IEEE802154_DRIVERS to be configured as
> 'y' and cause build problems.
> Changing the menuconfig bool to a tristate fixes this.
>
> drivers/built-in.o: In function `fake_scan_req':
> fakehard.c:(.text+0x46d625): undefined reference to `ieee802154_nl_scan_confirm'
> drivers/built-in.o: In function `fake_disassoc_req':
> fakehard.c:(.text+0x46d66f): undefined reference to `ieee802154_nl_disassoc_confirm'
> drivers/built-in.o: In function `fake_assoc_req':
> fakehard.c:(.text+0x46d6be): undefined reference to `ieee802154_nl_assoc_confirm'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: linux-zigbee-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: Dmitry Eremin-Solenikov <dbaryshkov@xxxxxxxxx>
> Cc: Sergey Lapin <slapin@xxxxxxxxxxx>
Ackedy-by: Sergey Lapin <slapin@xxxxxxxxxxx>

Thanks a lot!
S.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/