summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-03 23:49:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:12 +0200
commit43c1d77c393205645cdd6337e657341a5216a7a8 (patch)
tree32d46fe129f6be4b2a225e381617ab2e0ce082ed /kernel
parentlib/decompress_inflate.c: include appropriate header file (diff)
downloadlinux-43c1d77c393205645cdd6337e657341a5216a7a8.tar.xz
linux-43c1d77c393205645cdd6337e657341a5216a7a8.zip
checkpatch: add test for long udelay
Holger reported: : The macro udelay cannot handle large values because of loss-of-precision. : : IMHO udelay on ARM is broken, because it also cannot work with fast : ARM processors (where bogomips >= 3355, which is in sight now). It's : just not broken enough that someone did something against it ... so : the current kludge is good enough. Until then, warn on long udelay uses. Also fix uses of $line that should have been $herecurr. Signed-off-by: Joe Perches <joe@perches.com> Reported-by: Holger Schurig <holgerschurig@gmail.com> Cc: Sujith Manoharan <sujith@msujith.org> Cc: John Linville <linville@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions