Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2824526rwd; Wed, 14 Jun 2023 07:48:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70wcsUHyA1a/FsOerVBrmUT73K4cStyv1zwTZbMp3cQfW2PIw2fF+cuARNUGw28LPuHav+ X-Received: by 2002:a2e:8256:0:b0:2b2:b55:bd7e with SMTP id j22-20020a2e8256000000b002b20b55bd7emr6234196ljh.49.1686754109757; Wed, 14 Jun 2023 07:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686754109; cv=none; d=google.com; s=arc-20160816; b=kHfynIPFw17jMR1fs4aH1L/WJmnxZp52VUD9gxzRRyvKcBTcKRzk7jeexBtJ04iWbX nE+tiECJGNG/WJ7tqUYTRQu6uEsmXTVfIsDr4Tynyf8M+nrILGzUFwseCDI6YFkfDQDF LYhWZVYAo6SW+hQ2hB0gHiDOyN58PfBdFtX1DEwjtr2i7+/eBiKp3TWd0RRqrNuC+9vT yCXE2+5+Ad0CkRzqQ6cQhzT0/Kn6ykEtSzw2yFPuckjj/I1aMFwzGVNGRn2xQmnTQ3ei 1BenSEKkEnZfQchavi7VYyPmS5L//bzAIhXQNcKRoEUtAjOxp+IavgCJ6az6ab0s7KHJ xaTg== 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=0mKC7ID52n26HtFoIwRo0tBe9xXVIXpdSH1XyegyxRc=; b=GLTyaPTAR502VATqptc1hjRo5hKqAg1Uz9dKZGaBQ5nUusefIwnuJJVJYUYbQGZ+rG kSF27RT273H24F6c3jo28ZmX9XpTIiBmL1KGUKBtJiy3T8uRi19Gu5t5gFhtuBO4f/9a QvOX0kjvgul+yHbmuT6fLzOUm+S/mie0qXFPYheE4mEbaEZ/VHDUD9gO73ijPJzyTnNW 3nMGTzde/qmz3dW6LiIP765cZUVJ/684Ln0biXG5q5xX7iQdNKuLoLCsxLlPoKUtkKAa aHWezWjhEznOL9TQ88OKWxgJSKQijlh0JdEGbS8u2L2M1dqGHMyMb1yv++yzrM7/AL75 DfqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EQ3+21tH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v16-20020a056402185000b0050bd6441678si4990849edy.476.2023.06.14.07.48.05; Wed, 14 Jun 2023 07:48:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EQ3+21tH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245282AbjFNN4E (ORCPT + 99 others); Wed, 14 Jun 2023 09:56:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245271AbjFNN4B (ORCPT ); Wed, 14 Jun 2023 09:56:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF289211F; Wed, 14 Jun 2023 06:55:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6556D64293; Wed, 14 Jun 2023 13:55:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F56FC433C8; Wed, 14 Jun 2023 13:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686750953; bh=ydJV9XHoa04OrhiQ37+4pyUHb6RE0YFbBZb6xOO+JRI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EQ3+21tHUpnj1idv4OHC9GbiNa6kDI9BaxIHRg2c1uX1kBx81mniTRFUclAXjJcpm UAZDaJENjbcJd2TkQHNDsJKt5foS7Jj3Uu1E1l/WpNFLhZBpc+4SMqHz1M4YWDo45s MFUXmukWvoz3i4VP2ZSvt4F5bbocvmPBvbk/iJfC3X/j6Bb52CYtV3WwwtzHdVBEWB 6SS4TE1rPpjx2TTdmQMsMcrev6QaaUIpqg3TmH9dTYFE/B45n/S0SUWv52vy8NPxoy 5uxB+Xne8LhsUQuvtlQXNVugkXLkE8bDPzt2z/GbZY64FMCOoBXBfBiAitFSz9nnEg IM/Dik3xR/3pg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D3B9540692; Wed, 14 Jun 2023 10:55:50 -0300 (-03) Date: Wed, 14 Jun 2023 10:55:50 -0300 From: Arnaldo Carvalho de Melo To: baomingtong001@208suo.com Cc: peterz@infradead.org, mingo@redhat.com, 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, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf parse-events: Remove unneeded semicolon Message-ID: References: <20230614080937.54937-1-luojianhong@cdjrlc.com> <2c733a91717eae93119ba2226420fd8f@208suo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2c733a91717eae93119ba2226420fd8f@208suo.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jun 14, 2023 at 04:13:53PM +0800, baomingtong001@208suo.com escreveu: > ./tools/perf/util/parse-events.c:1466:2-3: Unneeded semicolon Was this detected by some tool? Which one? - Arnaldo > 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 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 > parse_events_state *parse_state, > if (extended_type && (type == PERF_TYPE_HARDWARE || type == > PERF_TYPE_HW_CACHE)) { > assert(perf_pmus__supports_extended_type()); > attr.config |= (u64)extended_type << PERF_PMU_TYPE_SHIFT; > - }; > + } > > if (head_config) { > if (config_attr(&attr, head_config, parse_state->error, -- - Arnaldo