lkml.org 
[lkml]   [2022]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] perf: riscv legacy: fix kerneldoc comment warning
    Date
    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 <conor.dooley@microchip.com>
    ---
    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.
    --
    2.36.1
    \
     
     \ /
      Last update: 2022-08-12 16:37    [W:9.563 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site