diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-03 14:50:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 16:21:23 -0700 |
commit | 5ab9a52a3af613b74a7cda033c1623c7913c50d9 (patch) | |
tree | b338efd146a165d320740912d779d94f3159f341 /virt/kvm/assigned-dev.c | |
parent | fda9909ddaab13fb7b35b94f204623c1f9571fc7 (diff) |
drivers/rtc/rtc-mc13xxx.c: fix potential race condition
RTC drivers must not return an error after device registration. This
patch makes RTC registration as the last action.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions