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 DA8C7CE7A8F for ; Sun, 24 Sep 2023 13:20:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A2AA410E1AB; Sun, 24 Sep 2023 13:20:46 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 659DD10E1B0 for ; Sun, 24 Sep 2023 13:20:20 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 4167FB80ADB; Sun, 24 Sep 2023 13:20:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAD02C43397; Sun, 24 Sep 2023 13:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695561618; bh=/0DxeFclJanmHoVCa2JuctmAc4IoTLcES89kTw6xPoU=; h=From:To:Cc:Subject:Date:From; b=iB4H/SFYIh9jI2LMrdbvxeedgYVHFSffsYW2fmH4uIhexXRDYmXhJ+QQWEGA6CEqs OQz+897LpQ/GHqEY2W8NimZBj0IXpcDQcLW3Y5OktME9GR8pTQv3tzf676Zg2cdCLu CNGZi+jZhxH5cn0yvCmnyLLI8NpUZJPH7znqNN1+bZ3IM2BtjqYmTET39Z3q5CMUNB IT/PebEtWg7MobNQI1Lr56Skd+juN+e51oZsvONEU3UiJ1TBn+ZGt8gtIJ3uOtWz+T T4cd3PTQMgMF/CVpqat/GRCi3b+r3ZSZW89S9ua1WRViUJR4dzdKw7cE7NuIvS3BdU +Okw2WTaEXgVw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 1/7] parisc: sba: Fix compile warning wrt list of SBA devices Date: Sun, 24 Sep 2023 09:20:08 -0400 Message-Id: <20230924132015.1276811-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 5.4.257 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 514f9f287a781..c6f181702b9a7 100644 --- a/drivers/char/agp/parisc-agp.c +++ b/drivers/char/agp/parisc-agp.c @@ -394,8 +394,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