Re: [PATCH net-next] net: mvneta: select GENERIC_ALLOCATOR
From: David Miller
Date: Sat Dec 10 2016 - 17:28:22 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Sat, 10 Dec 2016 11:38:32 +0100
> We previously relied on GENERIC_ALLOCATOR to be selected by CONFIG_ARM,
> but now we can compile-test the driver on other architectures that
> don't select it:
>
> drivers/net/built-in.o: In function `mvneta_bm_remove':
> mvneta_bm.c:(.text+0x4ee35): undefined reference to `gen_pool_free'
>
> This adds an explicit select for the part of the driver that has
> the dependency.
>
> Fixes: a0627f776a45 ("net: marvell: Allow drivers to be built with COMPILE_TEST")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Applied.