diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-12-07 07:36:12 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 19:39:32 +0300 |
commit | 23a1b2a78705caa2ecaccf8422a1e22eaca59574 (patch) | |
tree | 295f176624b71ee9507198909ac2fa33f7afeac8 /drivers/rtc | |
parent | 87b4126f10cce2d49687df227f6228fa5a9ac6c6 (diff) | |
download | linux-23a1b2a78705caa2ecaccf8422a1e22eaca59574.tar.xz |
[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/rtc')
0 files changed, 0 insertions, 0 deletions