From patchwork Wed Mar 13 21:18:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 1056237 X-Patchwork-Delegate: richard@nod.at Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TQ0MOGkL"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44KPqC48xpz9s7h for ; Thu, 14 Mar 2019 08:19:19 +1100 (AEDT) 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-Kz; 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 To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger 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:PSiCUDZrfAOmXzVkNHBWpcVsfSrPq6bcIJ4o6GeithrHVOrDjf/ zlnwuy1TjXlDCOdwkRBsZ8Jbb6jpzL/eKsw/Nb1LkRBLGkJ4UIMcbZYmH2CFWR7hjAEXnFK 0ux9dYucnTSy+vDBcR3yn2bFmAwt8rBoZMr42aiPCP8DSBzXMIrgqTOlA4NxK687yK4lELn hMCwKT1d61ax3tsBIvljQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:GN4jpDl2SIM=:RI5QiI4aPz+acogZfiVqwH hZEPFnPy6G+FsyzVnYHPnnJUEr8AlhYH9SG+p4G41ThhhrpkBicoSTR3SwtxVvSV6ANjislPz jgKr/FZLLHMPfM4XO7Ev84UzAUNs45p68/ifl/s6IoULkg1/0MjOUMROahKVolyquWE2TFcv9 cEsrKqgVeYPuomZCpZtw+Xe+NnYmyC2eu5GkNSRKKrozCBz3Jpm3d2QHaRI9v0pMvSmT3vVon zJBp6l2TA4sBr834XIyu9yZdXBqwhbOav9Xmk88DmfrdcPfbPUPE87N5teAqH9iFPkjvjcy6t ng8Wrd+FeaG+cNH4ufPGb6MOKtrYtGbHwM4+xiXbJzRUI0cwXWAlm8JAwY2lFNshIuhhlEuyh HP1lcP+NhK2qe1tgCE85OjjPKl5HQHA4xrQtWN/ofb+YtDEz9Gzonn1s0DbBiaKZqrvc3lsWa UsYH40K8Z461FL+720+HWB1ySDjMmEqPMR8uwDJlpomnPgR7DSWjeUtyamKkh8YzUe9ZvM/pk kG8HEO8c94rUfVj2fQrA8etuglddtTnxODQH9fe+06wRFVD7owNPJMbFRhyuuMSiBqAi7k97S nEK8lgI2jRjzVhQCtYqpdoJvXuh8YEk5Cpe57AADa2mC0gnQ7A030otPtHWhu7WljLAUwJSeb bdzkDPVBqLgE4qSnE01Dl7uUwDuitgNEUrmq2e9W2dG5YWdf89jsD6Jtqv+Qwslq7JuqdxgeJ wNLQsj7tb2SC0fuzgDNGCg/pquYE/X3JMnjtew== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Ribalda Delgado , Linus Walleij , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 Acked-by: Linus Walleij --- drivers/mtd/maps/physmap-gemini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);