Skip to contentSkip to conversation

drivers: cpuidle: Added a blank line after declarations

PATCH In review Anjana Sasindran 3 participants 3 messages Dec 10, 2014 CPU idle time management framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: cpuidle: Added a blank line after declarations

This patch fix the checkpatch.pl warning:

WARNING: Missing blank line after declarations

---
 drivers/cpuidle/driver.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpuidle/driver.c +1 -0
index e431d11..7fa66f6 100644
@@ -144,6 +144,7 @@ static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv)
 static void cpuidle_setup_broadcast_timer(void *arg)
 {
 	int cpu = smp_processor_id();
+
 	clockevents_notify((long)(arg), &cpu);
 }
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Anjana Sasindran

This patch fix the checkpatch.pl warning:

WARNING: Missing blank line after declarations

Please send a patch to checkpatch.pl maintainers to make it not complain in this case instead. Thanks!

Quoted 18 lines
---
 drivers/cpuidle/driver.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpuidle/driver.c +1 -0
index e431d11..7fa66f6 100644
@@ -144,6 +144,7 @@ static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv)
 static void cpuidle_setup_broadcast_timer(void *arg)
 {
 	int cpu = smp_processor_id();
+
 	clockevents_notify((long)(arg), &cpu);
 }
 
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
#2 lore raw
Quoted 7 lines · Rafael J. Wysocki
Quoted 3 lines · Anjana Sasindran

This patch fix the checkpatch.pl warning:

WARNING: Missing blank line after declarations

Please send a patch to checkpatch.pl maintainers to make it not complain in this case instead. Thanks!

Direct any plaints to Andrew Morton and Greg KH instead. I don't care one way or another.

https://lkml.org/lkml/2014/3/6/550
https://lkml.org/lkml/2014/3/10/457