Re: [PATCH] checkpatch: Suggest pr_<level> over printk(KERN_<LEVEL>

From: Ted Ts'o
Date: Tue Mar 13 2012 - 08:05:30 EST


On Mon, Mar 12, 2012 at 11:23:03PM -0700, Joe Perches wrote:
> Suggest the shorter pr_<level> instead of printk(KERN_<LEVEL>.
>
> Prefer to use pr_<level> over bare printks.
> Prefer to use pr_warn over pr_warning.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Is this even worth a warning? I don't think so....

- Ted
--
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/