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-prev] [day] [month] [year] [list]
Date:	Tue, 07 May 2013 17:11:39 -0700
From:	John Stultz <john.stultz@...aro.org>
To:	Liu Ying <Ying.Liu@...escale.com>
CC:	linux-kernel@...r.kernel.org, davem@...emloft.net,
	dborkman@...hat.com, tglx@...utronix.de, liu.y.victor@...il.com
Subject: Re: [PATCH v2] ktime: Use macro NSEC_PER_USEC where appropriate

On 05/07/2013 01:38 AM, Liu Ying wrote:
> We've got the macro NSEC_PER_USEC defined in header file
> include/linux/time.h. To make the code decent, this patch
> replaces the immediate number 1000 to convert bewteen a
> time value in microseconds and one in nanoseconds with the
> macro NSEC_PER_USEC.
>
> Signed-off-by: Liu Ying <Ying.Liu@...escale.com>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Daniel Borkmann <dborkman@...hat.com>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: John Stultz <john.stultz@...aro.org>
> ---
> Changes for v2:
> 1. Update commit head and message to be more appropriate.
> 2. Avoid an unnecessary cast in the function
>     timeval_to_ktime().

I've gone ahead and queued this for 3.11.

thanks
-john

--
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