qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1904464] [NEW] Build fails with 64 bits time_t


From: Fabrice Fontaine
Subject: [Bug 1904464] [NEW] Build fails with 64 bits time_t
Date: Mon, 16 Nov 2020 20:46:39 -0000

Public bug reported:

time element is deprecated on new input_event structure in kernel's
input.h [1]

This will avoid the following build failure:

hw/input/virtio-input-host.c: In function 'virtio_input_host_handle_status':
hw/input/virtio-input-host.c:198:28: error: 'struct input_event' has no member 
named 'time'
  198 |     if (gettimeofday(&evdev.time, NULL)) {
      |                            ^

Fixes:
 - 
http://autobuild.buildroot.org/results/a538167e288c14208d557cd45446df86d3d599d5
 - 
http://autobuild.buildroot.org/results/efd4474fb4b6c0ce0ab3838ce130429c51e43bbb

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f

** Affects: qemu
     Importance: Undecided
         Status: New

** Patch added: "0002-Fix-build-with-64-bits-time_t.patch"
   
https://bugs.launchpad.net/bugs/1904464/+attachment/5434882/+files/0002-Fix-build-with-64-bits-time_t.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1904464

Title:
  Build fails with 64 bits time_t

Status in QEMU:
  New

Bug description:
  time element is deprecated on new input_event structure in kernel's
  input.h [1]

  This will avoid the following build failure:

  hw/input/virtio-input-host.c: In function 'virtio_input_host_handle_status':
  hw/input/virtio-input-host.c:198:28: error: 'struct input_event' has no 
member named 'time'
    198 |     if (gettimeofday(&evdev.time, NULL)) {
        |                            ^

  Fixes:
   - 
http://autobuild.buildroot.org/results/a538167e288c14208d557cd45446df86d3d599d5
   - 
http://autobuild.buildroot.org/results/efd4474fb4b6c0ce0ab3838ce130429c51e43bbb

  [1]
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1904464/+subscriptions



reply via email to

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