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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 DDD8DC433DB for ; Thu, 21 Jan 2021 15:51:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9405822C7B for ; Thu, 21 Jan 2021 15:51:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387738AbhAUPvK (ORCPT ); Thu, 21 Jan 2021 10:51:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387576AbhAUPss (ORCPT ); Thu, 21 Jan 2021 10:48:48 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0D75C06174A; Thu, 21 Jan 2021 07:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=BFnJgdsd/PRHlQDrSzf4Zz4cuDl+ehMHQo/Dg2SAZhs=; b=vmKiOWKT7FScXEh2kIQGBSn4+m CLWRqsGRf/3WRIRhJU9OtsGocypOnPDhp29PFP0AeLVtuVCrGqIGddfPAu197lvmxca3XPwY+2M1a +/++AKRS/psoriko+9CbEINmghQ8bPT4O2W8OEJICidzb8C2KqQeolPVfdUFHX6BbL1PRt6hY/Sdy Aia0GsZKhfzkqx+Ik+NBEy9Gc02gWB8yv06pz7Bu+VLkL5ENDXblSL6VWvEMgXnIucA9kDv7GQRR7 LzMUZxqMQfF89hCLPC7zbW+P9R20OsFbY+5n+k8fgUCnumZZD/x8w8Q8nYJFTk3REJPbj16IiFmwY xDIw0/aw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2cBS-0002IH-Sg; Thu, 21 Jan 2021 15:47:43 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 169513007CD; Thu, 21 Jan 2021 16:47:40 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F2E31200D6EE0; Thu, 21 Jan 2021 16:47:39 +0100 (CET) Date: Thu, 21 Jan 2021 16:47:39 +0100 From: Peter Zijlstra To: Jiapeng Zhong Cc: pbonzini@redhat.com, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: vmx: Assign boolean values to a bool variable Message-ID: References: <1611218906-71903-1-git-send-email-abaci-bugfix@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1611218906-71903-1-git-send-email-abaci-bugfix@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 21, 2021 at 04:48:26PM +0800, Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./arch/x86/kvm/vmx/vmx.c:6798:1-27: WARNING: Assignment of 0/1 > to bool variable. > > Reported-by: Abaci Robot Your robot is running old scripts; please see commit: 2b076054e524 ("remove boolinit.cocci")