public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: cpuidle: Added a blank line after declarations
@ 2014-12-10 17:37 Anjana Sasindran
  2014-12-10 21:45 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Anjana Sasindran @ 2014-12-10 17:37 UTC (permalink / raw)
  To: rjw, daniel.lezcano; +Cc: linux-kernel, Anjana Sasindran

This patch fix the checkpatch.pl warning:

WARNING: Missing blank line after declarations

Signed-off-by: Anjana Sasindran <anjanasasindran123@gmail.com>
---
 drivers/cpuidle/driver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c
index e431d11..7fa66f6 100644
--- a/drivers/cpuidle/driver.c
+++ b/drivers/cpuidle/driver.c
@@ -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);
 }
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers: cpuidle: Added a blank line after declarations
  2014-12-10 21:45 ` Rafael J. Wysocki
@ 2014-12-10 21:44   ` Joe Perches
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Perches @ 2014-12-10 21:44 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Anjana Sasindran, daniel.lezcano, linux-kernel

On Wed, 2014-12-10 at 22:45 +0100, Rafael J. Wysocki wrote:
> On Wednesday, December 10, 2014 11:07:24 PM Anjana Sasindran wrote:
> > 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers: cpuidle: Added a blank line after declarations
  2014-12-10 17:37 [PATCH] drivers: cpuidle: Added a blank line after declarations Anjana Sasindran
@ 2014-12-10 21:45 ` Rafael J. Wysocki
  2014-12-10 21:44   ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2014-12-10 21:45 UTC (permalink / raw)
  To: Anjana Sasindran; +Cc: daniel.lezcano, linux-kernel

On Wednesday, December 10, 2014 11:07:24 PM Anjana Sasindran wrote:
> 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!

> Signed-off-by: Anjana Sasindran <anjanasasindran123@gmail.com>
> ---
>  drivers/cpuidle/driver.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c
> index e431d11..7fa66f6 100644
> --- a/drivers/cpuidle/driver.c
> +++ b/drivers/cpuidle/driver.c
> @@ -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);
>  }
>  
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-10 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 17:37 [PATCH] drivers: cpuidle: Added a blank line after declarations Anjana Sasindran
2014-12-10 21:45 ` Rafael J. Wysocki
2014-12-10 21:44   ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox