Skip to content
Commit 24b34472 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarJulia 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9d2b7e53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment