Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1107982ybi; Sat, 8 Jun 2019 02:41:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwH8H9chvJJgWXNSMdYVs0WjakYPDn8/CMwm316gkNQX8LV/mRHSFUfUcGq+MChUDOQEtLb X-Received: by 2002:a17:902:b58f:: with SMTP id a15mr59848435pls.201.1559986865113; Sat, 08 Jun 2019 02:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559986865; cv=none; d=google.com; s=arc-20160816; b=amXN0BD5Bt9L4CTnemk9ZfAUuf4MqLcmzabp4y6q9/NvjkXkwbRTT7/gepxGrE7QRZ syv5FHTdR+qpvNcEjkH+VqeNPr1/jkFP74PDC7eDrpRz12d3iuMUUOi5mAHftXJCwyPy INktBEULrqy3U6Hd2bSfC2RcqpJF5pmnETia6MvJ5kO52d2dEXe28H9u9V0XdUO21EeD mZFofkY565OWbcZapz8iRy+rgJsoRUvgO/WWocypntgjJcGaVl9e9QiGuSa3rXW2wqzW Neeb/TIGHJKAdMLTFJ7lUjtwDGwtu19Pn06l5SpgbBd76cGL/OXSWRapIrlQVFgF6GLe d5QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=zUjxWxq5BrI2FdDPrseDzMNtgvtMjERhQiQzZo7nm7E=; b=xtZgRXBsFEJx4Lz9XIOE3v5x2puclMSH+gbhlkJB3Sd4WKDYMISD1Npb2NNlXaE03c pjkcaX8mJN1NJAYS0JuW687HIMuGeMU2ZF+t3Nu85BYj13zIbyH1MxqL2lxfOCN+1JB1 CC8PigykUe51/2dyqyFTBBNa+043l7thIoB+4Am3Ujr0XRxqriKNFErQKMSexjfsrtxX LSmgdW/ZTc4St9TInwUDZNmAUiN5Y0RBhNGLbVAZjckOVVLDzkOSkm21wStlpzLUX0M4 VjpZnzV6axq6wj32XEyMHpHismV/dNmb6kwSykNDuNvNR4iYmipJwrVa4traf69lzWPo sR9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TAMq7WgC; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a18si305199plm.171.2019.06.08.02.40.48; Sat, 08 Jun 2019 02:41:05 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TAMq7WgC; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726701AbfFHJjm (ORCPT + 99 others); Sat, 8 Jun 2019 05:39:42 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42546 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbfFHJjm (ORCPT ); Sat, 8 Jun 2019 05:39:42 -0400 Received: by mail-pf1-f194.google.com with SMTP id q10so2524794pff.9 for ; Sat, 08 Jun 2019 02:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=zUjxWxq5BrI2FdDPrseDzMNtgvtMjERhQiQzZo7nm7E=; b=TAMq7WgCUSTJYkkb+calodVXAtvnqOeZde9ehQHvFCXrubzN4fWZzQgbwa8bHq6C1M AtlxxKBDISu2nzuZWa7xYljbMFCEcOW2kExJ03L/SfOpiQzq5Ai0mx5W/TmR98lz+mpe 88iVjnMKH+Xop89CHXoJOZv30UlNude7LIPzdm3mXq02qdVDII3LTCzxmihX2CGPZbSd hO4mazSLbrevzHNGJvMUtuImLT+94ajD0mJ7QdK3WORuMX0Pdm/aEDRWyHofxctadCmM 5nwENFnPVVc+BtTwLLLMehuDKltXUs6zVZdOlqPgBnVVXlVYUnMy9mOZNmql49weDNe6 hhXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=zUjxWxq5BrI2FdDPrseDzMNtgvtMjERhQiQzZo7nm7E=; b=apW2p0u5USjqilgtjnmSXIAz6MzmZ4dhRa38GJoOCmBsp9u0wiuu4iHuUgvJRHlXcx QwdJQGW7RtatOBQ+7ZM+0I6TCxyxM1j97JNtNviu5rNupxrkewti5lUCZAeZh/FpAAU/ JxD1g88UJDYMqi3uytyGjrIwDRCFKpIzHgJoxt4etHj8iCrwpDdlZTKTtlixjdfr/QhS UCp5KAzzCQ7JW66gZ/OTZ31S2AgoEhiuF9Tjmi4b0zXYT9tVyQueJSQ5t4iyShfZof4S 6cpcrjNu9y/wUTyvIP5bZU63ZlaR70Ll54aRUQz9gSEBeIq81MIjHOklJKvPS9WQ7WsV K0wg== X-Gm-Message-State: APjAAAX8y3sJAoW1ZUVwDsTdXdtICrd6sLcTgoGzcg97UG1sUoBJ1xEt jjwkWZ5peSlN2yaXdHPVnP0= X-Received: by 2002:a62:4c5:: with SMTP id 188mr63276002pfe.19.1559986781709; Sat, 08 Jun 2019 02:39:41 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.89.153]) by smtp.gmail.com with ESMTPSA id 66sm4883523pfg.140.2019.06.08.02.39.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 02:39:41 -0700 (PDT) Date: Sat, 8 Jun 2019 15:09:37 +0530 From: Hariprasad Kelam To: Gao Xiang , Chao Yu , Greg Kroah-Hartman , linux-erofs@lists.ozlabs.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: erofs: fix warning Comparison to bool Message-ID: <20190608093937.GA10461@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix below warnings reported by coccicheck drivers/staging/erofs/unzip_vle.c:332:11-18: WARNING: Comparison to bool Signed-off-by: Hariprasad Kelam --- drivers/staging/erofs/unzip_vle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/erofs/unzip_vle.c b/drivers/staging/erofs/unzip_vle.c index 9ecaa87..f3d0d2c 100644 --- a/drivers/staging/erofs/unzip_vle.c +++ b/drivers/staging/erofs/unzip_vle.c @@ -329,7 +329,7 @@ try_to_claim_workgroup(struct z_erofs_vle_workgroup *grp, z_erofs_vle_owned_workgrp_t *owned_head, bool *hosted) { - DBG_BUGON(*hosted == true); + DBG_BUGON(*hosted); /* let's claim these following types of workgroup */ retry: -- 2.7.4