diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-09-29 02:01:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:22 -0700 |
commit | c16a02d6f5fcfe05dc6fd40aa80a8e1d055300db (patch) | |
tree | 9335cbe024a12723395a92f5aeca7111700a0766 /kernel/mutex.h | |
parent | fdf8cb0909b531f9ae8f9b9d7e4eb35ba3505f07 (diff) |
[PATCH] Add section on function return values to CodingStyle
This patch (as776) adds a new chapter to Documentation/CodingStyle,
explaining the circumstances under which a function should return 0 for
failure and non-zero for success as opposed to a negative error code for
failure and 0 for success.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions