From: Ralph Loader Date: Fri, 21 Jan 2011 06:27:53 +0000 (+1300) Subject: staging: Fix some incorrect use of positive error codes. X-Git-Tag: v2.6.39-rc1~469^2~830 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec6080e2e5be05e6f7fbbe5ab20b0eab84e166b;p=pandora-kernel.git staging: Fix some incorrect use of positive error codes. Use -E... instead of just E... in a few places where negative error codes are expected by a functions callers. These were found by grepping with coccinelle & then inspecting by hand to determine which were bugs. The staging/cxt1e1 driver appears to intentionally use positive E... error codes in some places, and negative -E... error codes in others, making it hard to know which is intended where - very likely I missed some problems in that driver. Signed-off-by: Ralph Loader Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed