commit | 23a1b2a78705caa2ecaccf8422a1e22eaca59574 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | Wed Dec 06 20:36:12 2006 -0800 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | Thu Dec 07 08:39:32 2006 -0800 |
tree | 295f176624b71ee9507198909ac2fa33f7afeac8 | |
parent | 87b4126f10cce2d49687df227f6228fa5a9ac6c6 [diff] |
[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 <alan@redhat.com> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>