commit | 53a3c4487a05b8f26ef72fe434a750a3402c998f | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Tue Oct 26 14:23:14 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 16:52:20 2010 -0700 |
tree | dfe0b1f85cbf1082ceb52b71bb157cc715e22293 | |
parent | 9446ef569c288e683225fec8337a0b2b81e75cc5 [diff] |
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 <akpm@linux-foundation.org> Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>