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)
commit2c92488ab29886d08766c054afc8dd0f19c724f1
treec1a42d6c825de9b0f3bf239d9a1a086a4b4422ce
parentaad4f61498314d41d047ea2161b7bd7237b72d33
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