Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp318771pxb; Thu, 21 Jan 2021 07:52:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKpJHz2yvK6g3mpokZo8ppptFNzlEQnwS2dyjhqF3EIm7ZEaJsocn8KgsDY/Al4g/3rd8u X-Received: by 2002:a17:907:3345:: with SMTP id yr5mr103397ejb.50.1611244357614; Thu, 21 Jan 2021 07:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611244357; cv=none; d=google.com; s=arc-20160816; b=BYpDdxfeLlX/H4JzhBY4EabDDM8938OnyrCLx0l9bdCiIzxL7qgL1KLNuSlU7S4+jJ 5ueo43gogyDL28TyiMqREwkEF1rlrfHkk4hhayT3IxD0m02Yat4OCVQluJDsWtnO9npB 6hmS1CgXNZk09Hm+ndDCkKvS4NbVn/TzwMAHl34eKZzwAfGTrCPb0DL/NUjD5BjC8RYT QCP2LVnMhU+0O7vrAZPsQaTFg+PqCWmsG2SIX4llhDE+Pn6gt0SxOdHFAQaWq8YeTBYD kWyoMAToLXcbGrVnb4oQjCxaFj4N31oizW19K4Gf7oHvZKMeEmP6W5Lqiwfe27zStwaA TdEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BFnJgdsd/PRHlQDrSzf4Zz4cuDl+ehMHQo/Dg2SAZhs=; b=qN7GMoVnXTG5lF0Rjb13N1Vg5b54J5ye2rhF3ujLkbheMBaShusCZtRA39SL8zT4Qx Mm3INlbmzRFWr6mVGAL7EZDJQwah00A4/cR8IDfgGHk5WvydEFXw5ZOk4yYwyLK0YDPj EyWyOEyrXActX6srG6kDJmTNLrEdf9rV6LETMlKZ51nkxDqHXqIsHO1VZnPtZ9BD2EPS jEOBan3/TPm4pxIncLrNcmDOPUHgeMHeqzCuzb+SMOcaAjhhMB0rFpuNpz7QrJOuk2gz Vz/xqz9rjWvT3lVr+AF9s8ibmJVmW9uIeXRxuKbVgoxkJp27ZRAbfYOeNLAN2EP9bJlt JpEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=vmKiOWKT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si2379619edo.465.2021.01.21.07.52.14; Thu, 21 Jan 2021 07:52:37 -0800 (PST) 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=@infradead.org header.s=merlin.20170209 header.b=vmKiOWKT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387727AbhAUPup (ORCPT + 99 others); Thu, 21 Jan 2021 10:50:45 -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")