diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-03 21:50:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 23:21:23 (GMT) |
commit | 5ab9a52a3af613b74a7cda033c1623c7913c50d9 (patch) | |
tree | b338efd146a165d320740912d779d94f3159f341 /drivers/scsi/libsas/sas_task.c | |
parent | fda9909ddaab13fb7b35b94f204623c1f9571fc7 (diff) | |
download | linux-5ab9a52a3af613b74a7cda033c1623c7913c50d9.tar.xz |
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 'drivers/scsi/libsas/sas_task.c')
0 files changed, 0 insertions, 0 deletions