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:	Thu, 18 Dec 2014 19:51:59 +0800
From:	Chunyan Zhang <zhang.chunyan@...aro.org>
To:	m.chehab@...sung.com, david@...deman.nu, uli-lirc@...-eckhardt.de,
	hans.verkuil@...co.com, julia.lawall@...6.fr, himangi774@...il.com,
	khoroshilov@...ras.ru, joe@...ches.com, dborkman@...hat.com,
	john.stultz@...aro.org, tglx@...utronix.de, davem@...emloft.net,
	dwmw2@...radead.org, computersforpeace@...il.com, arnd@...aro.org
Cc:	linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
	linux-media@...r.kernel.org, zhang.lyra@...il.com
Subject: [PATCH 0/3] Changes the time type 'timeval' to 'Ktime'

This patch-set changes the 32-bit time type (timeval) to the 64-bit one
(ktime_t) in imon.c, speedtest.c and torturetest.c, since 32-bit time
types will break in the year 2038.

This patch-set also introduces a reusable time difference function which
returns the difference in millisecond in ktime.h. The last two patches
of this patch-set will use this function, so they are dependent on the
first one. 

Chunyan Zhang (3):
  ktime.h: Introduce ktime_ms_delta
  mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c
  media: rc: Replace timeval with ktime_t in imon.c

 drivers/media/rc/imon.c         |   49 +++++++++++----------------------------
 drivers/mtd/tests/speedtest.c   |   10 ++++----
 drivers/mtd/tests/torturetest.c |   10 ++++----
 include/linux/ktime.h           |    5 ++++
 4 files changed, 28 insertions(+), 46 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ