]> 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)
commitbd30106bd4097b36cd648d79fa593a303a486b88
treefee0b30d3d92b458ae163cfcae7d02ce6b5719fd
parent6eee8bf80ea262f09da728d610c821b7856771f3
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: c87704b91484 ("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