From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBD7CC4361B for ; Tue, 15 Dec 2020 18:16:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9597122515 for ; Tue, 15 Dec 2020 18:16:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731449AbgLOSQG (ORCPT ); Tue, 15 Dec 2020 13:16:06 -0500 Received: from mx2.suse.de ([195.135.220.15]:35144 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731353AbgLOSPx (ORCPT ); Tue, 15 Dec 2020 13:15:53 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C03FEAE5C; Tue, 15 Dec 2020 18:15:11 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 8551DDA7C3; Tue, 15 Dec 2020 19:13:32 +0100 (CET) Date: Tue, 15 Dec 2020 19:13:32 +0100 From: David Sterba To: kernel test robot Cc: Josef Bacik , kbuild-all@lists.01.org, David Sterba , Nikolay Borisov , Chris Mason , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: fix boolreturn.cocci warnings Message-ID: <20201215181332.GC6430@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, kernel test robot , Josef Bacik , kbuild-all@lists.01.org, David Sterba , Nikolay Borisov , Chris Mason , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <202011011347.QVW3uluR-lkp@intel.com> <20201101052051.GA16691@39d425248bd2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201101052051.GA16691@39d425248bd2> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 01, 2020 at 01:20:51PM +0800, kernel test robot wrote: > From: kernel test robot > > 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 > Signed-off-by: kernel test robot 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.