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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4682BCE7A88 for ; Sun, 24 Sep 2023 13:21:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 252A310E1AE; Sun, 24 Sep 2023 13:21:06 +0000 (UTC) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5432910E1AF for ; Sun, 24 Sep 2023 13:20:56 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 6E217CE0B2D; Sun, 24 Sep 2023 13:20:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5BBFC433D9; Sun, 24 Sep 2023 13:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695561653; bh=5o/7+bfcajmYC3wkUtOI5QGvaYZc3ylWHck73AYKVYc=; h=From:To:Cc:Subject:Date:From; b=LV+UBdL2LcR9Cq4vM9BvEnGPIPKrTj1FsL2r1sIIAExtlJ/xrrdP6wsBxaoMPdi5O 5eBks6SmdzelPYwXeQ5Rj85NWifByt5vLILDQ0lhxzvcpUq3jVYJY1SPzU0vQZjZm5 kCdBgBpBF9m3M/NHB9qGHXqjzBKHyttDncDWwfjexOfjAnV4a7gjaz97P4F2Fy9NoM p0NdoPNO1r3Cn5JHbMJOvcvlAVzFIDLtGsinXQlChCAMi9OmWaqaT1Te4XbwBQJuJ5 1+8gSv/Bwgq1uVbjf28fr9rfRRqmQcW78YtGdsTSry0rpp40I36jC6HoiwttDV1Vj4 zhGHwxuqfR/sQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 1/6] parisc: sba: Fix compile warning wrt list of SBA devices Date: Sun, 24 Sep 2023 09:20:44 -0400 Message-Id: <20230924132050.1277021-1-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 4.14.326 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , linux-parisc@vger.kernel.org, Helge Deller , dri-devel@lists.freedesktop.org, James.Bottomley@HansenPartnership.com, airlied@redhat.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Helge Deller [ Upstream commit eb3255ee8f6f4691471a28fbf22db5e8901116cd ] Fix this makecheck warning: drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list' was not declared. Should it be static? Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- arch/parisc/include/asm/ropes.h | 3 +++ drivers/char/agp/parisc-agp.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/parisc/include/asm/ropes.h b/arch/parisc/include/asm/ropes.h index 8e51c775c80a6..62399c7ea94a1 100644 --- a/arch/parisc/include/asm/ropes.h +++ b/arch/parisc/include/asm/ropes.h @@ -86,6 +86,9 @@ struct sba_device { struct ioc ioc[MAX_IOC]; }; +/* list of SBA's in system, see drivers/parisc/sba_iommu.c */ +extern struct sba_device *sba_list; + #define ASTRO_RUNWAY_PORT 0x582 #define IKE_MERCED_PORT 0x803 #define REO_MERCED_PORT 0x804 diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c index 1d5510cb6db4e..1962ff624b7c5 100644 --- a/drivers/char/agp/parisc-agp.c +++ b/drivers/char/agp/parisc-agp.c @@ -385,8 +385,6 @@ find_quicksilver(struct device *dev, void *data) static int __init parisc_agp_init(void) { - extern struct sba_device *sba_list; - int err = -1; struct parisc_device *sba = NULL, *lba = NULL; struct lba_device *lbadev = NULL; -- 2.40.1