Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3872083pxp; Wed, 23 Mar 2022 07:20:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSsrFWb76kLC+Ul6USZn+0UWkYF1wBhTUM43uhUPnEntRtU5lGrLOkXvpssmKnmvqx32ZA X-Received: by 2002:a17:906:2811:b0:6ce:eacf:5210 with SMTP id r17-20020a170906281100b006ceeacf5210mr184787ejc.618.1648045240325; Wed, 23 Mar 2022 07:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648045240; cv=none; d=google.com; s=arc-20160816; b=gezUwhope6stZkOUeDgDStRrjmO6Rrh5rrxRVJS6PWkQhWxnDYtqJV+n0T4WtntpIA 1+SMYOPBsUqkkwai9EUanyI5u2xaSjw9GHGVnLi3DO6yMTH7flg1+cEX8uy8RXn0URgk E6gLZvFATAtL0S/8dI0ZyoICQwIWB4H5JZ8BXPFEdfjlD5CsvB3op/M3iBS8WqJ0Ww65 8vxZmt/owF3BpSUFAtYZAiob/r8ZU5JxA7D08+oMFWuJKpCweTNrmcJMS+pbnQZngtKE lc/iOzZ8yFSz/h1/9Kfkvl6F0fWr+hBCDVz1B6KZcWNbt5ClwKSaRmeiauaRNCbdWRUf xGhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=eovEULQEtS4IdiH2X4rLza7n8ELjkv/QjM+V7uK+7fE=; b=BWQoH2atz+v4GC2K5NuV8PBFGaYTTQ1thHU12SraHu8NMVY5oskovzbgipkxySj/c0 Ur/I5EACZN85RXxD5lQ/rEFKV7ruDOrUfkhScDPoo1tKFQKOZGdn8aIwAred+Dd+mg2e uRSYgaGpI0pfvA+4JNbKtvNw0JxLBX0FxLcdZj9NxnVALhbzKyhcApKDHFz2EJrIWnO9 989FTCRdm8EIpiVNs1s2tkPOx+Dlf9T2hwj7pnBN7cLwI/R47HiyDMelWAjZmKknmvZz ZsrFu5x8Bzgn7sQVF9n4MhRyp0sWVmBhgcybl9KaF6GW4rathUQUIbKYEjcJYskUuOqg ZTkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=bnzkSlKm; 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 b36-20020a509f27000000b00418f91de35csi16078201edf.5.2022.03.23.07.20.14; Wed, 23 Mar 2022 07:20:40 -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=@infradead.org header.s=desiato.20200630 header.b=bnzkSlKm; 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 S237006AbiCVW05 (ORCPT + 99 others); Tue, 22 Mar 2022 18:26:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbiCVW04 (ORCPT ); Tue, 22 Mar 2022 18:26:56 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 245155FDA for ; Tue, 22 Mar 2022 15:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=eovEULQEtS4IdiH2X4rLza7n8ELjkv/QjM+V7uK+7fE=; b=bnzkSlKmoegZQal9eq4WRnfrF7 ErKu7+9xgc0b6+vxkkrSQtEv8hg6b4//HkBa4pUFTUyVM0qYYjprX4a/WUNnYdapLfTIdqyUOJTdF NbXWmYCZ5mB64t/qkPw00QKjod2qtFMlEMaam+/6/Q1GxBo8XNRMDhKggxXUMYb3xw0JTzMCXpuhA QqeIR6iB1E34oDkeZqDQ/0XcdUHJlfuyUmyuQgUl85/MgC8+/HF5YYa4//BzdDiI7l1qPWj+0GvU7 /KwPpGU4rd9usZ3WcyxJ75uOnZlU5jm6C1EI0xiye+wAIx9AKvNj8L5q1r0aS6HL6p/cqPr8N/kqp jV8/jPtw==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWmwC-003a9a-DV; Tue, 22 Mar 2022 22:25:12 +0000 Message-ID: <32f48850-c72d-a551-8383-b2ad344c38d3@infradead.org> Date: Tue, 22 Mar 2022 15:25:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments Content-Language: en-US To: Palmer Dabbelt , linux-riscv@lists.infradead.org, Atish Patra Cc: atishp@atishpatra.org, anup@brainfault.org, Will Deacon , mark.rutland@arm.com, Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel test robot References: <20220322220147.11407-1-palmer@rivosinc.com> From: Randy Dunlap In-Reply-To: <20220322220147.11407-1-palmer@rivosinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 3/22/22 15:01, 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 Acked-by: Randy Dunlap thanks. > > -- > > 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. > */ -- ~Randy