From: Dan Carpenter Date: Wed, 14 Aug 2013 09:02:30 +0000 (+0300) Subject: wmi: parse_wdg() should return kernel error codes X-Git-Tag: v3.12-rc1~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a018a68d3bfbd6288f3b646edb0dd0720209790;p=pandora-kernel.git wmi: parse_wdg() should return kernel error codes The current code returns a mix of acpi_status and kernel error codes. It should just return kernel error codes. There are already error paths in this function which return -ENOMEM and that's what the caller expects. Signed-off-by: Dan Carpenter Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed