Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp964750ybz; Wed, 15 Apr 2020 23:36:56 -0700 (PDT) X-Google-Smtp-Source: APiQypKyQ9+WpdS27+f9j6slwMUE9fsK1VgFuWZ5jOJEdqKYnwXbjovFPi0+vOjrg+E+o4FMy525 X-Received: by 2002:a50:9dc4:: with SMTP id l4mr28865612edk.234.1587019016629; Wed, 15 Apr 2020 23:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587019016; cv=none; d=google.com; s=arc-20160816; b=mLipuh9vegy+r09VX4bR9B2SMCGJ5+yeWUbSqX65jH6LTK2Yh0nXZc3XZcKjHZLs62 xdJG78Z95aLVEzxn4ed3LW2wAsiwFf7Uk9JdZEg9VuYofBovjVTz8sfPB+1/oS2DDWC4 kwnnhJq0qNZP2SRJRByZNB8KK8XXVntkUYl6bI+vW1WoaokFRW54StolMXhlOZJ8a4gX RrtnnAAHl8Tmmi3ozMgj3MsZvJXlK4Vhaoo6Vy1t316f53bAi1fXDPiY7Rsmx20nnW6P pLBGNjwKmqinXlhO/w4VK5XiBVGP6PVHk5C++HF0SxTd1aYpXLIWWlV733z9neqqhHA7 bz/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:cc:to:from :dkim-signature:dkim-filter; bh=ypbsvyhjVcYP3b7mJXEBHON652dLD6LimgwxQLEbcVg=; b=NvzCQ2GmitymCYlvBHInTZBwO0IjjVBvXNDvdQc9qHwlDOTjGSgZLV3v4Q7CFQgDTK MiT+wS8DKHJcmdpLDE3FYmpbkKpqc4/12OKEEF4PwmtSRnlelJIA6/AsaoajT8B/Fl87 AOIhSoLChjVUlJQ49wyLDjU8ya3xzop0uXmX6A55wQUXOy1pEklTaVKYdlXfBQ/a7Pb9 oT1DMrRlwwbyhxxSstkUO/730GPB8v7KOyi9+5rs0rwFgu6KIRWlsQdfYuJg7nkur2nm r58WxxtBV1ajrdyWFj8mNnoXdgSk3n2r2c2tSb9wPtIMu4iRjZ9n5mMDZ0oMVObLFrye 1XEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=rtGQAc6K; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si4659337edd.86.2020.04.15.23.36.32; Wed, 15 Apr 2020 23:36:56 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=rtGQAc6K; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408098AbgDPGez (ORCPT + 99 others); Thu, 16 Apr 2020 02:34:55 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:63814 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407932AbgDPGeq (ORCPT ); Thu, 16 Apr 2020 02:34:46 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200416063438epoutp01b1121836b3c460eda5841e41ea72f297~GOUMINP0i2527925279epoutp01f for ; Thu, 16 Apr 2020 06:34:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200416063438epoutp01b1121836b3c460eda5841e41ea72f297~GOUMINP0i2527925279epoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1587018878; bh=ypbsvyhjVcYP3b7mJXEBHON652dLD6LimgwxQLEbcVg=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=rtGQAc6KaLvW+YsdH2BqVy2f+H0q97O7WSiuOk59Ko9pKwl8oYr0lHc4fLcJ9uNa5 PnlIMlL11oGvBRomJzRlA+6h/hlsTGJhhEoRiUBNpjERS2LGXKtWQ2aQCzYD4WJWrO GZbUtdqlXwBO2DZdZZL3fJ65SpXD9H/btmyvI9aE= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200416063438epcas1p19ed71eb6f5562220caa12ba0c522daaf~GOUL2lWLk1555415554epcas1p1m; Thu, 16 Apr 2020 06:34:38 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.40.166]) by epsnrtp2.localdomain (Postfix) with ESMTP id 492qFn2THczMqYkp; Thu, 16 Apr 2020 06:34:37 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id BD.E2.04402.A7CF79E5; Thu, 16 Apr 2020 15:34:34 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20200416063434epcas1p3465ee3316a5d55ab11cfe6d056cd4825~GOUHt8b3c2907429074epcas1p3I; Thu, 16 Apr 2020 06:34:34 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200416063434epsmtrp121f998f476051f5253b7296bd7dddb3c~GOUHs3KOH2862128621epsmtrp11; Thu, 16 Apr 2020 06:34:34 +0000 (GMT) X-AuditID: b6c32a35-76bff70000001132-53-5e97fc7a9dab Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 44.4A.04158.97CF79E5; Thu, 16 Apr 2020 15:34:33 +0900 (KST) Received: from namjaejeon01 (unknown [10.88.104.63]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200416063433epsmtip22dd791dee7908fa564fb4d2b9b37af0b~GOUHgt-mx1229512295epsmtip2d; Thu, 16 Apr 2020 06:34:33 +0000 (GMT) From: "Namjae Jeon" To: "'Jason Yan'" Cc: , , In-Reply-To: <20200414120225.35540-1-yanaijie@huawei.com> Subject: RE: [PATCH] exfat: remove the assignment of 0 to bool variable Date: Thu, 16 Apr 2020 15:34:33 +0900 Message-ID: <003f01d613b9$17864000$4692c000$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHfREGer/8Wwi5J5+kbn3sveF3gFwD0yP6kqGFCiRA= Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmk+LIzCtJLcpLzFFi42LZdlhTV7fqz/Q4g1fHxS327D3JYnF51xw2 iy3/jrBaLNrTyezA4tFy5C2rR9+WVYwenzfJBTBH5dhkpCampBYppOYl56dk5qXbKnkHxzvH m5oZGOoaWlqYKynkJeam2iq5+AToumXmAG1TUihLzCkFCgUkFhcr6dvZFOWXlqQqZOQXl9gq pRak5BQYGhToFSfmFpfmpesl5+daGRoYGJkCVSbkZJx+O4Gp4DBbxdFjyxkbGKexdjFycEgI mEjsuqDTxcjFISSwg1Hi0qz3bBDOJ0aJxdcWMEM43xglms6uAXI4wTp27H7PApHYyygx5+tR KOclo8TPya9ZQKrYBHQl/v3ZzwZiiwioS7SvvckOYjMLxEss3nEcLM4pYCkx99gusHphAXeJ WzvXMoHYLAKqEq8eHmEEsXmBaiY1XGKHsAUlTs58wgIxR15i+9s5UBcpSPx8uowVYpeVxMdT cxkhakQkZne2gb0gIXCCTaJz2jFGiAYXiW2/P7ND2MISr45vgbKlJF72t7FD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SSQnliSmp2aWpBaBJNl4uCU amBU+jRXk01edUPEi9xpH5z15bN3ztPeseVqwo6X2YF2vV1vgzvXNL7/Zuiv9WDquhWbZWxS Jn3vUtF5KissrXg1hXveg/q6X4mW751OdH07IO4syfFvLQvr9iese24L65i914u6tsW6MWHC Crc7K1bdlhJY4acU4amnfqKR+bn29Fv/JJN8vr1XYinOSDTUYi4qTgQAnm1OdIgCAAA= X-CMS-MailID: 20200416063434epcas1p3465ee3316a5d55ab11cfe6d056cd4825 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200414113819epcas1p4eafa861bec639fcdcb931fb68c1086ce References: <20200414120225.35540-1-yanaijie@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > There is no need to init 'sync' in exfat_set_vol_flags(). > This also fixes the following coccicheck warning: > > fs/exfat/super.c:104:6-10: WARNING: Assignment of 0/1 to bool variable > > Signed-off-by: Jason Yan Pushed it to exfat dev. Thanks for your patch! > --- > fs/exfat/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/exfat/super.c b/fs/exfat/super.c index > 16ed202ef527..b86755468904 100644 > --- a/fs/exfat/super.c > +++ b/fs/exfat/super.c > @@ -101,7 +101,7 @@ int exfat_set_vol_flags(struct super_block *sb, > unsigned short new_flag) { > struct exfat_sb_info *sbi = EXFAT_SB(sb); > struct pbr64 *bpb; > - bool sync = 0; > + bool sync; > > /* flags are not changed */ > if (sbi->vol_flag == new_flag) > -- > 2.21.1