Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp977227rwb; Thu, 18 Aug 2022 16:12:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5yrsy0NNe7LSmvcLtmCh4N3CzTWok5QzpJUw5bXxFNdilHrbuTnyieFv7s9SWoyotUm1SY X-Received: by 2002:a17:902:710e:b0:170:8d34:9447 with SMTP id a14-20020a170902710e00b001708d349447mr4740622pll.126.1660864344367; Thu, 18 Aug 2022 16:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660864344; cv=none; d=google.com; s=arc-20160816; b=SsszF29GXSlGPhL0g5UlQa4U9T5P/9TQvEiLr6gE+Qq7Ux5eeSCegOr2h42F9Xrg7v /qtTf+9scvs3t1JezgEFf5qDytLlxWVY3KqEikJpWhHLSo48vLAjTLMJ4clOyfWjknX3 ArQE7+YdlG6SBTyUn3YPtw+QFrA/yNBmigBLLaxjZDULNrNv9nn7Dw8aekG77EVzZeaP luUAqVMJozjMphoomRrqGV7+0YSuBKLFmz8GHuxNYbDGPRwlY8JQVRxuIRtu/yF6mpIb O09YB9ehG9pVYSHEuTd5yzxS/qQ2ekEJXss0MFuV/SL5JxLMoV+Idgv9cUO7t7mWUzU9 CKCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=SxaLsX428RZ1ZZyMkLyl/R5gnokZLMcHhNXNy7HvM88=; b=c5B8avRhc4y80wx6MOKzGRZwdKqE9YeHRo42G9Rv16JQbm1MQ6iGFIC0Ryk6QqiWsI pxwz+9f7Gta5tlUbP/e7XTBEDOGQ7pWe5SZfgNXIgsB7Bn7vjcvmy7Gsk6tfDRa5uTx6 zt595/KHrvXRdM7Fd3hxvs0JWSJCs/3AzMOrVRQbrk5WFdvC6Td/XObKthX+PaWRkBS8 MaJdlit4JhNSyq5+echFHxUOCSvdnWBXl0HsPzsN/2orRGUNgln/nINlFSvQqi2mpwom DQPWns8USgTHmhAyi11GzfYNk2nRCUO4Z5eiMQcV1QHjnUhWippDaIChtGlNyJdRwa/8 rIlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=4+Y1eqAi; 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 y6-20020a17090322c600b0016d9c8479b5si2393681plg.344.2022.08.18.16.12.13; Thu, 18 Aug 2022 16:12:24 -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=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=4+Y1eqAi; 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 S241842AbiHRXBx (ORCPT + 99 others); Thu, 18 Aug 2022 19:01:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbiHRXBv (ORCPT ); Thu, 18 Aug 2022 19:01:51 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16843C9EBA for ; Thu, 18 Aug 2022 16:01:50 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id c24so2386002pgg.11 for ; Thu, 18 Aug 2022 16:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc; bh=SxaLsX428RZ1ZZyMkLyl/R5gnokZLMcHhNXNy7HvM88=; b=4+Y1eqAiSxrv3E//VJOhwkg21D0C7aB4SuNyn+JjsLKC7DbPsOtjZWhnGw2mRfsutM E1PX4UErDhJZVs/98LTU5RAjvUaEsGOHujGX2T6KDVh09ayC3+dR94khPNTnpFIdouJ0 lLzYwf38HARVztEwMQiEmwDSvIi/B7FG79sHmkaEPCcPmD0zh42aDtjfdYHz2rj16o8F s+ZVFOrbD8ECGqHSvvnEVgTB9rta8Wi4SJjKz2igTa6HOeNHozFPDAtu/Vc+4aDXqHCS BB09QsEy1rjSqkN6cxqtm6giw80SjKkQYNnlgL/DpyY9Sznb4t5OfxPAbom5ehHVNfq7 9t0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc; bh=SxaLsX428RZ1ZZyMkLyl/R5gnokZLMcHhNXNy7HvM88=; b=BbTj8r/HGSwSJyD+AHsHk6BWsPSF0X+9gsFiuSBc4eNsWlpB6QXz6ISpCGlvYIEipR nvGqZzwRj6GxnrqgBg9jAWLtePsep1dsABAcYHW0sF9Y5c98c9DzcbRTOefCg4QowUR9 BVbL2KO2YZ92/B5zKHMjsk1kdZxIsSAdytJETQbcpJwk6+51g7CnoWWj4j6uiMOBcPyy YZGZiWWvBQ3GxrmAOb/yahjWUoSiJsKMI+DCzapX6IUIHV38BSPHVL/wNUn1ZCEHBoDo KOo6OREV5FLVJmpUuuB9BVPoWQ1hxsvcfWT1v9DTKfd15aEXn5O+H5V6/mxjwgiEOi7P HfqA== X-Gm-Message-State: ACgBeo3XT8AQI91hU0gL3iack6pnSm8QfwOyXi81F7PPUhriCSsBb32I 1sBEzryjkmKWfNL+ZvxfcjCcVg== X-Received: by 2002:a05:6a00:2409:b0:534:98c0:e53a with SMTP id z9-20020a056a00240900b0053498c0e53amr4995295pfh.11.1660863709462; Thu, 18 Aug 2022 16:01:49 -0700 (PDT) Received: from localhost ([50.221.140.186]) by smtp.gmail.com with ESMTPSA id b13-20020a17090a6e0d00b001f2fa09786asm2041811pjk.19.2022.08.18.16.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 16:01:48 -0700 (PDT) Date: Thu, 18 Aug 2022 16:01:48 -0700 (PDT) X-Google-Original-Date: Thu, 18 Aug 2022 14:36:50 PDT (-0700) Subject: Re: [PATCH] perf: riscv legacy: fix kerneldoc comment warning In-Reply-To: <20220812143532.1962623-1-conor.dooley@microchip.com> CC: atishp@atishpatra.org, anup@brainfault.org, Will Deacon , mark.rutland@arm.com, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, conor.dooley@microchip.com From: Palmer Dabbelt To: conor.dooley@microchip.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 Fri, 12 Aug 2022 07:35:32 PDT (-0700), conor.dooley@microchip.com wrote: > Fix the warning: > drivers/perf/riscv_pmu_legacy.c:76: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > > Fixes: 9b3e150e310e ("RISC-V: Add a simple platform driver for RISC-V legacy perf") > Signed-off-by: Conor Dooley > --- > drivers/perf/riscv_pmu_legacy.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/perf/riscv_pmu_legacy.c b/drivers/perf/riscv_pmu_legacy.c > index 342778782359..2c20b0de8cb0 100644 > --- a/drivers/perf/riscv_pmu_legacy.c > +++ b/drivers/perf/riscv_pmu_legacy.c > @@ -72,7 +72,7 @@ static void pmu_legacy_ctr_start(struct perf_event *event, u64 ival) > local64_set(&hwc->prev_count, initial_val); > } > > -/** > +/* > * This is just a simple implementation to allow legacy implementations > * compatible with new RISC-V PMU driver framework. > * This driver only allows reading two counters i.e CYCLE & INSTRET. Thanks, this is on riscv/fixes -- given how trivial the actual diff is I'm OK just taking it without the Ack/Review from anyone else, doubly so because I probably broke it the first place.