* [RESEND] [PATCH] kernel/panic.c: Fix two checkpatch.pl errors (whitespace cleanup)
@ 2010-12-14 16:58 Toralf Förster
2010-12-14 18:42 ` Dan Carpenter
0 siblings, 1 reply; 3+ messages in thread
From: Toralf Förster @ 2010-12-14 16:58 UTC (permalink / raw)
To: tfransosi; +Cc: kernel-janitors, akpm, linux-kernel, Toralf Förster
nothing else
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
---
kernel/panic.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/panic.c b/kernel/panic.c
index 4c13b1a..13623e4 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -56,7 +56,7 @@ EXPORT_SYMBOL(panic_blink);
*
* This function never returns.
*/
-NORET_TYPE void panic(const char * fmt, ...)
+NORET_TYPE void panic(const char *fmt, ...)
{
static char buf[1024];
va_list args;
@@ -75,7 +75,7 @@ NORET_TYPE void panic(const char * fmt, ...)
va_start(args, fmt);
vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
- printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf);
+ printk(KERN_EMERG "Kernel panic - not syncing: %s\n", buf);
#ifdef CONFIG_DEBUG_BUGVERBOSE
dump_stack();
#endif
--
1.7.3.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RESEND] [PATCH] kernel/panic.c: Fix two checkpatch.pl errors (whitespace cleanup)
2010-12-14 16:58 [RESEND] [PATCH] kernel/panic.c: Fix two checkpatch.pl errors (whitespace cleanup) Toralf Förster
@ 2010-12-14 18:42 ` Dan Carpenter
2010-12-14 18:50 ` Toralf Förster
0 siblings, 1 reply; 3+ messages in thread
From: Dan Carpenter @ 2010-12-14 18:42 UTC (permalink / raw)
To: Toralf Förster; +Cc: tfransosi, kernel-janitors, akpm, linux-kernel
On Tue, Dec 14, 2010 at 05:58:08PM +0100, Toralf Förster wrote:
> nothing else
>
This patch is not helpful. I mean that in the sense that the code is
just as readable before and after. :/ Please only send patches that
make the code better.
Checkpatch.pl is a good tool for staging but outside of staging you
should only use it for [check]ing [patch]es. The problem is that
pointless churn clutters up the log and breaks git blame. In staging
that's Ok.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RESEND] [PATCH] kernel/panic.c: Fix two checkpatch.pl errors (whitespace cleanup)
2010-12-14 18:42 ` Dan Carpenter
@ 2010-12-14 18:50 ` Toralf Förster
0 siblings, 0 replies; 3+ messages in thread
From: Toralf Förster @ 2010-12-14 18:50 UTC (permalink / raw)
To: Dan Carpenter; +Cc: tfransosi, kernel-janitors, akpm, linux-kernel
Dan Carpenter wrote at 19:42:57
> The problem is that pointless churn clutters up the log and breaks git
blame.
Ok, understood.
--
MfG/Kind regards
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-14 18:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14 16:58 [RESEND] [PATCH] kernel/panic.c: Fix two checkpatch.pl errors (whitespace cleanup) Toralf Förster
2010-12-14 18:42 ` Dan Carpenter
2010-12-14 18:50 ` Toralf Förster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®