Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1268000 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2015-11-12 15:50 +0100 |
| Last post | 2015-11-13 12:50 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM64: use linux/types.h in kvm.h Arnd Bergmann <arnd@arndb.de> - 2015-11-12 15:50 +0100
Re: [PATCH] ARM64: use linux/types.h in kvm.h Christoffer Dall <christoffer.dall@linaro.org> - 2015-11-13 12:40 +0100
Re: [PATCH] ARM64: use linux/types.h in kvm.h Arnd Bergmann <arnd@arndb.de> - 2015-11-13 12:50 +0100
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2015-11-12 15:50 +0100 |
| Subject | [PATCH] ARM64: use linux/types.h in kvm.h |
| Message-ID | <qu1mi-1Ij-19@gated-at.bofh.it> |
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@arndb.de> --- Found on ARM64 allmodconfig diff --git a/arch/arm64/include/uapi/asm/kvm.h b/arch/arm64/include/uapi/asm/kvm.h index 0cd7b5947dfc..2d4ca4bb0dd3 100644 --- a/arch/arm64/include/uapi/asm/kvm.h +++ b/arch/arm64/include/uapi/asm/kvm.h @@ -32,7 +32,7 @@ #ifndef __ASSEMBLY__ #include <linux/psci.h> -#include <asm/types.h> +#include <linux/types.h> #include <asm/ptrace.h> #define __KVM_HAVE_GUEST_DEBUG -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Christoffer Dall <christoffer.dall@linaro.org> |
|---|---|
| Date | 2015-11-13 12:40 +0100 |
| Message-ID | <qukRX-5MX-1@gated-at.bofh.it> |
| In reply to | #1268000 |
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@arndb.de> I don't see this error when building the kernel, does it require a special option to check for these things? In any case, thanks for the patch, I have applied it. -Christoffer -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2015-11-13 12:50 +0100 |
| Message-ID | <qul1E-5Qz-19@gated-at.bofh.it> |
| In reply to | #1268880 |
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@arndb.de> > > 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. Thanks! Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web