[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v8 1/7] scripts: Allow include "stdint.h" in virtio he
From: |
Gavin Shan |
Subject: |
[Qemu-ppc] [PATCH v8 1/7] scripts: Allow include "stdint.h" in virtio headers |
Date: |
Mon, 14 Sep 2015 11:36:09 +1000 |
This allows to include "stdint.h" in virtio header files. Otherwise,
scripts/update-linux-headers.sh fails when updating headers from
Linux 4.2.rc8 kernel. include/uapi/linux/virtio_ring.h starts to
include "stdint.h" from commit d768f32a ("virtio: Fix typecast of
pointer in vring_init()").
Signed-off-by: Gavin Shan <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: David Gibson <address@hidden>
---
scripts/update-linux-headers.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index f0e830c..2fddf2e 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -37,7 +37,8 @@ cp_virtio() {
mkdir -p "$to"
for f in $virtio; do
if
- grep '#include' "$f" | grep -v -e 'linux/virtio' \
+ grep '#include' "$f" | grep -v -e 'stdint' \
+ -e 'linux/virtio' \
-e 'linux/types' \
-e 'linux/if_ether' \
-e 'sys/' \
--
2.1.0
- [Qemu-ppc] [PATCH v8 0/7] sPAPR: Support EEH Error Injection, Gavin Shan, 2015/09/13
- [Qemu-ppc] [PATCH v8 3/7] scripts: Submit changes while updating linux headers, Gavin Shan, 2015/09/13
- [Qemu-ppc] [PATCH v8 2/7] scripts: Include arch/powerpc/include/uapi/asm/eeh.h, Gavin Shan, 2015/09/13
- [Qemu-ppc] [PATCH v8 1/7] scripts: Allow include "stdint.h" in virtio headers,
Gavin Shan <=
- [Qemu-ppc] [PATCH v8 4/7] Synchronize Linux headers from kernel 4.3.0-rc1, Gavin Shan, 2015/09/13
- [Qemu-ppc] [PATCH v8 6/7] sPAPR: Support RTAS call ibm, {open, close}-errinjct, Gavin Shan, 2015/09/13
- [Qemu-ppc] [PATCH v8 5/7] Obsolete PCI_MSIX_FLAGS_BIRMASK, Gavin Shan, 2015/09/13
- [Qemu-ppc] [PATCH v8 7/7] sPAPR: Support RTAS call ibm,errinjct, Gavin Shan, 2015/09/13
- Re: [Qemu-ppc] [PATCH v8 0/7] sPAPR: Support EEH Error Injection, David Gibson, 2015/09/14