[GIT PULL] RTC fixes for 4.20

From: Alexandre Belloni
Date: Mon Nov 12 2018 - 17:05:02 EST


Linus,

Here are three fixes worth taking for 4.20.

The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a:

Linux 4.20-rc1 (2018-11-04 15:37:52 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/rtc-4.20-2

for you to fetch changes up to 9bde0afb7a906f1dabdba37162551565740b862d:

rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write (2018-11-07 17:13:56 +0100)

----------------------------------------------------------------
RTC fixes for 4.20

Drivers:
- cmos: stop exporting alarms when not supported
- hctosys: correctly report range error
- pcf2127: fix a memory leak

----------------------------------------------------------------
Hans de Goede (1):
rtc: cmos: Do not export alarm rtc_ops when we do not support alarms

Maciej W. Rozycki (1):
rtc: hctosys: Add missing range error reporting

Xulin Sun (1):
rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write

drivers/rtc/hctosys.c | 4 +++-
drivers/rtc/rtc-cmos.c | 16 ++++++++++++----
drivers/rtc/rtc-pcf2127.c | 3 +++
3 files changed, 18 insertions(+), 5 deletions(-)

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com