mbox series

[0/2] watchdog: fixes for menz069_wdt driver

Message ID 20230418172531.177349-1-jth@kernel.org (mailing list archive)
Headers show
Series watchdog: fixes for menz069_wdt driver | expand

Message

Johannes Thumshirn April 18, 2023, 5:25 p.m. UTC
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(-)