From patchwork Mon Aug 12 10:11:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 171050 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp2628244ily; Mon, 12 Aug 2019 03:12:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV9RyCTK6TvrGlQcOKzDEodvf/cGCPJOdz1HJ1szs+Kagv08S6Zc7RVyIsIYm15ctdwtC9 X-Received: by 2002:a17:902:567:: with SMTP id 94mr22299905plf.228.1565604726069; Mon, 12 Aug 2019 03:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565604726; cv=none; d=google.com; s=arc-20160816; b=s7+si4JqE3LpPDHKMJMhxzj1XpZPA73mhh+TZmQojIPFq5f6kkMGQhOth50nlY8kRf TbvNFhA45pwjXxmDLrzQV0VWTfQqBAqhm70RvlCjk5Zh84HUjcHhEUi2/uqB9uuUUBzE 1kJ7bJULiBLSOYghk/9+8zoRdHdRCvb37EUjpSEBFJp4N1GgeuBNo/wUEjetBxZPadt3 mFCsUoRF2BiJM2FT/TKkV4G8tGsD2Q9VSQZI52U3yVm2xkc9sgusaNQghqpYaZ6djfeW Ruc1UxFu4Rdg8tRffxsE5IeD4gcj1gE4trXQcj7rT40qOiYJV55xDtAyMIYOTc8gHMqe 2B0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=N8KXwXhElbdLI8DD0bgKmBhgXG5rKMI4b4GekUNBuas=; b=CEPQqY6b/6PhjXvp0cmFEiw4ts+TimGuRIRlRAQiZ1EPcq5o8qDMXlE5qtl1Y395pv Rvdk0LXGm7JPjwKL3OmtO/xL3+05RmLsb+jUHwDcHh0PoI/ocdiGLgWm/j08b35JQk5e ZYn2P5Gdgxz/WdgWWQAVxbO0RqWSHM9wMUq7Nv718tCHB6W9lHxUk5BljxQhcOImm2vm hinbgsHui2DFAXDrH0jZejIjEa2T7I2BRgNQMLDU6eTbrIYtft8J15/bD8/ucGDb27jl mXMh+xDZsUGLkhv8TT+z65OVT4jaXVbN7w1tHWJiot4mxc+x1T2hWQVa42A/LqdiMcaZ D6sA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-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 n2si45445821pga.426.2019.08.12.03.12.05; Mon, 12 Aug 2019 03:12:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dmaengine-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 dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727738AbfHLKMF (ORCPT + 3 others); Mon, 12 Aug 2019 06:12:05 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:54055 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727323AbfHLKMF (ORCPT ); Mon, 12 Aug 2019 06:12:05 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MS1G7-1hqoYI2gv5-00TT5D; Mon, 12 Aug 2019 12:11:57 +0200 From: Arnd Bergmann To: Vinod Koul Cc: Arnd Bergmann , Stephen Rothwell , Peter Ujfalusi , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [v2] dma: ti: unexport filter functions Date: Mon, 12 Aug 2019 12:11:43 +0200 Message-Id: <20190812101155.997721-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:uBwRpCRy5yDjgNG/dokHF0MoW+SifCtPmbgwLmiKHzF83+qi8QO qxYJmM5hbw49pgx1evLZVOr/zFMJGJgToPOFyn1kY32HM6my5VhoN1YcSEqzg6DAbpSBLak PQR4jVF/b0P/Z1HxcC0Ck07SKFQ6LLEni1yH14x4t2+2w+R9OvNfNhhgBaAPtu5uCmQdN/R 5qqBhSxlExLjZg56HD3PA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:zSDZ4EY2AbM=:hvDql46WjA+Aeh43ObcA68 Ns4FfUQl7+VYKlgQC9V/hLAe9sl4DvP/c6054B0+8mO34E0KS+EUYLNtU+KTIr2dHg3fZIbGT /Z2JxAuzhQuk9Anl5ZdA7T8K6Qh3zH0ivxjSwMxJCK2PBbwEa2xFGc4WH2HVQ4BnvGXItdWAO mWP4VCghZohBMYE7mZItkSlG6gSx9+ApsRztI4lB8hQ+acNOonlED18GaduoItR9ue91z3mFl ck2tyNvTSaAS14M0vUj6ZZ7v6virZgv6QVxvw84Y1bSqiUv4Pi/3wL9bS1UA8xhU0DkHfKwTJ VtYZqz1X5jyyVm1XgyZuryaf3hUm+IIDOsThxgRvHTw8amWagZ/RqPKR5qgJQx0al+upGVmRl 7XIj9ySiLNIJ4yNB3//AOl0GOhf9ck+61BqTO77M5PAQqQhCpSg0isLs385IuQlodIAp/IZ5I iC2o0Y546I0ALmY2QoRgetCpWsySjIybf+e/+E94njyLrMn5xieGXRvyfC2qQ72rqCcSOVBeX iHj0EyqOcUv+K+x5RZCAY8xeq5cbsB/ryHlo4HOIn1i4cHOBphWsaP0uZ0hrVj6MuzBqNSsIk rWj09+de6iw8Z5jT5PLfw4Un74tgOXv4KXWrCP/Dl6dDEuN+j6L1BeNfFmMvKvdbnRrcVeQFM PYPhFiG0s5iBdmAc42QMk/Ot0nHkDmjtk25aiH7oHI2/9Kqhxrc3q4lB0LaHAxaNdqMvnRmxq iAfciNmaslYBCvGgiDqHeH+RwNLDVemYEDpUbg== Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The two filter functions are now marked static, but still exported, which triggers a coming build-time check: WARNING: "omap_dma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL_GPL WARNING: "edma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL Remove the unneeded exports as well, as originally intended. Fixes: 9c71b9eb3cb2 ("dmaengine: omap-dma: make omap_dma_filter_fn private") Fixes: d2bfe7b5d182 ("dmaengine: edma: make edma_filter_fn private") Reported-by: Stephen Rothwell Acked-by: Peter Ujfalusi Signed-off-by: Arnd Bergmann --- v2: fix typo in changelog --- drivers/dma/ti/edma.c | 1 - drivers/dma/ti/omap-dma.c | 1 - 2 files changed, 2 deletions(-) -- 2.20.0 diff --git a/drivers/dma/ti/edma.c b/drivers/dma/ti/edma.c index f2549ee3fb49..ea028388451a 100644 --- a/drivers/dma/ti/edma.c +++ b/drivers/dma/ti/edma.c @@ -2540,7 +2540,6 @@ static bool edma_filter_fn(struct dma_chan *chan, void *param) } return match; } -EXPORT_SYMBOL(edma_filter_fn); static int edma_init(void) { diff --git a/drivers/dma/ti/omap-dma.c b/drivers/dma/ti/omap-dma.c index 49da402a1927..98b39bcb7b37 100644 --- a/drivers/dma/ti/omap-dma.c +++ b/drivers/dma/ti/omap-dma.c @@ -1652,7 +1652,6 @@ static bool omap_dma_filter_fn(struct dma_chan *chan, void *param) } return false; } -EXPORT_SYMBOL_GPL(omap_dma_filter_fn); static int omap_dma_init(void) {