[Top][All Lists]

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

[Qemu-commits] [qemu/qemu] bdf211: Revert "syscall: fix dereference of u

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bdf211: Revert "syscall: fix dereference of undefined poin...
Date: Mon, 31 Jul 2017 06:45:39 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bdf211f884113426e1f8226b69731593efa003ea
  Author: Peter Maydell <address@hidden>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  Revert "syscall: fix dereference of undefined pointer"

This reverts commit bc658e4a2e81593f75a3ae34b112be77efbb3e0a.

Some versions of gcc warn about this:

linux-user/syscall.c: In function ‘do_ioctl_rt’:
linux-user/syscall.c:5577:37: error: ‘host_rt_dev_ptr’ may be used 
uninitialized in this function [-Werror=uninitialized]

and in particular the Travis builds fail; they use
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3.

Revert the change to fix the travis builds.

Signed-off-by: Peter Maydell <address@hidden>

reply via email to

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