Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

From: Andres Salomon
Date: Thu Jul 26 2012 - 22:28:11 EST


On Fri, 27 Jul 2012 08:49:19 +0900
Toshiaki Yamane <yamanetoshi@xxxxxxxxx> wrote:

> Now checkpatch clean.
>
> $ find drivers/staging/olpc_dcon/ -name
> "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut
> -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep
> for up to 20ms; see Documentation/timers/timers-howto.txt 3 WARNING:

NACK - please don't modify the msleep timings right now. The pr_*
changes are welcome, however.


> Prefer pr_debug(... to printk(KERN_DEBUG, ... 3 WARNING: Prefer
> pr_warn(... to printk(KERN_WARNING, ... 6 WARNING: Prefer
> pr_info(... to printk(KERN_INFO, ... 19 WARNING: Prefer pr_err(...
> to printk(KERN_ERR, ...
>
> And added pr_fmt.
>
> Signed-off-by: Toshiaki Yamane <yamanetoshi@xxxxxxxxx>
[...]
--
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/