diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-12-06 20:36:12 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:32 -0800 |
commit | 23a1b2a78705caa2ecaccf8422a1e22eaca59574 (patch) | |
tree | 295f176624b71ee9507198909ac2fa33f7afeac8 /drivers/ide/ide.c | |
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>
Diffstat (limited to 'drivers/ide/ide.c')
0 files changed, 0 insertions, 0 deletions