All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Peter Maydell <peter.maydell@linaro.org>,
	Riku Voipio <riku.voipio@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 0/6] linux-user patches for 2.4 softfreeze
Date: Mon, 15 Jun 2015 17:26:01 +0200	[thread overview]
Message-ID: <557EEE89.2020604@vivier.eu> (raw)
In-Reply-To: <CAFEAcA_oKrcTy_sMHvgY-K9_foe0dnNTZD9p=-7yye_dmrZqZg@mail.gmail.com>



Le 15/06/2015 17:14, Peter Maydell a écrit :
> On 15 June 2015 at 13:20,  <riku.voipio@linaro.org> wrote:
>> From: Riku Voipio <riku.voipio@linaro.org>
>>
>> The following changes since commit 0a2df857a7038c75379cc575de5d4be4c0ac629e:
>>
>>   Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into staging (2015-06-12 15:39:05 +0100)
>>
>> are available in the git repository at:
>>
>>   git://git.linaro.org/people/riku.voipio/qemu.git tags/pull-linux-user-20150615
>>
>> for you to fetch changes up to d2897da1f1e97d684f80ff62d473c31b79bc643a:
>>
>>   linux-user: fix the breakpoint inheritance in spawned threads (2015-06-15 11:36:59 +0300)
>>
>> ----------------------------------------------------------------
>> linux-user patches for 2.4 softfreeze
>>
>> ----------------------------------------------------------------
> 
> I get a lot of build errors with clang:
> 
> /home/petmay01/linaro/qemu-for-merges/linux-user/syscall.c:3610:10:
> error: overflow
>       converting case value to switch condition type (3241737481 to
> 18446744072656321801)
>       [-Werror,-Wswitch]
>     case DM_TABLE_LOAD:
>          ^
> /usr/include/linux/dm-ioctl.h:259:26: note: expanded from macro 'DM_TABLE_LOAD'
> #define DM_TABLE_LOAD    _IOWR(DM_IOCTL, DM_TABLE_LOAD_CMD, struct dm_ioctl)
>                          ^
> /usr/include/asm-generic/ioctl.h:77:29: note: expanded from macro '_IOWR'
> #define _IOWR(type,nr,size)
> _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHE...
>                                 ^
> /usr/include/asm-generic/ioctl.h:66:2: note: expanded from macro '_IOC'
>         (((dir)  << _IOC_DIRSHIFT) | \
>         ^
> /home/petmay01/linaro/qemu-for-merges/linux-user/syscall.c:3606:10:
> error: overflow
>       converting case value to switch condition type (3241737486 to
> 18446744072656321806)
>       [-Werror,-Wswitch]
>     case DM_TARGET_MSG:
>          ^
> (etc etc for all the cases until clang gives up because it's emitted
> too many errors).
> 
> Guessing this is the result of the ioctl patch?

Yes, I guess too.

Could drop this patch out ? I will rework it.

Laurent

  reply	other threads:[~2015-06-15 15:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 12:20 [Qemu-devel] [PULL 0/6] linux-user patches for 2.4 softfreeze riku.voipio
2015-06-15 12:20 ` [Qemu-devel] [PULL 1/6] linux-user: Allocate thunk size dynamically riku.voipio
2015-06-15 12:20 ` [Qemu-devel] [PULL 2/6] linux-user: Use abi_ulong for TARGET_ELF_PAGESTART riku.voipio
2015-06-15 12:20 ` [Qemu-devel] [PULL 3/6] linux-user: ioctl() command type is int riku.voipio
2015-06-15 12:20 ` [Qemu-devel] [PULL 4/6] linux-user: Fix length handling in host_to_target_cmsg riku.voipio
2015-06-15 12:20 ` [Qemu-devel] [PULL 5/6] linux-user: use __get_user and __put_user in cmsg conversions riku.voipio
2015-06-15 12:20 ` [Qemu-devel] [PULL 6/6] linux-user: fix the breakpoint inheritance in spawned threads riku.voipio
2015-06-15 15:14 ` [Qemu-devel] [PULL 0/6] linux-user patches for 2.4 softfreeze Peter Maydell
2015-06-15 15:26   ` Laurent Vivier [this message]
2015-06-15 22:35   ` [Qemu-devel] [PATCH v2] linux-user: ioctl() command type is int Laurent Vivier
2015-06-15 22:46     ` Eric Blake
2015-06-16  6:57     ` Riku Voipio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=557EEE89.2020604@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.