]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on use of yield()
authorJoe Perches <joe@perches.com>
Fri, 23 Mar 2012 22:02:20 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:37 +0000 (16:58 -0700)
commitfdb01224ef73a0168a7e425bf2e0822339d3ee34
treec1a42d6c825de9b0f3bf239d9a1a086a4b4422ce
parent34da0c72c2693e4195f1671370a8489312df7062
checkpatch: warn on use of yield()

Using yield() is generally wrong.  Warn on its use.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl