qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH v6 1/8] scripts: Allow include "stdint.h" in virti


From: Thomas Huth
Subject: Re: [Qemu-ppc] [PATCH v6 1/8] scripts: Allow include "stdint.h" in virtio headers
Date: Tue, 25 Aug 2015 15:49:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

On 24/08/15 14:03, 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>
> ---
>  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/' \
> 

Reviewed-by: Thomas Huth <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]