[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YlIxJWek5a4wB8Jt@gondor.apana.org.au>
Date: Sun, 10 Apr 2022 09:21:41 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>,
"David S . Miller" <davem@...emloft.net>,
Sam Ravnborg <sam@...nborg.org>, sparclinux@...r.kernel.org
Subject: Re: [PATCH v2] sparc: cacheflush_32.h needs struct page
On Sat, Apr 09, 2022 at 08:16:09AM -0700, Randy Dunlap wrote:
> Add a struct page forward declaration to cacheflush_32.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 <rdunlap@...radead.org>
> Reported-by: kernel test robot <lkp@...el.com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Sam Ravnborg <sam@...nborg.org>
> Cc: sparclinux@...r.kernel.org
> ---
> v2: use forward declaration instead of adding <linux/mm.h> (Sam)
>
> arch/sparc/include/asm/cacheflush_32.h | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists