linux/include
Dan Carpenter cb283cca1d rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
[ Upstream commit 7372971c1b ]

The mc146818_get_time() function returns zero on success or negative
a error code on failure.  It needs to be type int.

Fixes: d35786b3a2 ("rtc: mc146818-lib: change return values of mc146818_get_time()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220111071922.GE11243@kili
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-14 11:31:59 +01:00
..
acpi ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init() 2022-11-10 18:14:22 +01:00
asm-generic mm/khugepaged: fix GUP-fast interaction by sending IPI 2022-12-14 11:31:55 +01:00
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux rtc: mc146818-lib: fix signedness bug in mc146818_get_time() 2022-12-14 11:31:59 +01:00
math-emu
media media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation 2022-11-03 23:57:51 +09:00
memory
misc
net sctp: fix memory leak in sctp_stream_outq_migrate() 2022-12-08 11:23:57 +01:00
pcmcia
ras
rdma
scsi scsi: stex: Properly zero out the passthrough command structure 2022-10-15 07:55:55 +02:00
soc
sound ALSA: control: Use deferred fasync helper 2022-08-25 11:38:21 +02:00
target
trace rxrpc: Use refcount_t rather than atomic_t 2022-12-02 17:39:59 +01:00
uapi audit: fix undefined behavior in bit shift for AUDIT_BIT 2022-12-02 17:39:57 +01:00
vdso
video
xen