Re: [PATCH] checkpatch.pl: fix 2 of 2 errors in ./kernek/panic.c

From: Thiago Farina
Date: Tue Dec 14 2010 - 11:17:39 EST


2010/12/14 Toralf FÃrster <toralf.foerster@xxxxxx>:
>
> Signed-off-by: Toralf FÃrster <toralf.foerster@xxxxxx>
> ---
> Â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

Can you put in the change log message the description of those errors
and resend? Looking at this patch it seems they are just whitespace
changes or something very trivial like this.

The subject line could be something more like:
kernek/panic.c: Fix two checkpatch.pl errors:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/