diff options
| author | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-09-13 14:48:50 +0800 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-09-16 17:39:13 -0700 |
| commit | 5af7d2cbd20f893def03c8310a460ade66a5d822 (patch) | |
| tree | edbd2645cefa713bb7cb864c40f8b5eebcc90273 /tools/perf/scripts/python | |
| parent | 400cb663ca019bae6eb878f06f1094ddf7c0b0df (diff) | |
| download | linux-next-5af7d2cbd20f893def03c8310a460ade66a5d822.tar.gz linux-next-5af7d2cbd20f893def03c8310a460ade66a5d822.zip | |
watchdog: rtd119x: Avoid division by zero
clk_get_rate() could return 0. Avoid a division by zero panic.
Fixes: 2bdf6acbfead ("watchdog: Add Realtek RTD1295")
Cc: stable@vger.kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://patch.msgid.link/20260913064851.8239-3-tzungbi@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
