CC: [email protected] TO: Johannes Weiner <[email protected]> CC: "Jan Alexander Steffens (heftig)" <[email protected]> CC: Andrew Morton <[email protected]> CC: Linux Memory Management List <[email protected]> CC: [email protected]
From: kernel test robot <[email protected]> mm/truncate.c:41:9-10: WARNING: return of 0/1 in function '__clear_shadow_entry' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci Fixes: e4a48ba8328c ("ZEN: vfs: keep inodes with page cache off the inode shrinker LRU") CC: Johannes Weiner <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: https://github.com/zen-kernel/zen-kernel 5.7/zen-sauce head: 9555af4960645728364e3b2aaae65e6ea7df0062 commit: e4a48ba8328ce64b05f0cde3bdc918fa999373b0 [9/22] ZEN: vfs: keep inodes with page cache off the inode shrinker LRU :::::: branch date: 13 days ago :::::: commit date: 13 days ago truncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/truncate.c +++ b/mm/truncate.c @@ -38,7 +38,7 @@ static bool __must_check __clear_shadow_ xas_set_update(&xas, workingset_update_node); if (xas_load(&xas) != entry) - return 0; + return false; xas_store(&xas, NULL); mapping->nrexceptional--; _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
