lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  7 Jan 2015 11:39:32 +0800
From:	Chunyan Zhang <zhang.chunyan@...aro.org>
To:	samuel@...tiz.org
Cc:	arnd@...aro.org, zhang.lyra@...il.com, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] driver/net/irda: Use ktime_t instead of timeval

This patch-set removed all uses of timeval and used ktime_t instead if
needed, since 32-bit time types will break in the year 2038.

This patch-set also used the ktime_xxx functions accordingly.
e.g.
* Used ktime_get to get the current time instead of do_gettimeofday.
* And, used ktime_us_delta to get the elapsed time directly.

Chunyan Zhang (6):
  driver/net/irda: Removed all unused timeval variables
  driver/net/irda: Replace timeval with ktime_t in ali-ircc
  driver/net/irda: Replace timeval with ktime_t in irda-usb
  driver/net/irda: Replace timeval with ktime_t in nsc-ircc
  driver/net/irda: Replace timeval with ktime_t in stir4200
  driver/net/irda: Replace timeval with ktime_t in vlsi_ir

 drivers/net/irda/ali-ircc.c    |   12 ++++------
 drivers/net/irda/ali-ircc.h    |    6 ++---
 drivers/net/irda/au1k_ir.c     |    3 ---
 drivers/net/irda/irda-usb.c    |   11 +++------
 drivers/net/irda/irda-usb.h    |    6 ++---
 drivers/net/irda/kingsun-sir.c |    3 ---
 drivers/net/irda/ks959-sir.c   |    3 ---
 drivers/net/irda/mcs7780.c     |    2 --
 drivers/net/irda/mcs7780.h     |    1 -
 drivers/net/irda/nsc-ircc.c    |    8 +++----
 drivers/net/irda/nsc-ircc.h    |    6 ++---
 drivers/net/irda/stir4200.c    |   18 +++++++-------
 drivers/net/irda/via-ircc.h    |    4 ----
 drivers/net/irda/vlsi_ir.c     |   51 ++++++++++++++--------------------------
 drivers/net/irda/vlsi_ir.h     |    2 +-
 15 files changed, 46 insertions(+), 90 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ