Re: [PATCH] This patch to printk.c fixes a few errors reported by checkpatch.pl

From: Jesper Juhl
Date: Thu Jan 03 2008 - 18:43:16 EST


On 04/01/2008, Paolo Ciarrocchi <paolo.ciarrocchi@xxxxxxxxx> wrote:
> This patch to printk.c fixes a few errors reported by checkpatch.pl
>
[...]
> - for (a=console_drivers->next, b=console_drivers ;
> - a; b=a, a=b->next) {
> + for (a = console_drivers->next, b = console_drivers ;

I would say that if you are modifying this line anyway you should make it read

for (a = console_drivers->next, b = console_drivers;

(the change is the removal of the space before the ';' at the end of the line)

otherwise I think it looks sane enough as a small style cleanup.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
--
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/