From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4B58AC433F5 for ; Wed, 9 Mar 2022 16:22:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jKkNOO3OIqzoWdsxRPgE+1JKQYX1DmMCL1mxBF021gU=; b=JYjwB+vUTjdwaD GUVHKVLsDijGE43dcM/FD42scD6H0ZELfvzqFNAPe1l6vUEA2yzGA7q2ocbAZavSCsmgXc84duNi/ q+y/0KT8q8rPnW/KnP4fYrgOjQEd69wooeXpwTu/wOX7bYrhba+v1+LXQDSKcF0pWTY4XVPsRCuH8 LHKAWUjfTlyuP2D0rpADRjNPgRW69NmXRY5MGrB6uaqQN4WQyfumQFPgO9urxCzo9vkc18jv2y0IP tGKQ+TgiR5gF5RU7sZsL5NuB6cQA3zr15+DgHe1Uok6iIt1C4qe6mTKMSlzHf1ro2c38e+LFTBpua 6xIsXCpuvmaOO2gIk1mQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRz3l-009LqX-D2; Wed, 09 Mar 2022 16:21:10 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRz1U-009Ke0-NW for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2022 16:18:50 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 49C906194C; Wed, 9 Mar 2022 16:18:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4BBDC340E8; Wed, 9 Mar 2022 16:18:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646842727; bh=moiyWWCvlKZ5DvlGhseaEz8RqE7nWQEU8CCZWeccmlQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kq2vsmMDgjgy6pUZTBjbLkGXyb8N46iavvCJuwBHex0W/AoOhncAtbHMleeWB6vQo G9VN5wxRGtTyYjNoRyaFz++u1fZQ7zswFICVptCT4GncK1q4iocr/gvHukKs5NlwVu H9iPvagPy11xRbKp8amosi8sEJZEsY0UZuix7+LeqpUpPSU2BFX/yRNbqhhg9FC+39 nEImSK1Blf7KpACYxQix5OAE09VOucVqMiYFS1FevUh5dBBkqe8R9PyRkqVKwWQSuA CvgfTNAKB6H2O3IviRiGFZtAv8HLb8YuoF/BIOaXO52GUoCEkZzzwZbCpUAU9bnR/s 5dCX1lresDl3g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Casper Andersson , Joacim Zetterling , "David S . Miller" , Sasha Levin , kuba@kernel.org, lars.povlsen@microchip.com, Steen.Hegelund@microchip.com, UNGLinuxDriver@microchip.com, bjarni.jonasson@microchip.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 5.16 16/27] net: sparx5: Add #include to remove warning Date: Wed, 9 Mar 2022 11:16:53 -0500 Message-Id: <20220309161711.135679-16-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220309161711.135679-1-sashal@kernel.org> References: <20220309161711.135679-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220309_081848_858268_EE140757 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Casper Andersson [ Upstream commit 90d4025285748448809701a44cf466a3f5443eaa ] main.h uses NUM_TARGETS from main_regs.h, but the missing include never causes any errors because everywhere main.h is (currently) included, main_regs.h is included before. But since it is dependent on main_regs.h it should always be included. Signed-off-by: Casper Andersson Reviewed-by: Joacim Zetterling Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/microchip/sparx5/sparx5_main.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/microchip/sparx5/sparx5_main.h b/drivers/net/ethernet/microchip/sparx5/sparx5_main.h index a1acc9b461f2..d40e18ce3293 100644 --- a/drivers/net/ethernet/microchip/sparx5/sparx5_main.h +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_main.h @@ -16,6 +16,8 @@ #include #include +#include "sparx5_main_regs.h" + /* Target chip type */ enum spx5_target_chiptype { SPX5_TARGET_CT_7546 = 0x7546, /* SparX-5-64 Enterprise */ -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel