Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp785115rwd; Thu, 15 Jun 2023 01:54:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ANvsGiG848vgVAZKxNkHUOA3vjqloBk6da/mVS1xDhVrJs/KngfV5790ThLGNYDPkaiMy X-Received: by 2002:a17:907:a40d:b0:94f:1c90:cb71 with SMTP id sg13-20020a170907a40d00b0094f1c90cb71mr20730526ejc.65.1686819296660; Thu, 15 Jun 2023 01:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686819296; cv=none; d=google.com; s=arc-20160816; b=Q0lPMZwoah1be/M9CBvq/f2qD5bzJusX+IIzHxE5RpATcun683+kAnIUkFQ3AWDtfc htFlCZcvyrGBrYcubC7rmYFZZTj8Ts3XJEtjzs8V8DEcROAJkwUwk6WmyhX3L95ALTsh Fl7J7LUIftwXHbSzKHkWfVeaS7QenXMfm1z4fyY5ZfQdeIWkcn4jDdMX8AhEEIw0nK0Y oJvlQCn3wdt9XEmYzB8/RytYiqxpL5hxWdhxFj3cdrMdJnrndiXIx5/ytcdwtjV8RKgk M6ut94Msve4bXrkohX/fYu5cCA5hj6bdNUrl4uYNRilZCAK4GrQw39CFdLqrQ6CFqZHZ GN/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XDqFlnJs7b5XSrXYfFDcBdbg7c+MBzrrq0kAraysWF0=; b=gbHFUOce1LtjG0LuUgoU5bdBhbmXycgk211hwhopPymVjzpORAwX4nd0qxAttpSFMQ gV0DDlG5nyvdxAow5v1jW3eVb83+hElu1APYU+VuJrvOLA0+ThJUCp8z+fkBMUQgQLi5 +VqwbjBLBHEfVmVil6zc1nQ40nZq9v+H/5UtTNeTda5EDm87D8X1Mr+OdAnToJlL1cWk 6oyEacWUiBLX/4ZmobcKIJEWx8iRku84r8yhxYaTbgCBHcEaahBKB42sEagZ1ahvmA9H /mSS6rcCBGDC07VS7RLmeo+2CmLgk4rSSZi7xfksnIUHuqk+6kU33HrvoOGTKxi01sL1 wOJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b=BF4NTGgy; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zk19-20020a17090733d300b0096b0e9327a3si5488624ejb.513.2023.06.15.01.54.31; Thu, 15 Jun 2023 01:54:56 -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=@atishpatra.org header.s=google header.b=BF4NTGgy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244942AbjFOIhD (ORCPT + 99 others); Thu, 15 Jun 2023 04:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbjFOIgn (ORCPT ); Thu, 15 Jun 2023 04:36:43 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB6012960 for ; Thu, 15 Jun 2023 01:36:27 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b1b92845e1so22487341fa.0 for ; Thu, 15 Jun 2023 01:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; t=1686818186; x=1689410186; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XDqFlnJs7b5XSrXYfFDcBdbg7c+MBzrrq0kAraysWF0=; b=BF4NTGgyxuXLd/DCtsfhMWllCFX5t8hYdRqzQeUl9mxCjttJAJ7Pm8/A9437zSmkP2 fiulhEjOtigFq6kjTjDFwsjbyk5q51xYQkvo3CsBOJjdXMSWDuxF3PDmK12cqPN7B66v hsQKjBkbPmpmAppRPNgBHtAEKvcG+b6yfyydk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686818186; x=1689410186; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XDqFlnJs7b5XSrXYfFDcBdbg7c+MBzrrq0kAraysWF0=; b=dGGPtIoxvOkmllLpZLjOKfY3f14EgizijnRcCRu0ZVx/XtSHDW8zCM0LBmHI5DQxH+ P9JVzrUUb8hu16M4EE0RNnCm6zXZztnw7Uw+Hd4pQg8KR4/CR+q/SpRxTQiv7Gq2T3Ls NRAhETlOjFMk6j6XadGrF16dGhUsATBwtBtcABv7P9t4dxk4zoho+Q8k4t8coHAvSAsp ZT89Js1FX8lBk9/C8N9TLqidvAH30EvqT7FWns1f62OZfOs3rDE8TBByj6cXsCCEgNvh yhmcY4DoADkm4cudS8AYY0+pihwE6l+8iHxRFjEfJk1HPibjuGkMJkortmTnQ7+fKv8O BzoQ== X-Gm-Message-State: AC+VfDw9ocq4cXeTC9jmwPIG2W6937jHSOcrc+sfyYRp9nAbX2nu4Gmc ARBAUyM/rn5kioG2osUmsxe0wc+Bh7H0Y9h44ILx X-Received: by 2002:a2e:8611:0:b0:2b3:4c18:cf41 with SMTP id a17-20020a2e8611000000b002b34c18cf41mr2931471lji.53.1686818186178; Thu, 15 Jun 2023 01:36:26 -0700 (PDT) MIME-Version: 1.0 References: <20230512085321.13259-1-alexghiti@rivosinc.com> <20230512085321.13259-3-alexghiti@rivosinc.com> <20230531-707d254be1238272fb2c182d@orel> In-Reply-To: <20230531-707d254be1238272fb2c182d@orel> From: Atish Patra Date: Thu, 15 Jun 2023 01:36:14 -0700 Message-ID: Subject: Re: [PATCH v2 02/10] include: riscv: Fix wrong include guard in riscv_pmu.h To: Andrew Jones Cc: Alexandre Ghiti , Jonathan Corbet , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Will Deacon , Rob Herring , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Conor Dooley Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Wed, May 31, 2023 at 6:56=E2=80=AFAM Andrew Jones wrote: > > On Fri, May 12, 2023 at 10:53:13AM +0200, Alexandre Ghiti wrote: > > The current include guard prevents the inclusion of asm/perf_event.h > > which uses the same include guard: fix the one in riscv_pmu.h so that i= t > > matches the file name. > > > > Signed-off-by: Alexandre Ghiti > > Reviewed-by: Conor Dooley > > --- > > include/linux/perf/riscv_pmu.h | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/include/linux/perf/riscv_pmu.h b/include/linux/perf/riscv_= pmu.h > > index 43fc892aa7d9..9f70d94942e0 100644 > > --- a/include/linux/perf/riscv_pmu.h > > +++ b/include/linux/perf/riscv_pmu.h > > @@ -6,8 +6,8 @@ > > * > > */ > > > > -#ifndef _ASM_RISCV_PERF_EVENT_H > > -#define _ASM_RISCV_PERF_EVENT_H > > +#ifndef _RISCV_PMU_H > > +#define _RISCV_PMU_H > > > > #include > > #include > > @@ -81,4 +81,4 @@ int riscv_pmu_get_hpm_info(u32 *hw_ctr_width, u32 *nu= m_hw_ctr); > > > > #endif /* CONFIG_RISCV_PMU */ > > > > -#endif /* _ASM_RISCV_PERF_EVENT_H */ > > +#endif /* _RISCV_PMU_H */ > > -- > > 2.37.2 > > > > Reviewed-by: Andrew Jones Reviewed-by: Atish Patra --=20 Regards, Atish