From: Andy Whitcroft Date: Tue, 6 Jan 2009 22:41:16 +0000 (-0800) Subject: checkpatch: add checks for in_atomic() X-Git-Tag: v2.6.29-rc1~355 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691d77b6b85c20e4166bafd12bd0131b28f95a16;p=pandora-kernel.git checkpatch: add checks for in_atomic() in_atomic() is not for driver use so report any such use as an ERROR. Also in_atomic() is often used to determine if we may sleep, but it is not reliable in this use model therefore strongly discourage its use. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed