Messages in this thread | | | Subject | Re: [PATCH] checkpatch: Warn on #include <uapi/... | From | Joe Perches <> | Date | Tue, 18 Dec 2012 14:14:52 -0800 |
| |
On Tue, 2012-12-18 at 20:35 +0000, David Howells wrote: > Joe Perches <joe@perches.com> wrote: [] > > 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.
Just to verify, any file in any path [.../]include/uapi/... should not itself have a line like '#include <uapi/...' ?
| |