Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp761965ybc; Sat, 23 Nov 2019 07:54:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzZXCq9xg8w1DGv/I2SdSeiK8FLSfH/wMjJT1K/wO7m2T6L7CTnJSXxHQyUUxjDAJWrucm1 X-Received: by 2002:a17:906:1e03:: with SMTP id g3mr28861058ejj.331.1574524473488; Sat, 23 Nov 2019 07:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574524473; cv=none; d=google.com; s=arc-20160816; b=ZOFYUZ2mq/5C4yABJmVSrRwyBqzUPwEQ8LWhJO1IgBfIPvvtlJjkwpvbmrlyI6ir9o lsfKjcC0SWkIYr5z2ZdmQxiohpldoWG+MXpbqWuOBW6nWmrbJi6yfzSbCUqCSxL7r3WQ zKqkQ6+/r3ObqdkgfSIWfJYakgQ6dOmtlkMTQD7vJ3Jwj1YKHzL1YPmh5fhbLwE1CN7+ Ckzh60txCtVJA92b87ChHZsbQLKUBEOX1DH5lJpq1SR3bw+w0EnEWxHqLQe0L9/STQXa cvw02nPCaKwyj0oeWgoUW2pT4/BcAeUkLK4hkkobGT4zXzd68ttBIWftO7tG4w0u4fnG gjwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BXi3deF54sGR/egK+tvlhDb/J3j0F10pYzfaWN1Teyo=; b=sRGQEbZw7X2OUIfQAz44Q3tlZ+VDVucunbfr3xGZ5GYS9BX570osTscy6Moirxfkki zUWpcr6cvBSmaapuE6rZp3ss9AxHhJ9CjoKJ59uAP9WGbxnkc0kF6KfEXACkW0O8h9WJ gVea9KrW2EBRznsqMfbQ1PKnorN/b0PiEbApL8q1kkH6nSJymvl2EkTeOnnhy3mpAI5L 2MunB0oExHJ2hPEubXjLBa2gLSDIYr66uMuncJVKQT728VsdSK1nLn1x9P1uA5Bm9X9b 20KZE+bK4OJvcr+ee4PvS6z5Fqo4CcytQOJZrqTkiHMSllW4uGfZQPthG42BWsEXlULe ZKZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bo21si1063822edb.137.2019.11.23.07.54.09; Sat, 23 Nov 2019 07:54:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbfKWPxG (ORCPT + 99 others); Sat, 23 Nov 2019 10:53:06 -0500 Received: from mga11.intel.com ([192.55.52.93]:26989 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726487AbfKWPxF (ORCPT ); Sat, 23 Nov 2019 10:53:05 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2019 07:53:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,233,1571727600"; d="scan'208";a="219803690" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 23 Nov 2019 07:53:02 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1iYXiX-000GI5-Ui; Sat, 23 Nov 2019 23:53:01 +0800 Date: Sat, 23 Nov 2019 23:52:21 +0800 From: kbuild test robot To: Namjae Jeon Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu, hch@lst.de, linkinjeon@gmail.com, Markus.Elfring@web.de, sj1557.seo@samsung.com, dwagner@suse.de, nborisov@suse.com, Namjae Jeon Subject: [PATCH] exfat: fix boolreturn.cocci warnings Message-ID: <20191123155221.gkukcyakvvfdghcj@4978f4969bb8> References: <20191121052618.31117-13-namjae.jeon@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191121052618.31117-13-namjae.jeon@samsung.com> X-Patchwork-Hint: ignore User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot fs/exfat/file.c:50:10-11: WARNING: return of 0/1 in function 'exfat_allow_set_time' 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: f7c468dc756c ("exfat: add exfat in fs/Kconfig and fs/Makefile") CC: Namjae Jeon Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Namjae-Jeon/add-the-latest-exfat-driver/20191122-084735 base: 9942eae47585ee056b140bbfa306f6a1d6b8f383 file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/fs/exfat/file.c +++ b/fs/exfat/file.c @@ -47,11 +47,11 @@ static bool exfat_allow_set_time(struct if (in_group_p(inode->i_gid)) allow_utime >>= 3; if (allow_utime & MAY_WRITE) - return 1; + return true; } /* use a default check */ - return 0; + return false; } static int exfat_sanitize_mode(const struct exfat_sb_info *sbi,