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.

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