From: Jay Fang <f.fangjian@huawei.com> Date: 2021-05-11 13:24:08
From: Junhao He <redacted>
Fix some coding style issues reported by checkpatch.pl, including
following types:
ERROR: need consistent spacing around '-' (ctx:WxV)
ERROR: space required before the open parenthesis '('
Signed-off-by: Junhao He <redacted>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
drivers/perf/arm-cci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -806,7 +806,7 @@ static int pmu_get_event_idx(struct cci_pmu_hw_events *hw, struct perf_event *evreturncci_pmu->model->get_event_idx(cci_pmu,hw,cci_event);/* Generic code to find an unused idx from the mask */-for(idx=0;idx<=CCI_PMU_CNTR_LAST(cci_pmu);idx++)+for(idx=0;idx<=CCI_PMU_CNTR_LAST(cci_pmu);idx++)if(!test_and_set_bit(idx,hw->used_mask))returnidx;
--
2.8.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Jay Fang <f.fangjian@huawei.com> Date: 2021-05-11 13:24:26
From: Junhao He <redacted>
Fix some coding style issues reported by checkpatch.pl, including
following types:
ERROR: spaces required around that '=' (ctx:VxW)
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by: Junhao He <redacted>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
drivers/perf/arm_pmu.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
@@ -670,7 +670,7 @@ int armpmu_request_irq(int irq, int cpu)&cpu_armpmu);irq_ops=&percpu_pmuirq_ops;}else{-has_nmi=true;+has_nmi=true;irq_ops=&percpu_pmunmi_ops;}}else{
From: Jay Fang <f.fangjian@huawei.com> Date: 2021-05-11 13:25:31
From: Junhao He <redacted>
Fix some coding style issues reported by checkpatch.pl, including
following types:
WARNING: void function return statements are not generally useful
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by: Junhao He <redacted>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
drivers/perf/arm_spe_pmu.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
From: Jay Fang <f.fangjian@huawei.com> Date: 2021-05-11 13:25:50
From: Junhao He <redacted>
Fix a warning from checkpatch.pl.
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Junhao He <redacted>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
drivers/perf/arm-cmn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)