From: Andy Whitcroft Date: Tue, 26 Oct 2010 21:23:14 +0000 (-0700) Subject: checkpatch: returning errno typically should be negative X-Git-Tag: v2.6.37-rc1~105^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53a3c4487a05b8f26ef72fe434a750a3402c998f;p=pandora-kernel.git checkpatch: returning errno typically should be negative Add a (strict mode only) test to check for non-negative returns of what appear to be errno values as the majority case these should indeed be negative. Suggested-by: Andrew Morton Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed