From nobody Sun Feb 8 05:29:30 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 012E1EB64DA for ; Wed, 14 Jun 2023 08:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243017AbjFNIOE (ORCPT ); Wed, 14 Jun 2023 04:14:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243030AbjFNIN6 (ORCPT ); Wed, 14 Jun 2023 04:13:58 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 913931713 for ; Wed, 14 Jun 2023 01:13:56 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4Qgyqk2GxJzBSJbT for ; Wed, 14 Jun 2023 16:13:54 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1686730434; x=1689322435; bh=0QerdF6PEGVomEzCR4TDRGGvCJf hkBqdi3oPYHVbl54=; b=pJzMnlwE0NrO63D7mLHk02dBGZEqE1imQqSleh8OnXg CNudoCfO6fY6foy/F23U8zRFmF5t2RS2xkeQSSKhktVby50WiNV+EXTJ0HUVkC4W NIOQ0nlGSEHUSMh7O8eQZSRLaZimGphw0b3rcaZH5iI3Vdb8TJ7eEHuQfol0fdED 3LZVKkdOpT50RkMfES+9EXcy2K5kdOK+s4Sn7B3QNsa7KEDwC+4YVx3/XNR4Ly7A NW3TI1845+gOApxwxrEUUJY9nC4x5TKa4RXUBxBf1OfBddN2BJH6+S0mGFzE9+c0 ReR14hWotH4WdHel2y/jlLMcwfBMyZEH2NjE8qMbNIA== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8qkw816NsW6d for ; Wed, 14 Jun 2023 16:13:54 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4Qgyqj4BlLzBQJZ2; Wed, 14 Jun 2023 16:13:53 +0800 (CST) MIME-Version: 1.0 Date: Wed, 14 Jun 2023 16:13:53 +0800 From: baomingtong001@208suo.com To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, kan.liang@linux.intel.com, zhengjun.xing@linux.intel.com Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] perf parse-events: Remove unneeded semicolon In-Reply-To: <20230614080937.54937-1-luojianhong@cdjrlc.com> References: <20230614080937.54937-1-luojianhong@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <2c733a91717eae93119ba2226420fd8f@208suo.com> X-Sender: baomingtong001@208suo.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8"; format="flowed" ./tools/perf/util/parse-events.c:1466:2-3: Unneeded semicolon Signed-off-by: Mingtong Bao --- tools/perf/util/parse-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c=20 b/tools/perf/util/parse-events.c index 629f7bd9fd59..42f84f61fabc 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c @@ -1463,7 +1463,7 @@ static int __parse_events_add_numeric(struct=20 parse_events_state *parse_state, if (extended_type && (type =3D=3D PERF_TYPE_HARDWARE || type =3D=3D=20 PERF_TYPE_HW_CACHE)) { assert(perf_pmus__supports_extended_type()); attr.config |=3D (u64)extended_type << PERF_PMU_TYPE_SHIFT; - }; + } if (head_config) { if (config_attr(&attr, head_config, parse_state->error,