Skip to content

Commit 9626423

Browse files
ConchuODpalmer-dabbelt
authored andcommitted
perf: riscv legacy: fix kerneldoc comment warning
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: 9b3e150 ("RISC-V: Add a simple platform driver for RISC-V legacy perf") Signed-off-by: Conor Dooley <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent eb6354e commit 9626423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/perf/riscv_pmu_legacy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void pmu_legacy_ctr_start(struct perf_event *event, u64 ival)
7272
local64_set(&hwc->prev_count, initial_val);
7373
}
7474

75-
/**
75+
/*
7676
* This is just a simple implementation to allow legacy implementations
7777
* compatible with new RISC-V PMU driver framework.
7878
* This driver only allows reading two counters i.e CYCLE & INSTRET.

0 commit comments

Comments
 (0)