Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4408531ybg; Tue, 29 Oct 2019 06:46:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtT7PhrA3kLXpa436/CISHwRdydOtaqbcL5MbO2TjW5ZLld+ctPe6oO2EPHUgd+IuTFLkP X-Received: by 2002:a17:906:229a:: with SMTP id p26mr3394766eja.76.1572356794471; Tue, 29 Oct 2019 06:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572356794; cv=none; d=google.com; s=arc-20160816; b=gjLLB2TZ6VQEW7c5pdoPBv0p6a51gHGvtniE67pcUhayMA1D+3fLrXeynDkbHn2bwF 0tsyo3sBsU720DtpOGzkaPgKNPdmLZXFZXjXu4QRUNipK9svsdoIP7R/hTFoUOQQUMOC l7JmH/MqgbS8BGsRKngjIx8Gu2LnhGnbKgWibNEIrRBeNE5BHAst00bdb6E2+mtMVXma 54BYlRJTiCYW6zJmbY+9aLnbna2nCvsOK9VX0Let88PH4mcH7PvfbJaN54yRY5xlgK/r v76v8R2LzkI69PZc7ziJKJ0d90Yd6ie4l7R5ATjMzKRW+Otyx0bZymZavkfjBs1oSG8n 0TWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=T+RMrtgdfzjc/OGIdlXsvb0nZaqRH2vX18Kq3/3EKqI=; b=ZMYcDnQQsMgzLNdKkCHJKjSzoX5dQdL0Zbj+FEcsdiyNXm6pDwaz04BG/Y5mI1LiCa y3DTFrGa37zGHO6jDTazbQyyW3LUY4KQFRjUB+MKOKaowZ07HWd9z3GTp95s3LwvrxMR vIMVebSl2ysKzaMA6WEP+x1BDpLkpRv9iegOzYBzImndEXvaO0hfcipNUz6115d1tfmL xSBDjsNzk0S75lEhhEZqfFv6WuxO53KVC2p8D61XEHrWtdRnW8Fm55JxCjOtJDD4q3GW 5XcpLOzbYpwxCr0EHCeYaetxN3cDv2fTXwWSArPGDpFOIpoH9j0yi+UnLc+vXWgcVTTd P4vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K4M0nuUJ; 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 i30si926711edd.124.2019.10.29.06.46.10; Tue, 29 Oct 2019 06:46:34 -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=K4M0nuUJ; 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 S2388852AbfJ2Nm5 (ORCPT + 99 others); Tue, 29 Oct 2019 09:42:57 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38857 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388604AbfJ2Nm5 (ORCPT ); Tue, 29 Oct 2019 09:42:57 -0400 Received: by mail-pl1-f196.google.com with SMTP id w8so7645659plq.5; Tue, 29 Oct 2019 06:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=T+RMrtgdfzjc/OGIdlXsvb0nZaqRH2vX18Kq3/3EKqI=; b=K4M0nuUJihJyyQpsNNz4+G+YgeMqV2CMO7m5ggIevT9pzlISKthVMk06p/lfmpZKCp hOv1TTfx5t0PxzPUGDHtVyKgN1maIi/lO9XpIj8q6yXgEDR6VZy31do0uNIOy5uj69Z/ F8tG2p4k71wFYnclQ4IubmJQ6EaZ7C+myEKsZzwTJv0qbTMaN4kWLamUeqyOKwgrPvuf f1hayvI7E6slrD6OhzsFeFB9cj3MklSZqW+pJ23MAoyvvAKeQdpGOXI4jlf6fHnWmnak c7lcjMPg76BVrJzExuTfzsHhk7HB492Cszx30aG73En84YsC5BpJChnAN2dOJOgTXVQ4 I2Eg== 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:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=T+RMrtgdfzjc/OGIdlXsvb0nZaqRH2vX18Kq3/3EKqI=; b=YIw/1K1jUJunehsqnAYT+FV7EdgkboeW9iaTo8rsLYcYARUX2Y3SuAV9ZCR9B+7U1j GkgDd8pTaYUnSwZIXk06BAyqrQ2RqqpryxozplHIBU9eT1CzlLe0WsmEHXcgaz7vA6q6 MaVem+2aLjzfG1n5KhgSUb32h2GgzVYX+sTX6IIcStqwdtnsG2+fVXbzTpoJtt5WnKRl /l5DeWrKOv4ORAl35WuA4g7Nn9csdizu3aU6TIdvVyT0cd7RjhbyLdPJKEBmD7TNsdwn S1R6V7TZ1ZsBcdfd6A2+PIYBe1+XTHCOpTqqKGx8hmTVNgZ7f39Z22VkLqjw/4M0k9hK 262Q== X-Gm-Message-State: APjAAAXm1na/6ZlOsYFRsj3LpQAgM00HfdBwG19cYFA9hl4DgRYdqzsL wrOZNbDQilhlQwnX4iqyA+w= X-Received: by 2002:a17:902:6946:: with SMTP id k6mr4360425plt.60.1572356576161; Tue, 29 Oct 2019 06:42:56 -0700 (PDT) Received: from saurav ([117.232.226.35]) by smtp.gmail.com with ESMTPSA id m17sm8407635pfh.79.2019.10.29.06.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 06:42:54 -0700 (PDT) Date: Tue, 29 Oct 2019 19:12:46 +0530 From: SAURAV GIREPUNJE To: Peter Zijlstra Cc: pbonzini@redhat.com, rkrcmar@redhat.com, sean.j.christopherson@intel.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com Subject: Re: [PATCH] arch: x86: kvm: mmu.c: use true/false for bool type Message-ID: <20191029134246.GA4943@saurav> References: <20191029094104.GA11220@saurav> <20191029101300.GK4114@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191029101300.GK4114@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 29, 2019 at 11:13:00AM +0100, Peter Zijlstra wrote: > On Tue, Oct 29, 2019 at 03:11:04PM +0530, Saurav Girepunje wrote: > > Use true/false for bool type "dbg" in mmu.c > > > > Signed-off-by: Saurav Girepunje > > --- > > arch/x86/kvm/mmu.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c > > index 24c23c66b226..c0b1df69ce0f 100644 > > --- a/arch/x86/kvm/mmu.c > > +++ b/arch/x86/kvm/mmu.c > > @@ -68,7 +68,7 @@ enum { > > #undef MMU_DEBUG > > > > #ifdef MMU_DEBUG > > -static bool dbg = 0; > > +static bool dbg = true; > > You're actually changing the value from false to true. Please, if you > don't know C, don't touch things. Hi, Thanks for your review. I accept that I have given wrong value "true" to debug variable. It's my bad my typo mistake. I will make sure that I will not touch your exclusive C code where we can assign 0/1 to a bool variable, As you have given me a free advice, I also request you to please don't review such small patches from newbie to discourage them. Regards, Saurav