From nobody Mon May 11 09:55:48 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1BCBC433F5 for ; Sat, 9 Apr 2022 06:02:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239948AbiDIGE1 (ORCPT ); Sat, 9 Apr 2022 02:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbiDIGEX (ORCPT ); Sat, 9 Apr 2022 02:04:23 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E135E3221C4; Fri, 8 Apr 2022 23:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=smiL1RX2f47B2GeBUAyx7keJXXFGrb7ob2LG+/xBNFI=; b=jvs8++TGGZAgsbxLcoHOLjO8oS BfbWVPaqAKJj638koajoDkn/RxfZ8EUjWykn/TZjLmYcCoJ7o4718GwOgV8dm4vLUi7yzI5YfAxie TAZ/rE04176vOVYRkGV9pMrYvK3Lm4191XNwZzB9ThvkU3IJOZ0tnwrUatsbh9rYtkXizNfeg5Jwg MyFekmSIUBRtI86+Dz2WPi+leNR0LVLo7nNOOckzJNyRx4XveFbehxl+rmvNwdCRrPkjdKVLi1E5S UKhM4IgviInPehp/yDHteB8lElPlilgr67HRzmJCdLAK9LG/rxIqzRXhKFBJBby2iAodQAbLs3Wcd FeNMFBYQ==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nd4Aq-002OJk-Ng; Sat, 09 Apr 2022 06:02:16 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Herbert Xu , "David S . Miller" , sparclinux@vger.kernel.org Subject: [PATCH] sparc: cacheflush_32.h needs Date: Fri, 8 Apr 2022 23:02:15 -0700 Message-Id: <20220409060215.19890-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add to cacheflush_32.h just as in cacheflush_64.h. Fixes this build warning: CC drivers/crypto/xilinx/zynqmp-sha.o In file included from ../arch/sparc/include/asm/cacheflush.h:11, from ../include/linux/cacheflush.h:5, from ../drivers/crypto/xilinx/zynqmp-sha.c:6: ../arch/sparc/include/asm/cacheflush_32.h:38:37: warning: 'struct page' dec= lared inside parameter list will not be visible outside of this definition = or declaration 38 | void sparc_flush_page_to_ram(struct page *page); Exposed by commit 0e03b8fd2936 ("crypto: xilinx - Turn SHA into a tristate and allow COMPILE_TEST") but not Fixes: that commit. Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Herbert Xu Cc: David S. Miller Cc: sparclinux@vger.kernel.org --- arch/sparc/include/asm/cacheflush_32.h | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/sparc/include/asm/cacheflush_32.h +++ b/arch/sparc/include/asm/cacheflush_32.h @@ -2,6 +2,8 @@ #ifndef _SPARC_CACHEFLUSH_H #define _SPARC_CACHEFLUSH_H =20 +#include + #include =20 #define flush_cache_all() \