]> git.baikalelectronics.ru Git - kernel.git/commit
cacheflush.h: Add forward declaration for struct folio
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Mar 2022 03:35:10 +0000 (15:35 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2022 17:11:03 +0000 (10:11 -0700)
commit83d01e4f3a356c49869a237f414f94df330834df
treefee0b30d3d92b458ae163cfcae7d02ce6b5719fd
parentd4a39593edb75f5df38f792b5c4348261d798f0f
cacheflush.h: Add forward declaration for struct folio

The struct folio is not declared in cacheflush.h so we need to provide
a forward declaration as otherwise users of this header file may get
warnings.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: a6de62826e26 ("Add linux/cacheflush.h")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cacheflush.h