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> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Git-commit: 36ec19390effc9131132901e8a66a071a7b74a88 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Stepan Moskovchenko <stepanm@codeaurora.org>
Loading
Please register or sign in to comment