Arnd Bergmann
f3f99d37e6
ata: fix "ering" sysfs time printing
...
The sysfs file for the libata error handling has multiple issues
in the way it prints time stamps:
* it prints a 9-digit nanosecond value using a %06lu format string,
which drops some leading zeroes
* it converts a 64-bit jiffes value to a timespec using
jiffies_to_timespec(), which takes a 'long' argument, so the
result is wrong after a jiffies overflow (49 days).
* we try to avoid using timespec because that generally overflows
in 2038, although this particular usage is ok.
This replaces the jiffies_to_timespec call with an open-coded
implementation that gets it right.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Tejun Heo <tj@kernel.org >
2016-06-17 12:07:11 -04:00
..
2016-05-26 09:36:10 -07:00
2016-06-17 12:07:11 -04:00
2016-05-25 15:29:21 -07:00
2016-05-24 11:00:20 -07:00
2016-05-26 19:34:26 -07:00
2016-05-13 16:54:59 +02:00
2016-05-19 10:02:26 -07:00
2016-05-20 22:31:33 -07:00
2016-05-25 10:40:15 -07:00
2016-05-19 11:27:09 -07:00
2016-05-26 09:23:43 -07:00
2016-05-18 02:48:37 +02:00
2016-05-13 17:30:18 +08:00
2016-05-20 22:02:55 -07:00
2016-05-19 11:47:18 -07:00
2016-05-17 17:05:30 -07:00
2016-05-20 21:26:15 -07:00
2016-05-20 21:26:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-17 12:42:27 +02:00
2016-05-26 09:48:23 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 21:20:31 -07:00
2016-05-19 17:48:12 -07:00
2016-05-20 22:20:48 -07:00
2016-05-20 14:35:07 -07:00
2016-05-26 09:23:43 -07:00
2016-05-20 14:51:34 -07:00
2016-05-20 10:20:47 -07:00
2016-05-20 20:57:27 -07:00
2016-05-25 10:40:15 -07:00
2016-05-19 17:25:13 -07:00
2016-05-19 20:00:06 -07:00
2016-05-24 11:00:20 -07:00
2016-05-23 17:04:14 -07:00
2016-05-18 16:38:59 -07:00
2016-05-20 11:10:24 -07:00
2016-05-20 21:20:31 -07:00
2016-05-26 09:36:10 -07:00
2016-05-24 11:00:20 -07:00
2016-05-22 19:24:13 -07:00
2016-05-26 19:34:26 -07:00
2016-05-17 16:03:32 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 21:20:31 -07:00
2016-06-16 16:24:55 -04:00
2016-05-26 15:35:44 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 21:26:15 -07:00
2016-05-20 14:06:21 -07:00
2016-05-16 19:17:22 -07:00
2016-05-25 10:40:15 -07:00
2016-05-17 14:45:02 +02:00
2016-05-12 15:50:19 -07:00
2016-05-21 17:07:17 +02:00
2016-05-26 19:34:26 -07:00
2016-05-20 18:33:37 -07:00
2016-05-23 17:53:39 -07:00
2016-05-19 15:20:24 +02:00
2016-05-24 11:12:32 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 14:35:07 -07:00
2016-05-26 09:23:43 -07:00
2016-05-20 20:57:27 -07:00
2016-05-20 21:12:25 -07:00
2016-05-25 09:47:26 -07:00
2016-05-25 10:40:15 -07:00
2016-05-22 19:44:13 +03:00
2016-05-25 10:19:17 -07:00
2016-05-24 10:22:34 -07:00
2016-05-23 11:18:01 -07:00
2016-05-20 22:02:53 -07:00