From patchwork Sat Apr 9 06:02:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 1615205 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jvs8++TG; dkim-atps=neutral Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kb4KK0B41z9sCD for ; Sat, 9 Apr 2022 16:02:45 +1000 (AEST) Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4Kb4KH2V1sz4xdd for ; Sat, 9 Apr 2022 16:02:43 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4Kb4KH2QlLz4xdf; Sat, 9 Apr 2022 16:02:43 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=sparclinux-owner@vger.kernel.org; receiver=) Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jvs8++TG; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4Kb4KH2M3zz4xdd for ; Sat, 9 Apr 2022 16:02:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234480AbiDIGEY (ORCPT ); Sat, 9 Apr 2022 02:04:24 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org 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' declared 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 +#include + #include #define flush_cache_all() \