diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-27 16:45:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 04:03:36 +0200 |
commit | 1f4fc343c008981d3a91351c030e2c29f5cd1b1c (patch) | |
tree | cfb7ddc7009c251b688f0a31a20c1eb3d2cb6c21 /sound/soc | |
parent | 473c4e01029f6692be7ddc0e7f9b75dc933c7057 (diff) |
staging/lustre: use 64-bit times for cfs_srand seed
Several functions in Lustre call cfs_srand with do_gettimeofday
as the seed to get a pseudo-random number.
There is no bug here, but changing it to use ktime_get_ts64()
gets us closer to deprecating do_gettimeofday() and makes it slightly
more random.
Affected functions are:
lnet_shuffle_seed, init_lustre_lite and class_handle_init
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions