Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

From: Tom Rini
Date: Tue Feb 25 2014 - 07:31:26 EST


On 02/25/2014 12:23 AM, Joe Perches wrote:
> On Mon, 2014-02-24 at 17:43 -0500, Tom Rini wrote:
>> My perl is quite limited, so however much effort you're interested in
>> putting in here is greatly appreciated (even if it's pointing out
>> something else already in the script to copy and modify). We already
>> ship a .checkpatch.conf so having to enable something by default is
>> fine. Thanks!
>
> The U-Boot checkpatch is not the same as the current
> linux version and would need updating.
>
> Tell me a little more please about how often or possible
> it would be to update the current linux version of
> checkpatch to the version used in U-Boot.

The only intentional differences we have today are adding debug/printf
to the list of log functions and pointing people at boards.cfg not
CHECKPATCH in MAINTAINERS, so I can re-sync us no problem as, yup, we're
about a year out of date there. Oh and I see now someone snuck in a
check for whitespace before semi-colon to catch 'return 0 ;' which I'll
check real quick isn't something already caught and if not post that as
well.

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