[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v7 1/8] scripts: Allow include "stdint.h" in virti
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH v7 1/8] scripts: Allow include "stdint.h" in virtio headers |
Date: |
Tue, 1 Sep 2015 10:50:54 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Aug 28, 2015 at 05:15:13PM +1000, Gavin Shan wrote:
> 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/' \
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpNLq6cqgHBh.pgp
Description: PGP signature
[Qemu-ppc] [PATCH v7 2/8] scripts: Include arch/powerpc/include/uapi/asm/eeh.h, Gavin Shan, 2015/08/28
[Qemu-ppc] [PATCH v7 1/8] scripts: Allow include "stdint.h" in virtio headers, Gavin Shan, 2015/08/28
- Re: [Qemu-ppc] [PATCH v7 1/8] scripts: Allow include "stdint.h" in virtio headers,
David Gibson <=
[Qemu-ppc] [PATCH v7 4/8] Synchronize Linux headers from kernel 4.2.0-rc8, Gavin Shan, 2015/08/28
[Qemu-ppc] [PATCH v7 7/8] sPAPR: Support RTAS call ibm, {open, close}-errinjct, Gavin Shan, 2015/08/28
[Qemu-ppc] [PATCH v7 5/8] Obsolete PCI_MSIX_FLAGS_BIRMASK, Gavin Shan, 2015/08/28
[Qemu-ppc] [PATCH v7 6/8] sPAPR: Introduce rtas_ldq(), Gavin Shan, 2015/08/28
[Qemu-ppc] [PATCH v7 8/8] sPAPR: Support RTAS call ibm,errinjct, Gavin Shan, 2015/08/28