Re: [x86] get rid of checkpatch.pl complains on apm_32.c

From: Ingo Molnar
Date: Tue Jan 01 2008 - 10:30:01 EST



* Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:

> damn me! *really* sorry for this.

nah, this happens all the time for me too - that's why i run a script
over cleanup patches.

> Ingo, do you use some script for this checking? if yes - could you
> share it? ;) (i think it's not really hard to write myown, but your
> one is really preferred ;)

sure, pick up the script from:

http://redhat.com/~mingo/misc/q-size-obj-compare

it depends on having the patch in a quilt queue. (and it's really sucky,
no error checking, etc.)

just run it - it picks up a modified .c file and compares that. If you
modify multiple files and want to check another one, give that file as
an argument to the script.

Ingo

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