Re: [PATCH] scripts/checkpatch.pl: Add additional attribute#defines

From: Andy Whitcroft
Date: Wed Aug 18 2010 - 07:30:34 EST


On Wed, Aug 11, 2010 at 10:29:08AM -0700, Joe Perches wrote:
> On Wed, 2010-08-11 at 12:35 -0400, Dave Jones wrote:
> > I just got this from a patch I merged..
> >
> > ERROR: need consistent spacing around '*' (ctx:WxV)
> > #121: FILE: arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c:113:
> > +static struct pcc_cpu __percpu *pcc_cpu_info;
> > ^
> > which doesn't seem right.
>
> Perhaps these need to be added to checkpatch.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

This one looks sane to me, I've pulled this into my tree. The version
at the URL below should contain it for testing:

http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing

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