diff options
author | 2016-05-31 14:08:08 +0800 | |
---|---|---|
committer | 2016-07-17 20:59:40 +0200 | |
commit | 1894cad9bf2c10359b2b7a0c00e564698f712751 (patch) | |
tree | d0824a3c189a66e55f6da7e870cd97cf4058a7df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | watchdog: pcwd: Utilize the module_isa_driver macro (diff) | |
download | wireguard-linux-1894cad9bf2c10359b2b7a0c00e564698f712751.tar.xz wireguard-linux-1894cad9bf2c10359b2b7a0c00e564698f712751.zip |
watchdog: skip min and max timeout validity check when max_hw_heartbeat_ms is defined
When max_hw_heartbeat_ms has a none zero value, max_timeout is not used.
So it's value can be 0. In such case if a driver uses min_timeout
functionality, then check will always fail.
This patch fixes above issue.
Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Fu Wei <fu.wei@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions