checkpatch: warn on comparisons to get_jiffies_64()
authorJoe Perches <joe@perches.com>
Wed, 3 Jul 2013 22:05:26 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:44 +0000 (16:07 -0700)
commit9d7a34a5135d29b840d074ba8fbb9c2fac63e508
tree3e6869ca31ecf4a1cef0d310427cf937cc1df1cb
parent36ec19390effc9131132901e8a66a071a7b74a88
checkpatch: warn on comparisons to get_jiffies_64()

Comparing get_jiffies_64() is almost always wrong and time_before64 and
time_after64 should be used instead.

Warn on any comparison to get_jiffies_64().

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl