aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-09-27 16:45:10 -0400
committerGreg Kroah-Hartman <[email protected]>2015-09-29 04:03:35 +0200
commit5e50efea6a4fe6c92dce3022878f91cf17bdceb8 (patch)
tree28121e73c52705221d2678dddf100f69911f31c4 /tools/perf/scripts
parenta11ef8ca94cccca98e0d7f23d5145cad71dd62f0 (diff)
staging/lustre: use 64-bit time LNetCtl()
This ioctl function passes a 64-bit time argument but then performs a computation with a 32-bit get_seconds() value. In order to avoid overflow here, this changes the code to use 64-bit math and ktime_get_real_seconds(). Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions