diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2014-01-23 23:55:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 00:37:00 (GMT) |
commit | 24b34472e2e6e3815f36e39d6996e3b39ebb2a5e (patch) | |
tree | e2510c7b33694545f34bf47b5bcaacbf510408e9 /drivers/accessibility | |
parent | 9d2b7e532da8aadfcc1bd85b62ec5dd853e870e3 (diff) | |
download | linux-24b34472e2e6e3815f36e39d6996e3b39ebb2a5e.tar.xz |
drivers/rtc/rtc-cmos.c: propagate hpet_register_irq_handler() failure
If hpet_register_irq_handler() fails, cmos_do_probe() will incorrectly
return 0.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions