Skip to content
Commit 347ebcc7 authored by John Jacques's avatar John Jacques Committed by Quanyang Wang
Browse files

drivers/watchdog: Check Return Value



commit  467435a4531e57d814feaff71272ae818c6db564 from
https://github.com/axxia/linux-yocto.git axxia-linux/v5.10/standard/axxia-dev/base

In sp804_wdt_axxia.c, check that rate is not zero before
using it as a divisor.

Signed-off-by: default avatarJohn Jacques <john.jacques@intel.com>
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
parent 35d0d76e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment