summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-27 12:39:57 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-30 09:26:31 -0500
commitb2dfcb3f83258de1aa396bd9f57321e2ff29b781 (patch)
treec3d4bb54c803e2573ec2232c514e170699e3477a /net/nfc
parent511e3036e3c108281edbabf60cf43963c336abf3 (diff)
downloadlinux-stable-b2dfcb3f83258de1aa396bd9f57321e2ff29b781.tar.gz
linux-stable-b2dfcb3f83258de1aa396bd9f57321e2ff29b781.tar.bz2
linux-stable-b2dfcb3f83258de1aa396bd9f57321e2ff29b781.zip
netxen: remove timespec usage
netxen_collect_minidump() evidently just wants to get a monotonic timestamp. Using jiffies_to_timespec(jiffies, &ts) is not appropriate here, since it will overflow after 2^32 jiffies, which may be as short as 49 days of uptime. ktime_get_seconds() is the correct interface here. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions