From mboxrd@z Thu Jan 1 00:00:00 1970 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 9705BECAAD4 for ; Wed, 31 Aug 2022 14:46:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbiHaOqZ (ORCPT ); Wed, 31 Aug 2022 10:46:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbiHaOqW (ORCPT ); Wed, 31 Aug 2022 10:46:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 558A1CCD71; Wed, 31 Aug 2022 07:46:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E6D0961BD5; Wed, 31 Aug 2022 14:46:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BE63C433C1; Wed, 31 Aug 2022 14:46:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661957180; bh=lqpPcXkImr6A1YIuQW3MpU4TfTVgyOEdM5tqW3vP7fM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=okE+VyqBN6b0faor/MkoS+6L4lA7CPYrcPyuU+rFJC1ZOVTkbbnQAGeql0YdlZd8L c53w0Sf1AYzVB/DgXZk7YeVCDJiukBhmR99lUNHG8rB5iKTEsITKFoEhA0H8sw4aOX Nk7o46hRSWu+w8U04maS8JtfM608TOuh/ekXH73NdIE4pvdJmmslj1K1241C4pVdqa 3pIpiPW32jXfvp/QFTcz+NOa+polP/+BNZMSFDCfWp9UbyzKWikU/mFvZjgtuv6+X7 Rou3PSpMvzEDwKQ7oLMK/drj/IuBHaRfGPxHD6zTucVTz1BzEJf7cV2JmH30CeqNNL h9KPpYknKxLHQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 035BC404A1; Wed, 31 Aug 2022 11:46:17 -0300 (-03) Date: Wed, 31 Aug 2022 11:46:17 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Andi Kleen , Kan Liang , Thomas Richter , James Clark , Miaoqian Lin , John Garry , Zhengjun Xing , Florian Fischer , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, perry.taylor@intel.com, caleb.biggers@intel.com, kshipra.bopardikar@intel.com, Stephane Eranian Subject: Re: [PATCH v1 1/8] perf smt: Tidy header guard add SPDX Message-ID: References: <20220830164846.401143-1-irogers@google.com> <20220830164846.401143-2-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830164846.401143-2-irogers@google.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Tue, Aug 30, 2022 at 09:48:39AM -0700, Ian Rogers escreveu: > Make the header guard consistent with others. Thanks, applied to perf/core, pushing it out now. - Arnaldo > Signed-off-by: Ian Rogers > --- > tools/perf/util/smt.c | 1 + > tools/perf/util/smt.h | 7 ++++--- > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/tools/perf/util/smt.c b/tools/perf/util/smt.c > index 2b0a36ebf27a..8fed03283c85 100644 > --- a/tools/perf/util/smt.c > +++ b/tools/perf/util/smt.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > #include > #include > #include > diff --git a/tools/perf/util/smt.h b/tools/perf/util/smt.h > index b8414b7bcbc8..a98d65808f6a 100644 > --- a/tools/perf/util/smt.h > +++ b/tools/perf/util/smt.h > @@ -1,6 +1,7 @@ > -#ifndef SMT_H > -#define SMT_H 1 > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef __SMT_H > +#define __SMT_H 1 > > int smt_on(void); > > -#endif > +#endif /* __SMT_H */ > -- > 2.37.2.672.g94769d06f0-goog -- - Arnaldo