Re: [PATCH] staging: vboxvideo: select CONFIG_GENERIC_ALLOCATOR

From: Greg Kroah-Hartman
Date: Fri Jul 28 2017 - 20:06:16 EST


On Fri, Jul 28, 2017 at 03:21:01PM +0200, Arnd Bergmann wrote:
> vboxvideo fails to link without genalloc:
>
> drivers/staging/vboxvideo/vbox_hgsmi.o: In function `hgsmi_buffer_alloc':
> vbox_hgsmi.c:(.text+0x1e): undefined reference to `gen_pool_dma_alloc'
> drivers/staging/vboxvideo/vbox_hgsmi.o: In function `hgsmi_buffer_free':
> vbox_hgsmi.c:(.text+0xf2): undefined reference to `gen_pool_free'
>
> This adds a Kconfig select statement, mirroring what all the other
> users have.
>
> Fixes: dd55d44f4084 ("staging: vboxvideo: Add vboxvideo to drivers/staging")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/staging/vboxvideo/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

Hans sent this same patch 2 days ago, sorry, just applied it now.

greg k-h