diff options
| author | 2015-05-19 11:38:09 +0530 | |
|---|---|---|
| committer | 2015-06-08 10:49:50 +0100 | |
| commit | e1d5bbcdc7ca08d8731f5d780f0de342a768d96a (patch) | |
| tree | 2ed770c803a290e6c0cc968a9f62ae2f968883cd /drivers/net/xen-netback/netback.c | |
| parent | xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON() (diff) | |
| download | wireguard-linux-e1d5bbcdc7ca08d8731f5d780f0de342a768d96a.tar.xz wireguard-linux-e1d5bbcdc7ca08d8731f5d780f0de342a768d96a.zip | |
xen/pcifront: Remove usage of struct timeval
struct timeval uses a 32-bit field for representing seconds, which
will overflow in the year 2038 and beyond. Replace struct timeval with
64-bit ktime_t which is 2038 safe. This is part of a larger effort to
remove instances of 32-bit timekeeping variables (timeval, time_t and
timespec) from the kernel.
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions
