Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1272669pxu; Sat, 12 Dec 2020 07:26:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/EQs0CobrqFNHW8oyt7rb40ejbbVR3BoQM+Ohz2b00gZzcmMJI1Tz+QQ33j8pH/N8kEVo X-Received: by 2002:a17:907:373:: with SMTP id rs19mr14772090ejb.298.1607786800458; Sat, 12 Dec 2020 07:26:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607786800; cv=none; d=google.com; s=arc-20160816; b=UIwyno7SgVRtE9S0683WAh9pMTjX6ZnMYkDk3Nf47h0kVVOq4gtv+CSzjyOKl7jFHy tB0B1dwbeKUY94ro0AFRCBCpMnK5B0tJpd7JdhaK5hPpO+EpmbFUaIUEQiSXKebtEFP5 NJlEN9rgaBw2uFttdX4BoMY6iflZvq8Uu08FAToNIt9nu2svEZJtHwlf9KF8UVv/ETJy le7Bp/JAR5iL2VpD3q87HrbKvW9AXyl11mSJnByuTjEiQjWBk/iF52/40JiTasI7jkq2 cg71W4q0/brLi8yhwc/cCcIrFcFnDdT9GYEH0oDxV48WJbdMWXxWPeszc0TOfTzeH6QE Jigw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vCd8E4n1kIqPUprUQu0kcM0suwX/nRQZvRZa6yET47w=; b=T7uMAkLzfC2Kt/JBp3Dfq3dXKfgh8n3fm8TOtb1VChGpC9gyOLX8sv1+zSnky25Vqz 6YTIuRZWl7RnYrPZpJcWso+1zitOh58uC1MknigdL5p9TcJEii5x+Gu9k4vQKkhmnWgF y43a4EQF689fPgkeeDh8t+tFmd55aqXOFW5jTZtkHbf4SJi4g5dzunqJCAgdc5m46vcu GIoSj22PG2wFKT+b7lBae3hbfEKv4c85qqwDeSxz/Kr8kUSbG9KVtD5LHk+TK37avV6Z m6jfiexml27RfzbUjwRMwBbWKOcbMn5v9YV4gYyUVUKyFFQUdJ6vNH9K7usTz/whiNv4 B1gA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si6294258ejd.518.2020.12.12.07.26.18; Sat, 12 Dec 2020 07:26:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436974AbgLKNkN (ORCPT + 99 others); Fri, 11 Dec 2020 08:40:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436901AbgLKNjt (ORCPT ); Fri, 11 Dec 2020 08:39:49 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2B7FC0613CF for ; Fri, 11 Dec 2020 05:39:08 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id 31f82400G4C55Sk011f8Ws; Fri, 11 Dec 2020 14:39:08 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1knidY-009iJz-6r; Fri, 11 Dec 2020 14:39:08 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1knidX-00CSlP-MR; Fri, 11 Dec 2020 14:39:07 +0100 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Jiri Slaby Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] serial: 8250_pci: Drop bogus __refdata annotation Date: Fri, 11 Dec 2020 14:39:07 +0100 Message-Id: <20201211133907.2970460-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit d73dfc6a4199e0e3 ("serial: 8250_pci: remove __devexit usage") in v3.9, the 8250/16550 PCI serial driver no longer has any code or data located in initmem, hence there is no need to annotate the pci_serial_quirks structure with __refdata. Drop the annotation, to avoid suppressing future section warnings. Signed-off-by: Geert Uytterhoeven --- drivers/tty/serial/8250/8250_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index d5a513efb2613dff..689d8227f95f7dfb 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -1964,7 +1964,7 @@ pci_moxa_setup(struct serial_private *priv, * This list is ordered alphabetically by vendor then device. * Specific entries must come before more generic entries. */ -static struct pci_serial_quirk pci_serial_quirks[] __refdata = { +static struct pci_serial_quirk pci_serial_quirks[] = { /* * ADDI-DATA GmbH communication cards */ -- 2.25.1