From: Alan Stern Date: Fri, 29 Sep 2006 09:01:21 +0000 (-0700) Subject: [PATCH] Add section on function return values to CodingStyle X-Git-Tag: v2.6.19-rc1~687 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c16a02d6f5fcfe05dc6fd40aa80a8e1d055300db;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed