Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3837284pxp; Wed, 23 Mar 2022 06:45:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBYEN3VZrpP1RNDkeiHp+R0cPHNTdVt6Cv8SngDotyyk/022zIZinc1SDJm+DBDO2tzULe X-Received: by 2002:a17:906:114e:b0:6df:8b4b:2b3b with SMTP id i14-20020a170906114e00b006df8b4b2b3bmr31190339eja.575.1648043148749; Wed, 23 Mar 2022 06:45:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648043148; cv=none; d=google.com; s=arc-20160816; b=oQEcu4RiAeKESblsa3qgUUkMmYbKFP/QrW/dfs4ZJ/m9Fvtdw4KlzZmEcaCH/jMmwu goZiEX9hQz052vfFFrer8LQGnl03vlkz8cKYIhG4ym+w7u0RErqwzu5bghXDNtKcfV6E RZzo4Tw/3b/50TxjTaJ8nv9vV0yTHrgWTarMfbZQkXGOEP3rEKDMW51e+ewOvW9fbKoD 4yWGkUAdjaeLoLxDIozarDOo1IUXzvJ9rj4qpZOvmvb4tu4eKNBZ3Iz7Nau3HMgFv79q GEHfICarCzQb4vfdPsg9HFk5b+myCAV6VX4Y8hCtRrgSPoVi/sb2jlukb6yFnRvRv4eC D6Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZNSeafrE1nmbZ7HSkTix7SZpM+7OtfLvB9wwfIPQnVU=; b=PBKgxXy/FMJkeXsSLgmAVgCDHbtdXtTkaRZH8HN3sYnCKEESeYWIqhb9N6BDaJPWfN m9+okJ9o1FkquQt7aLkyAlgEV8OKuPH6efiWdb24N7UJ/4YN7x6dOr2W1L3LEmME9yWp 9m7/EHspDL8p5Sc+Mr27Cab5TZ/UoG4S0vs11TfmRxwNshAiMNirJ+MytULko8LDCKrB mMV0A3ioFmdmvuOyVdA0+gQs0eZMYuX1bQnSiYZijMOEMAkwWa2j6jXcmfjB/dXgm8qC i/TVychUlh/v+yo0np5fNPPaW1uSdDkoRz21a01R6uWV2yop0GO6Utglcg/mQf2AWoPD Ne8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b=YfpG3zrH; 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 p2-20020a170906498200b006df76385db5si12213801eju.597.2022.03.23.06.45.23; Wed, 23 Mar 2022 06:45:48 -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=YfpG3zrH; 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 S231526AbiCVWkk (ORCPT + 99 others); Tue, 22 Mar 2022 18:40:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229687AbiCVWkj (ORCPT ); Tue, 22 Mar 2022 18:40:39 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2979E403E0 for ; Tue, 22 Mar 2022 15:39:11 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-2d07ae0b1c0so207734857b3.2 for ; Tue, 22 Mar 2022 15:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZNSeafrE1nmbZ7HSkTix7SZpM+7OtfLvB9wwfIPQnVU=; b=YfpG3zrHM4XGX58Gp4i9zVcqKUf/p4wAvaNN8+2adT/ZK1z44LeJlwbwUZfZP7QZMe zalNYKjApH4UDG2bKi0T7Z5TO/uQ2kVTGInsCSUDFuuYZSp7ebjPiPufFKPNZfvn1Y+J QKhSXFaqR3FYw2fbkbwUiYAarv4MPfDJyHZh4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZNSeafrE1nmbZ7HSkTix7SZpM+7OtfLvB9wwfIPQnVU=; b=CcPZvS/0JWDw2UXEa2dacEgOJ4vhJOU9qWuFTUtcb9lgkQ7mtmiGaucVK1nhYI2t7G t7QeJH81Z6ZHj1vOsNiRDZ5BGdFMzDPMz8UvfNVG2GnJgRyd26yigYTLbYS+Qb5jQrvy 9b0lnTt9lvQ7rb4m7MVhRkHK5vnBa5caGy2LFCpwQ0ejaTommmC2rknSTefSCUg34sIC en9QkGaClZrg4lQVu340RCFcxORqHRnKD2kLS4TjoX6nZSndxvsSxOwPjBgqXyMBJNVG r749SQ2KPgjVL3H9heqCosWxUBorALWn78JA4zvLIgLmQk8fTTp9PkqABAFptiZzVeTU 8XZQ== X-Gm-Message-State: AOAM533BoD87LXD7HKo1QaegTYiWv5voBEvMIM6gSy2960/ADbjA2bWQ sOUFpHCVCvXByHsRIr4izaPCAQluQ/mHaGoqVC9E X-Received: by 2002:a0d:d757:0:b0:2e5:beac:5b48 with SMTP id z84-20020a0dd757000000b002e5beac5b48mr29717878ywd.478.1647988750394; Tue, 22 Mar 2022 15:39:10 -0700 (PDT) MIME-Version: 1.0 References: <20220322220147.11407-1-palmer@rivosinc.com> In-Reply-To: <20220322220147.11407-1-palmer@rivosinc.com> From: Atish Patra Date: Tue, 22 Mar 2022 15:38:59 -0700 Message-ID: Subject: Re: [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments To: Palmer Dabbelt Cc: linux-riscv , Atish Patra , Anup Patel , Will Deacon , "mark.rutland@arm.com" , Paul Walmsley , Palmer Dabbelt , Albert Ou , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org List" , kernel test robot Content-Type: text/plain; charset="UTF-8" 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=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 On Tue, Mar 22, 2022 at 3:02 PM Palmer Dabbelt wrote: > > From: Palmer Dabbelt > > This will presumably trip up some tools that try to parse the comments > as kernel doc when they're not. > > Reported-by: kernel test robot > Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support") > Signed-off-by: Palmer Dabbelt > > -- > > These recently landed in for-next, but I'm trying to avoid rewriting > history as there's a lot in flight right now. > --- > drivers/perf/riscv_pmu_sbi.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/perf/riscv_pmu_sbi.c b/drivers/perf/riscv_pmu_sbi.c > index a1317a483512..dca3537a8dcc 100644 > --- a/drivers/perf/riscv_pmu_sbi.c > +++ b/drivers/perf/riscv_pmu_sbi.c > @@ -35,7 +35,7 @@ union sbi_pmu_ctr_info { > }; > }; > > -/** > +/* > * RISC-V doesn't have hetergenous harts yet. This need to be part of > * per_cpu in case of harts with different pmu counters > */ > @@ -477,7 +477,7 @@ static int pmu_sbi_get_ctrinfo(int nctr) > > static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu) > { > - /** > + /* > * No need to check the error because we are disabling all the counters > * which may include counters that are not enabled yet. > */ > @@ -494,7 +494,7 @@ static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu) > cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0); > } > > -/** > +/* > * This function starts all the used counters in two step approach. > * Any counter that did not overflow can be start in a single step > * while the overflowed counters need to be started with updated initialization > @@ -563,7 +563,7 @@ static irqreturn_t pmu_sbi_ovf_handler(int irq, void *dev) > /* Overflow status register should only be read after counter are stopped */ > overflow = csr_read(CSR_SSCOUNTOVF); > > - /** > + /* > * Overflow interrupt pending bit should only be cleared after stopping > * all the counters to avoid any race condition. > */ > -- > 2.34.1 > Sorry for the fallout on linux-next. I just realized that these came in with the BUILD_SUCCESS subject line from lkp for me. I was filtering those out to a separate folder and missed the "warning" part in the subject line. I have fixed that. Reviewed-by: Atish Patra -- Regards, Atish