Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2637919pxf; Sat, 27 Mar 2021 19:39:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0RV+jEzgKP9NoGGOGlBX6kp950YKEvqdICV1T1gMZAEqou2+ZExEpOa0h5rFHmTOSeMXj X-Received: by 2002:a17:906:51c3:: with SMTP id v3mr22655700ejk.497.1616899157145; Sat, 27 Mar 2021 19:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616899157; cv=none; d=google.com; s=arc-20160816; b=k4ReXXactNI+PmI5/XonHW01bl7VTcZkE75JFVL6MB7eOosSbxFmHrw31OxsNu+iZC yAb5oOQxuJVseD7itqYkYs4clAh04VW2ffEvuL8DR5yp077fd3qPLIfoXcljcwcGVnl0 UD1y3wpSdMBIcHEnz5lPlsoqOM3aha4bZBDBPC/CY1VBgYYjdoCpKWaej244Qpwr0rMb iMk3z17b6QPm6g4E5bS3KS4h+Ftuj839ZHshWx1CqHaqeFs4Kmeoo3RRqujHmo9FSkal a8/U5AKCtFUdWX9xrGZVqL0kLLsHc2k2XRwDwKH3TovAVPdfzrKWw7n9WKpJ+F6Gdxn/ s8Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=zUxjZUIW2pgIwtQwvlhOjc0F/icvc/yr+8urhwShA/g=; b=pUHnX6YdPU2nHx6jEqWv/n7I6H5k9khVbc4oxYb481DhfRNm3EcGgKVx8D7z9sQuC7 L0pM2reaOo16ByI7HPjsiR4eVplgWgYHjEvn+d/9tcsz6LczIqd9bxV9OiBUP27CIyQK wU87c+ec6c1MDrvNJohUvTOfT4mTXrW4yd1jNBJU7496VimQIwjMS+v6n0h2OJlwaDJK Dc4SPBG6ddGKHQq3vElXnxPOdWdUC8c9i89xralE/uRxKVy52/gxsdAt4UtDI5iJK3SU X76ZGfJFBuxdNQo10P/PE7YZMh9s3Vlxv9Y2htd0rn/H9JsekRAq4YRoacf0FtjBLVWq urXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a20si11026572eda.157.2021.03.27.19.38.54; Sat, 27 Mar 2021 19:39:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231293AbhC1CO4 (ORCPT + 99 others); Sat, 27 Mar 2021 22:14:56 -0400 Received: from mga09.intel.com ([134.134.136.24]:54163 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbhC1COM (ORCPT ); Sat, 27 Mar 2021 22:14:12 -0400 IronPort-SDR: ISxH3CT2y/BU7Vfx0xoO6izXLDVcTUgbQVjw/Rha8ifc2vI1dCTWry6L5WtJRvqZPcRzr4BniF bCM0ud9wnGKg== X-IronPort-AV: E=McAfee;i="6000,8403,9936"; a="191451284" X-IronPort-AV: E=Sophos;i="5.81,284,1610438400"; d="scan'208";a="191451284" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2021 19:14:12 -0700 IronPort-SDR: g8qTqyB94+763uJKedYEmz7tTbf1mIIOz9wbMPnXIL2nn9r7c3WMXbKY6GGGPac9Pi45e503S4 fBVXNIIjdUTw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,284,1610438400"; d="scan'208";a="377690247" Received: from lkp-server01.sh.intel.com (HELO 69d8fcc516b7) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 27 Mar 2021 19:14:09 -0700 Received: from kbuild by 69d8fcc516b7 with local (Exim 4.92) (envelope-from ) id 1lQKwK-0003ms-Np; Sun, 28 Mar 2021 02:14:08 +0000 Date: Sun, 28 Mar 2021 10:13:32 +0800 From: kernel test robot To: Konstantin Komarov , linux-fsdevel@vger.kernel.org Cc: kbuild-all@lists.01.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, pali@kernel.org, dsterba@suse.cz, aaptel@suse.com, willy@infradead.org, rdunlap@infradead.org, joe@perches.com, mark@harmstone.com Subject: [PATCH] fs/ntfs3: fix boolreturn.cocci warnings Message-ID: <20210328021332.GA68309@116d7529a87d> References: <20210327214023.3214923-10-almaz.alexandrovich@paragon-software.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210327214023.3214923-10-almaz.alexandrovich@paragon-software.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kernel test robot fs/ntfs3/xattr.c:1037:8-9: WARNING: return of 0/1 in function 'ntfs_xattr_user_list' 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 CC: Konstantin Komarov Reported-by: kernel test robot Signed-off-by: kernel test robot --- url: https://github.com/0day-ci/linux/commits/Konstantin-Komarov/NTFS-read-write-driver-GPL-implementation-by-Paragon-Software/20210328-054516 base: 931294922e65a23e1aad6398b9ae02df74044679 xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/ntfs3/xattr.c +++ b/fs/ntfs3/xattr.c @@ -1034,7 +1034,7 @@ out: static bool ntfs_xattr_user_list(struct dentry *dentry) { - return 1; + return true; } static const struct xattr_handler ntfs_xattr_handler = {