From: Ali Bahar Date: Sat, 3 Sep 2011 19:14:24 +0000 (+0800) Subject: staging: r8712u: Most return-values changed from -1 to proper errno macros. X-Git-Tag: v3.2-rc1~169^2^2~593 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2192e60654c2b91de45dce44a23723f725603ce1;p=pandora-kernel.git staging: r8712u: Most return-values changed from -1 to proper errno macros. The ioctl handlers were frequently returning -1 upon failure. Most of these have now been changed to proper errno macros. The few remaining ones have been left untouched because either the handler is not called (and so cannot be tested), or the function never fails (and so cannot be system-tested), or requires new code to distinguish its failures. Signed-off-by: Ali Bahar Cc: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed