Message ID | 20190313211901.607575-1-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp14770233jad; Wed, 13 Mar 2019 14:19:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLrOd2CegXg/28ZR2fwrrvIT0i0JYasyb2AQQzvYcryzjaSloWDPUxHVE53w3TWbuIO4jH X-Received: by 2002:a63:eb0f:: with SMTP id t15mr42717922pgh.252.1552511961908; Wed, 13 Mar 2019 14:19:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552511961; cv=none; d=google.com; s=arc-20160816; b=Pd07dws2sy1+reQslcFlZOrxVPxOBAmXlPmmWdDwQeNiNk2IeL1R/K5US69vkIa6IS 4V79YOjhfySTzPNfEO0lal5oLFqK0KiQ8EFpbaGGoRI04JBHmf71mx+ZINVOHwG77ud0 qDod5PhlyalhRsMcuri1Wqml7s+4vX8OhNoXsypcQWHfrfxa2wzzjxNjB7shiidyugHS UbMcF57essrscRlxKxmMveBzdgt5nkU7yV7q8Eq1F93YScN6DrFkh3OA3apFTKKySTdp bYSuUJMw4qZ2hHnPVk4Bfj8xf2kZbTUkr82U3BYspl8T85FoSJD35vL9dHUH9g+y/QGq mDog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature; bh=CtiJEd12AsRw9yvbos5CZceGWXTTRurUh9bVqoOVhlk=; b=lDp/9257ORlC2zIpi5cSxcpkaxhXRlRqqK9bMklDdrHTBQkXhRVfEP9+2p7Z7rzdRB Us2Xl2rQFGNDhyn+fNp/PmKdMF9oxLCBJXJHIdcABhi170NwZ8ii07mJFobF9qqUyxEC e4FWNuLXydJ3C/EGMfIsubU5NGbQTvpyqfMrCoLIoGaipCxm8EIYp1qt8AluDOvDC1GV MIs2whrwSlboSBj6Y0GZZhbkmkRwH4B8kH1aB67mtHU0e0RL4Ynb7IxlCPDDnULWrNJ4 vI6mVT5OEi68RS9soERvUV7lriTXurk1arf7sL5f32Tg/99UGkh3fbvLDarNedowbmmv hr6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=TQ0MOGkL; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" Return-Path: <linux-mtd-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id b27si10756138pgb.366.2019.03.13.14.19.21 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Mar 2019 14:19:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=TQ0MOGkL; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=CtiJEd12AsRw9yvbos5CZceGWXTTRurUh9bVqoOVhlk=; b=TQ0MOGkL5lVatl PPxlhA1vAh8jOZiKJKA777rE07pR0zb6UuhVSYVpAycEU3W3rWf0eEakT6zJ4Pd9Q4k2PXcTX46x4 YulOczhtDJLUDMgepvJv0bwotowPGNUvDBWSMfpYTB8y2bIgBz+XpnK5HNwB6vzPx6TQLVxO0dXOS z9g1QEMytyK8ovvSNK0oIc7Odv0wsnn6a0K5agdYpIR/+A3CBciIj/8LWrVin2I5w190947+9aQbt rA6N1NgAiVuVv/MnUW4erJRpejaqjuqb8Vu9Z33blpE8xppwklvNqXn5I0dj6/OBtY6eXhTr7Y2Fm HaQ1gAlF/QNsmJCvRx2A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4BHP-0000TE-Jf; Wed, 13 Mar 2019 21:19:15 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4BHM-0000Rp-CR for linux-mtd@lists.infradead.org; Wed, 13 Mar 2019 21:19:13 +0000 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M7v18-1h96xg2oHy-0053RH; Wed, 13 Mar 2019 22:19:02 +0100 From: Arnd Bergmann <arnd@arndb.de> To: David Woodhouse <dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>, Boris Brezillon <bbrezillon@kernel.org>, Marek Vasut <marek.vasut@gmail.com>, Richard Weinberger <richard@nod.at> Subject: [PATCH] mtd: physmap_of_gemini: remove extranous __xipram annotation Date: Wed, 13 Mar 2019 22:18:41 +0100 Message-Id: <20190313211901.607575-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:PSiCUDZrfAOmXzVkNHBWpcVsfSrPq6bcIJ4o6GeithrH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 X-CRM114-CacheID: sfid-20190313_141912_726718_8BD8C3E0 X-CRM114-Status: GOOD ( 14.13 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.134 listed in list.dnswl.org] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>, Linus Walleij <linus.walleij@linaro.org>, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org |
Series |
mtd: physmap_of_gemini: remove extranous __xipram annotation
|
expand
|
diff --git a/drivers/mtd/maps/physmap-gemini.c b/drivers/mtd/maps/physmap-gemini.c index 60775b208fc9..a289c8b5cabf 100644 --- a/drivers/mtd/maps/physmap-gemini.c +++ b/drivers/mtd/maps/physmap-gemini.c @@ -86,7 +86,7 @@ static void gemini_flash_disable_pins(void) static map_word __xipram gemini_flash_map_read(struct map_info *map, unsigned long ofs) { - map_word __xipram ret; + map_word ret; gemini_flash_enable_pins(); ret = inline_map_read(map, ofs);
Marking a local variable as __xipram causes a warning because of the noinline attribute: drivers/mtd/maps/physmap-gemini.c:89:11: error: '__noinline__' attribute only applies to functions [-Werror,-Wignored-attributes] map_word __xipram ret; ^ include/linux/mtd/xip.h:34:18: note: expanded from macro '__xipram' #define __xipram noinline __attribute__ ((__section__ (".xiptext"))) I can't see any reason for the anotation anyway, so just remove it here. Fixes: 9d3b5086f6d4 ("mtd: physmap_of_gemini: Handle pin control") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/mtd/maps/physmap-gemini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/