Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6904406rdb; Tue, 2 Jan 2024 19:12:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVnLeBzVbkMqtu6iTFcOOslGtsk44fXINFuQE4obKEwwKvozHRck8fUzwnqFZZAmsbrmCf X-Received: by 2002:a05:6a00:bd0:b0:6d9:e611:b1cc with SMTP id x16-20020a056a000bd000b006d9e611b1ccmr5785073pfu.34.1704251527424; Tue, 02 Jan 2024 19:12:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704251527; cv=none; d=google.com; s=arc-20160816; b=qn9o0RlwBm1GtB+ztJTiTS8xoOiHUs62IwDSSaen2jjYjvWFYwFIlwvpZxXzNkP444 +c83sWF+2LbLJnrY2Wirq+VOkdEmQZBFjc4YEIct6XXq0KdwBmUbY/bvqTcWU2+n5hr/ dTRKYExljcigyHXqCD9ycavewbg2Lu1qRMS82p+I6OWRSdCTg2fSxixFMKdZxA66GU+i /CNvCPcZ4Y0+TmpCHE5Low11UeGxJznP6+Ur3mld0QngoH/ix0AXGI29JPGLMraM0rtY WkD5ha9AlAf0MJKbCog2zh7ekk2CCI6ZUsEC3SDwUlPdEVtBTIzJY1F7yIpg6fz81XWY D2GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OXewUFkc0t88ozLFC25+VW2dnt6DGBV/hBW3v/xF3/g=; fh=YsfTl7qN5yLiZ/GhYjuBdDgWBv8FNcMbD5266uBeHkY=; b=B6oRkfQyKZkBxU8LAehjWQVGnbXT/icN/rsZBf1FlkguOUPmILlH62kr20GrBLTB+d 0eN0qyv2qvlzIXU5+1BHADpA+Ca7WOc14S0PI1puV3trlHx5CzbQKvpLtx/tAJNv4eZI 1GWy/yZpLfedjU+f+5RY/9ZYLSFYG5ueV5l1s8Q0DLJJmdq7Zi5mfELaELF4Gw699uw+ 5KQ5hag75cFvPv/XdEVxdx2N3mFR7TDaF81P+w+mTSabcgq7m/Mn8yJzcpy/OOfwmRdu l+AhhJZrMVtMowXnbbzK6o7WrO/alhyqhg3qPnV8DyVkM9Su1eNljzhhf/17BYYRrA0h Te6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ID6m0ohx; spf=pass (google.com: domain of linux-kernel+bounces-15121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15121-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fb34-20020a056a002da200b006cb852928ffsi17576804pfb.66.2024.01.02.19.12.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 19:12:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ID6m0ohx; spf=pass (google.com: domain of linux-kernel+bounces-15121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15121-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 15A31281CD1 for ; Wed, 3 Jan 2024 03:12:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91A8818E23; Wed, 3 Jan 2024 03:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ID6m0ohx" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C7DD18E00; Wed, 3 Jan 2024 03:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704251391; x=1735787391; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lWYg4zV2NcJ4nxhSpA6Fg/s1u8gQGW0XjbSleu1w/Jo=; b=ID6m0ohxfEQNdo11ngGMnYKGDk++nSIzSxrOHOJm9WZSZNC1ZgI3+KjH 0iEJnBRVRpapdvZ2AYnqQ/R3RuWK5kg6tyEDBIGMZDLotVGLkPjH551A6 FacB5ciBdIEYCOpR5nIxeTi09vug/iat+ozGSPr+XYfa9b8RD7t112dfX VsLW4sWRrZ+cV1GJXJdPD09naavbJDVq4Nkea8SGyYcAZFsE6kFCAO3m8 Z6VLft4ZEHSAAXP978vuIrYwnW5kDoiBobS0jlfZAb9uCBHw4N0kiZj7v JAarTI3Fn8KKRuYppgExAjwWkhnBseC/UhtZ8YpipO/6XzldT9ZsTaR0R g==; X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="10343149" X-IronPort-AV: E=Sophos;i="6.04,326,1695711600"; d="scan'208";a="10343149" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2024 19:09:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="729665948" X-IronPort-AV: E=Sophos;i="6.04,326,1695711600"; d="scan'208";a="729665948" Received: from dmi-pnp-i7.sh.intel.com ([10.239.159.155]) by orsmga003.jf.intel.com with ESMTP; 02 Jan 2024 19:09:47 -0800 From: Dapeng Mi To: Sean Christopherson , Paolo Bonzini , Jim Mattson Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Zhenyu Wang , Zhang Xiong , Mingwei Zhang , Like Xu , Jinrong Liang , Dapeng Mi , Dapeng Mi Subject: [kvm-unit-tests Patch v3 06/11] x86: pmu: Remove blank line and redundant space Date: Wed, 3 Jan 2024 11:14:04 +0800 Message-Id: <20240103031409.2504051-7-dapeng1.mi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240103031409.2504051-1-dapeng1.mi@linux.intel.com> References: <20240103031409.2504051-1-dapeng1.mi@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit code style changes. Signed-off-by: Dapeng Mi --- x86/pmu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x86/pmu.c b/x86/pmu.c index a2c64a1ce95b..46bed66c5c9f 100644 --- a/x86/pmu.c +++ b/x86/pmu.c @@ -207,8 +207,7 @@ static noinline void __measure(pmu_counter_t *evt, uint64_t count) static bool verify_event(uint64_t count, struct pmu_event *e) { // printf("%d <= %ld <= %d\n", e->min, count, e->max); - return count >= e->min && count <= e->max; - + return count >= e->min && count <= e->max; } static bool verify_counter(pmu_counter_t *cnt) -- 2.34.1