Re: scripts/checkpatch.pl: WARNING: patch prefix 'arch' exists,appears to be a -p0 patch

From: Andy Whitcroft
Date: Thu Jan 15 2009 - 13:50:30 EST


On Mon, Jan 12, 2009 at 10:33:40PM +0530, Jaswinder Singh Rajput wrote:
> Hello Andy,
>
> How to get rid of this warning:
>
> #./scripts/checkpatch.pl --file arch/x86/kernel/module_32.c
> WARNING: patch prefix 'arch' exists, appears to be a -p0 patch
>
> total: 0 errors, 1 warnings, 152 lines checked
>
> arch/x86/kernel/module_32.c has style problems, please review. If any
> of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.

That looks wrong to me. Will have a look at it.

Ahh yes, thats just wrong. Should be fixed in the tip of my tree, and
will be in the next block of updates. You can check against the version
at:

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/