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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1085CC77B7A for ; Wed, 31 May 2023 13:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WlRBGcRVwu9FUhG2HPHRttdoLQryhWMAIYjGMXqtrcQ=; b=vzBGx5WOPv8kxF cfIU8Av9mszGZ2nxG4tKIWcE1aPYoyAzDMlPAsxMXtcfzUfj8XCZ8r9MX4u06ULZwHJchHcDi8GWW RaU7rMjhGfZRJBnPIsP7nVTr1RK/be4CZ75bKdO4AE96a0cR+za9gPK1/0cMGoRUhNbZ08Sp9esAn 8/1PFxUhPwq+IV8aEDEZRUEEgOr69xxlRuRfW2Usd1IEX+7qUl/ZNYtFelPf+tkm+7F90xRrCWvXc kUUVJNSO6Imk3rdmoJbuR78ibLU0fXhRnYZr/HGjEs7wPxOM/TqM5Es5XMekQB2XFCpdoPeOUZ+SM CwtG8soMKSUDmi3oxizg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4MJD-0003Ow-0e; Wed, 31 May 2023 13:56:15 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4MJB-0003OH-0W for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2023 13:56:14 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5149e65c218so5836300a12.2 for ; Wed, 31 May 2023 06:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1685541371; x=1688133371; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=UleDEf3AixBo9U/UXpWY/ydRnuyv0U623659h0izsxQ=; b=bB486N3tYhrD9mcENZT5Ce/fgR0DWl3pIjRkcJUgJipMYPckJRy3fRTTKqF0MxOVAW BRNARewHjPzMgWR0kKbXbFMRdZKkcYZU6N7wHbOUUPdHmAQkDc65bNUKjKIv8U3K0X2W BioREvZ6mplCJreJOoSAzAvVQ0dLckyxYHedlHrD1X7+1lVswhIXNeflbUptL5fXNVX0 zKUNdjyZm7TBS0QqdNAvL8xWXuriIy839Dd+sfCtGEPMd6NgRikBURpBG6NK/vNGy0Sd PT8V6GkQhcrrC0JuoJI7zAyDBfwutOIt6kcQ79qRt56cd4GyjeE+mDV2Ar3Ghces6VOJ bjvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685541371; x=1688133371; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UleDEf3AixBo9U/UXpWY/ydRnuyv0U623659h0izsxQ=; b=H+d0GN+jrOkjK8zrVdsuSaB37hcBdIGV5f7UEkkJ6syspbbmac9YgGz2fBxyqS/CZB Ku/PEo7VGJbP6msZUoY29d94Jj8Wdx/0Yo3Gfy+smlAVbAwjJx78U1ZRswOAYxkmmiW/ xT//OkB+72ErkHgMHCieQ6tyLmiXEkam3UiN533csHxuaIpIbT1OJvSQdYri4VGuj+Mj A9tVw8TPSIBRiPHILMTCcwHJ0lJrQ5OpkQODZED9fs9I3VrvenhPgMCgC0XWKI4fOu/5 vHbBDgynKHC1CnNzYAgVP7HSN1OmeymCRHQ6K8GAMz1Fl9CECZ77rM/QQXvdBy+6FvUc w/fw== X-Gm-Message-State: AC+VfDxevdPB5Xsh22EBsxQRzepD8KXOeAnj851iNlEzJEDM+dOH2u/V jRb7nbPFBGoDjiPma0s915OEfg== X-Google-Smtp-Source: ACHHUZ73Q8q9IJwMsX7edY6y2EM+CFjk3itDAZXOWz2NI9uE9E+/V3YrQjB4Rf2f+g7r1cETzEjw8g== X-Received: by 2002:a17:907:1c14:b0:968:2bb1:f39d with SMTP id nc20-20020a1709071c1400b009682bb1f39dmr6314966ejc.36.1685541371576; Wed, 31 May 2023 06:56:11 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id va15-20020a17090711cf00b0094ee99eeb01sm9041514ejb.150.2023.05.31.06.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 06:56:10 -0700 (PDT) Date: Wed, 31 May 2023 15:56:10 +0200 From: Andrew Jones To: Alexandre Ghiti Cc: 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 , Atish Patra , 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 Subject: Re: [PATCH v2 02/10] include: riscv: Fix wrong include guard in riscv_pmu.h Message-ID: <20230531-707d254be1238272fb2c182d@orel> References: <20230512085321.13259-1-alexghiti@rivosinc.com> <20230512085321.13259-3-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230512085321.13259-3-alexghiti@rivosinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230531_065613_201244_E8624B68 X-CRM114-Status: GOOD ( 20.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 it > 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 *num_hw_ctr); > > #endif /* CONFIG_RISCV_PMU */ > > -#endif /* _ASM_RISCV_PERF_EVENT_H */ > +#endif /* _RISCV_PMU_H */ > -- > 2.37.2 > Reviewed-by: Andrew Jones _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel