Re: [PATCH] checkpatch: Warn on #include <uapi/...

From: David Howells
Date: Tue Dec 18 2012 - 15:36:22 EST

Joe Perches <joe@xxxxxxxxxxx> wrote:

> No. I'm confused, I believe your example was:
> arch/powerpc/include/asm/kvm_para.h
> ...
> -#include <linux/types.h>
> +#include <uapi/asm/kvm_para.h>

No, that is a correct alteration.

The example I gave was:

- #include <asm/epapr_hcalls.h>
++#include <uapi/asm/epapr_hcalls.h>

which is to be found in arch/powerpc/include/uapi/asm/kvm_para.h.

Sorry for the confusion.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at