Re: [PATCH] arch/arm/plat-mxc/cpufreq.c: Fix line continuationdefect

From: Joe Perches
Date: Mon Nov 08 2010 - 12:39:49 EST


On Mon, 2010-11-08 at 09:18 +0100, Uwe Kleine-KÃnig wrote:
> On Sun, Nov 07, 2010 at 01:10:15PM -0800, Joe Perches wrote:
> > diff --git a/arch/arm/plat-mxc/cpufreq.c b/arch/arm/plat-mxc/cpufreq.c
[]
> > - printk(KERN_ERR "%s: failed to register i.MXC CPUfreq \
> > - with error code %d\n", __func__, ret);
> > + printk(KERN_ERR "%s: failed to register i.MXC CPUfreq with error code %d\n",
> > + __func__, ret);
> I'd prefer
> + printk(KERN_ERR "%s: failed to register i.MXC CPUfreq "
> + "with error code %d\n", __func__, ret);
> (actually I'd consider
> + pr_err("failed to register i.MXC CPUfreq (error: %d)\n", ret)
> even better, but this is out of scope for this patch, isn't it?)

Yes, it's out of scope.

I do have a perl & emacs script that converts
printk(KERN_<level> to pr_<level>, coalesces formats,
and wraps/aligns arguments.

It's around 2K lines of changes though for arch/arm.

Anyone want that all at once or by platform by platform?

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