--- a/include/linux/page-flags.h~mm-fix-boolreturncocci-warning +++ a/include/linux/page-flags.h @@ -383,7 +383,7 @@ static __always_inline int TestClearPage TESTCLEARFLAG(uname, lname, policy) #define TESTPAGEFLAG_FALSE(uname, lname) \ -static inline bool folio_test_##lname(const struct folio *folio) { return 0; } \ +static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ static inline int Page##uname(const struct page *page) { return 0; } #define SETPAGEFLAG_NOOP(uname, lname) \