INET_LRO as tristate and use from modules (was: Re: [BUILD FAILURE08/12] Next April 21 : PPC64 randconfig[drivers/net/pasemi_mac_driver.ko])

From: Olof Johansson
Date: Tue Apr 21 2009 - 15:31:09 EST


On Wed, Apr 22, 2009 at 12:23:03AM +0530, Subrata Modak wrote:
> Reported this on 9th April earlier:
> http://lkml.org/lkml/2009/4/9/276,
>
> I hope the following Patch will solve this problem as well:
> Geoff Levand <geoffrey.levand@xxxxxxxxxxx> provided a patch on 17th
> April.
> http://lkml.org/lkml/2009/4/17/313,

No, that's a separate issue.

> MODPOST 338 modules
> ERROR: ".lro_receive_skb" [drivers/net/pasemi_mac_driver.ko] undefined!
> ERROR: ".lro_flush_all" [drivers/net/pasemi_mac_driver.ko] undefined!
> WARNING: modpost: Found 1 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2

This seems to be a problem with all tristate-capable drivers that use
LRO (and uses select INET_LRO in their Kconfig): INET_LRO is a tristate
and can thus be a module. Looks like it needs to be a bool instead?


-Olof

--
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/