From patchwork Fri Jul 28 13:21:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 108887 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp445786obm; Fri, 28 Jul 2017 06:21:39 -0700 (PDT) X-Received: by 10.99.143.74 with SMTP id r10mr7282689pgn.418.1501248099018; Fri, 28 Jul 2017 06:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501248099; cv=none; d=google.com; s=arc-20160816; b=CXFBGbsN1NuUj2/o8+bP9YGjw63j4Oq2OQUG/Wj0OwF0v6aIg5xE0irPKbbwe1Ntq8 6RQM0Usgg3qX0qRISf8WC4f5Jgzt4EQavDMLHTz1zN2uAkZx2dbhDZC6e0lztA2o8sjw CtRLbz/jDqOFzf75QhJ7WAXiRT1oMIeEN+uHXQ64hRIR1EkUTUviJjqCFsFZ0h1vY0Yf B0FDn/svZ/H86vmgW4p0bDSFS84GTy9oaoNYpPeRN6nqlOmjDI96Sf4RM0S4G3z0vg2M Qj+3E/yP8g4z9yJ1f8ad6qyd66TMFufjHp7/z/QwBhU2gjBZHqU4GBiK72w3+2vRrs6b WXGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=AzDztLztj5KIo+6KiLw5iuK42WjD5g2EkFGscJfM2I0=; b=xTyWW05JKBdvfkuzZCHsrpc0BcHs+Nfiritb+XuMm8/iYskZlkDf5TF2WJUMLB6PVe UcfsDaCwaFJEqmRrSZSUfzVmlnDl+ilvdQAJnln+U/OGQQuHGLU+BYd1PvipJqjD8Cz3 duuZn0PyJqChZEGWFwX8+UpSqPDH1qGI2RAiGTS5oWttliqMwALa0xHiGmYQBLxaCtro Q5Z7jjTqj6oe7qx6elw6OKHoaq90OxGTWekqXOJ5hAIn8K+dTI15k2IBYnZ2og+A7ckE Djpn4Ty0WpO4HorBRdzuFJ56dgX+I6uR7igbyNoCn3LOkgNodZIMz5E3kQKDfMB2kCo9 8r6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s64si12259759pfi.620.2017.07.28.06.21.38; Fri, 28 Jul 2017 06:21:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052AbdG1NVe (ORCPT + 26 others); Fri, 28 Jul 2017 09:21:34 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:57791 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbdG1NVd (ORCPT ); Fri, 28 Jul 2017 09:21:33 -0400 Received: from wuerfel.lan ([78.43.238.10]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lgw8E-1dxiiN1bD4-00oJ0Q; Fri, 28 Jul 2017 15:21:21 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , Michael Thayer , Daniel Vetter , Hans de Goede , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: vboxvideo: select CONFIG_GENERIC_ALLOCATOR Date: Fri, 28 Jul 2017 15:21:01 +0200 Message-Id: <20170728132118.261004-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:8wp+WftLWGpy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edence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/staging/vboxvideo/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/staging/vboxvideo/Kconfig b/drivers/staging/vboxvideo/Kconfig index a52746f9a670..cfabe3ce4bab 100644 --- a/drivers/staging/vboxvideo/Kconfig +++ b/drivers/staging/vboxvideo/Kconfig @@ -2,6 +2,7 @@ config DRM_VBOXVIDEO tristate "Virtual Box Graphics Card" depends on DRM && X86 && PCI select DRM_KMS_HELPER + select GENERIC_ALLOCATOR help This is a KMS driver for the virtual Graphics Card used in Virtual Box virtual machines.