Re: [PATCH] ARM64: use linux/types.h in kvm.h
From: Arnd Bergmann
Date: Fri Nov 13 2015 - 06:46:50 EST
On Friday 13 November 2015 12:38:43 Christoffer Dall wrote:
> On Thu, Nov 12, 2015 at 03:41:08PM +0100, Arnd Bergmann wrote:
> > We should always use linux/types.h instead of asm/types.h for
> > consistency, and Kbuild actually warns about it:
> > ./usr/include/asm/kvm.h:35: include of <linux/types.h> is preferred over <asm/types.h>
> > This patch does as Kbuild asks us.
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> I don't see this error when building the kernel, does it require a
> special option to check for these things?
CONFIG_HEADERS_CHECK should be included in 'allmodconfig', which is the
configuration I used. I think at the moment, allmodconfig builds fail,
so you don't get to this point unless you also apply my other fixes.
> In any case, thanks for the patch, I have applied it.
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/