Messages in this thread | | | From | Alexandre Belloni <> | Subject | Re: [PATCH] rtc-mc146818-lib: fix locking in mc146818_set_time | Date | Tue, 8 Mar 2022 17:38:52 +0100 |
| |
On Sun, 20 Feb 2022 10:04:03 +0100, Mateusz Jończyk wrote: > In mc146818_set_time(), CMOS_READ(RTC_CONTROL) was performed without the > rtc_lock taken, which is required for CMOS accesses. Fix this. > > Nothing in kernel modifies RTC_DM_BINARY, so a separate critical section > is allowed here. > > > [...]
Applied, thanks!
[1/1] rtc-mc146818-lib: fix locking in mc146818_set_time commit: c63cdb340a7e0bd3734f9f8e27f082a054b45887
Best regards, -- Alexandre Belloni <alexandre.belloni@bootlin.com>
| |