[PATCH drivers/perf 3/4] drivers/perf: fixing coding style issues

Tian Tao tiantao6 at hisilicon.com
Thu Mar 25 07:16:23 GMT 2021


  no functional changes.

  Fix checkpatch error:
  ERROR: spaces required around that '=' (ctx:VxW)
  #700: FILE: arm_pmu.c:700:
  +	    has_nmi= true;
	           ^
Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
Signed-off-by: Junhao He <hejunhao2 at hisilicon.com>
Signed-off-by: Qi Liu <liuqi115 at huawei.com>
---
 drivers/perf/arm_pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/perf/arm_pmu.c b/drivers/perf/arm_pmu.c
index 2d10d84..c6dab8d8 100644
--- a/drivers/perf/arm_pmu.c
+++ b/drivers/perf/arm_pmu.c
@@ -697,7 +697,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 {
-- 
2.7.4




More information about the linux-arm-kernel mailing list