From: Alan Cox Date: Thu, 7 Dec 2006 04:36:12 +0000 (-0800) Subject: [PATCH] via82cxxx: handle error condition properly X-Git-Tag: v2.6.20-rc1~145^2^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a1b2a78705caa2ecaccf8422a1e22eaca59574;p=pandora-kernel.git [PATCH] via82cxxx: handle error condition properly Jeff noted that the via driver returned an error to an unsigned int in a a case where errors are not permitted. Move the check down earlier so we can handle it properly. Not as pretty but it works this way and avoids hacking up ugly stuff in the legacy ide core. Signed-off-by: Alan Cox Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed