Commit f756beba authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Thomas Gleixner.

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  rtc: Fix possible null pointer dereference in rtc-mpc5121.c
parents c6de1687 e48b5e82
...@@ -360,12 +360,11 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op) ...@@ -360,12 +360,11 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)
&mpc5200_rtc_ops, THIS_MODULE); &mpc5200_rtc_ops, THIS_MODULE);
} }
rtc->rtc->uie_unsupported = 1;
if (IS_ERR(rtc->rtc)) { if (IS_ERR(rtc->rtc)) {
err = PTR_ERR(rtc->rtc); err = PTR_ERR(rtc->rtc);
goto out_free_irq; goto out_free_irq;
} }
rtc->rtc->uie_unsupported = 1;
return 0; return 0;
......
Markdown is supported
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