Skip to content
Snippets Groups Projects
Commit 131c9cc8 authored by Alessandro Zummo's avatar Alessandro Zummo Committed by Linus Torvalds
Browse files

rtc: verify a critical argument to rtc_update_irq() before using it


This small addition to the core simplifies code in the drivers and makes
them more robust when handling shared IRQs.

Signed-off-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c93a3ae2
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment