Messages in this thread | | | Date | Tue, 15 Dec 2020 19:13:32 +0100 | From | David Sterba <> | Subject | Re: [PATCH] btrfs: fix boolreturn.cocci warnings |
| |
On Sun, Nov 01, 2020 at 01:20:51PM +0800, kernel test robot wrote: > From: kernel test robot <lkp@intel.com> > > fs/btrfs/space-info.c:810:9-10: WARNING: return of 0/1 in function 'need_preemptive_reclaim' 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: fc96d3794eb2 ("btrfs: rename need_do_async_reclaim") > CC: Josef Bacik <josef@toxicpanda.com> > Signed-off-by: kernel test robot <lkp@intel.com>
The patchset is still in a topic branch so I folded the change. There were more int/bool mismatches in other patches, that got fixed too.
| |