From patchwork Wed Oct 27 15:25:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12587545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F9B6C433EF for ; Wed, 27 Oct 2021 15:27:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5622E60E0B for ; Wed, 27 Oct 2021 15:27:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5622E60E0B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9HPFQ64V8yWCbvVQg7Tqld1mzroseLPc84oZEH3C4QA=; b=xMi6fT5E44AeYW TWov/kuYhF0vRYmXvUTfR217zhlb/NzB+RHdVfMuu6OUs+VLNB2QYXDGvtqC2oqsY0fpOIa53ZGWz a0qa3MjNJRUIOKZ5jlPglZI0aWmRWvAcIrDninRrToy8043je9y3Cb2nj3Mj1aEF6KsFJGf2aZWdM xo16/Uua8O7j7nyq94ltkVaP20Z1GnMaMIhQ8gmOCPifDq2fXGvpzm1J0iSDSzsMna0QHKPIiHXMQ R/qme+aye16pXc0ArfLjDapAepFv4b1AuhSJMZcIVS8tNssSrhxhuA9ik84ovV01XKDqg94zOTy7C Mt0ciCm3prZscRe84I3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfkop-005JHY-Rl; Wed, 27 Oct 2021 15:26:24 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfkom-005JGe-4m for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 15:26:21 +0000 Received: from toolbox.cardiotech.int ([194.191.235.54]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M0fUG-1mwrBg1nTC-00uuPU; Wed, 27 Oct 2021 17:25:42 +0200 From: Marcel Ziswiler To: Linux-Next Mailing List , dri-devel@lists.freedesktop.org, open list , Linux ARM , Thomas Zimmermann Cc: Arnd Bergmann , Alexandre Belloni , David Airlie , Maxime Ripard , Andrey Konovalov , Stephen Rothwell , Maarten Lankhorst , Linus Walleij , Daniel Vetter , Marcel Ziswiler , Linux Kernel Functional Testing Subject: [PATCH v1] drm: import DMA_BUF module namespace Date: Wed, 27 Oct 2021 17:25:34 +0200 Message-Id: <20211027152534.3366799-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:Bl5t3lSPLC2ho7JrhNFfE+Mz2QikL3xU5MGZYbgo/rT3YQWwu/H Aktrk+pIqxAdQG37K73bbvCQyf+Oj1szWKgs7pLxr8gNdrbecyBVwdI4GZcltKzXnU6Kh2o 57exL4Pa/C8CVet8SbO1s2k+ry1nT+aIlceX5zk8uXbSINtaC5C6Rs63bHwipB1fulM2RA5 A20AZqjcfKUVY5w3EsWhg== X-UI-Out-Filterresults: notjunk:1;V03:K0:MsSoRz00lj0=:BlWzqHevXYA4mqX4PpmhkD ouVrY7HI9FkLYI1LM3IA5p7Xf5rJ966a91jwxScT/gCK9tfbRyUJOIdXg+Q1Emo54HzFXJ+JK AdS5qWRnUBeTxOKszxzwjCDiy1HJ5q2UYeyTXkQSHHjO1bHQ4dc8xeijPeLBP1laDVNirQSNW LOef1DGdVOMkEglHyLmY6w4foMoplUC5OndxT5AZNcNy/UJwWPdQWeSfjupp+euY521w8MULV cXnfgPhTRUQOcVX2inSVyWjmMFTy5isroamL7Muw1DmsjCsLNnZm2StGwBk7eAAtJN9pSTuaa SNdRSHa3cOM+/UW1JJr4j3wACBrUEC8TqGuNksX1nx3buCkasqZbGqiu/nlToKnBekY1fTk5K N5ENUpi9SOO5q9uSWcXrSGzp+5v72M90Wf0UFvOqqzOawGwOhGBrQrMx3u+Eo3dMNfnrdj0nL LIa7GC31RdL9L8huJGyTgtY9ojqz2NAbwJxJSdATANC86c5YxeXZ1TPp+MJs5+SbVOGLhE0Tc AuTlV5+rgIak2M3TdzqufhYeUhhwKGkRYq/5TdRV5C9yeC1WYbrqXFovUxjTm0BS2Wu5tBrQJ F7N6kusdUx8+18l7N8O8TrkuwMzOiQVnH3I/XpC/7bQusw+55Al8fXZDd0FOS5Tysy4wko5UB Oryfs7S1BaS17nqKxJs6f+cc07DCXflP/0JqbnSBiXV/99rnXBWBd2SfU9DQOPxhkzFM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211027_082620_339400_F4B6DF5D X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Marcel Ziswiler Today's -next fails building arm64 defconfig as follows: ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it. ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vmap from namespace DMA_BUF, but does not import it. Reported-by: Linux Kernel Functional Testing Fixes: commit 4b2b5e142ff4 ("drm: Move GEM memory managers into modules") Signed-off-by: Marcel Ziswiler --- drivers/gpu/drm/drm_gem_cma_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c index 6f7b3f8ec04d3..69f8564ad11cd 100644 --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c @@ -23,6 +23,8 @@ #include #include +MODULE_IMPORT_NS(DMA_BUF); + /** * DOC: cma helpers *