]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: warn on comparisons to jiffies
authorJoe Perches <joe@perches.com>
Wed, 19 Jun 2013 00:07:19 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:06 +0000 (17:27 +1000)
commit6d57af0a1f6a79a8c6ae7a6e9f6608639066c010
tree234df10f0e268817ecb48246ff5f4b29f88862b5
parent0281eb4406813b5f30a746ba217e3be9b0d75667
checkpatch: warn on comparisons to jiffies

Comparing jiffies is almost always wrong and time_before and time_after
should be used instead.

Warn on any comparison to jiffies.

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