Skip to content

Commit c7a9dce

Browse files
palmer-dabbeltwilldeacon
authored andcommitted
perf: RISC-V: Remove non-kernel-doc ** comments
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 <[email protected]> Fixes: 4905ec2 ("RISC-V: Add sscofpmf extension support") Signed-off-by: Palmer Dabbelt <[email protected]> -- These recently landed in for-next, but I'm trying to avoid rewriting history as there's a lot in flight right now. Reviewed-by: Atish Patra <[email protected]> Acked-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent b2d229d commit c7a9dce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/perf/riscv_pmu_sbi.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ union sbi_pmu_ctr_info {
3535
};
3636
};
3737

38-
/**
38+
/*
3939
* RISC-V doesn't have hetergenous harts yet. This need to be part of
4040
* per_cpu in case of harts with different pmu counters
4141
*/
@@ -477,7 +477,7 @@ static int pmu_sbi_get_ctrinfo(int nctr)
477477

478478
static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu)
479479
{
480-
/**
480+
/*
481481
* No need to check the error because we are disabling all the counters
482482
* which may include counters that are not enabled yet.
483483
*/
@@ -494,7 +494,7 @@ static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu)
494494
cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0);
495495
}
496496

497-
/**
497+
/*
498498
* This function starts all the used counters in two step approach.
499499
* Any counter that did not overflow can be start in a single step
500500
* 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)
563563
/* Overflow status register should only be read after counter are stopped */
564564
overflow = csr_read(CSR_SSCOUNTOVF);
565565

566-
/**
566+
/*
567567
* Overflow interrupt pending bit should only be cleared after stopping
568568
* all the counters to avoid any race condition.
569569
*/

0 commit comments

Comments
 (0)