[PATCH 0/2] watchdog: fixes for menz069_wdt driver

From: Johannes Thumshirn
Date: Tue Apr 18 2023 - 13:26:38 EST


While testing the Qemu emulation of the menz069_wdt watchdog core, I've found
two issues in the kernel driver.

On is a NULL pointer dereference, because the driver can't access it's
private data and one is a wrong register read resulting in incorrect timeout
values being set.

Johannes Thumshirn (2):
watchdog: menz069_wdt: fix watchdog initialisation
watchdog: menz069_wdt: fix timeout setting

drivers/watchdog/menz69_wdt.c | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)

--
2.39.2