diff options
author | Chris Packham <[email protected]> | 2020-03-13 16:13:12 +1300 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2020-04-01 11:35:22 +0200 |
commit | bb914088bd8a91c382f54d469367b2e5508b5493 (patch) | |
tree | f95ac51bb305868ad0775c13acf380c4ed4aa9b7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f667421324ed89a545b8d7efc69284059ea28d21 (diff) |
watchdog: orion: use 0 for unset heartbeat
If the heartbeat module param is not specified we would get an error
message
watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
watchdog: f1020300.watchdog: falling back to default timeout (171)
This is because we were initialising heartbeat to -1. By removing the
initialisation (thus letting the C run time initialise it to 0) we
silence the warning message and the default timeout is still used.
Signed-off-by: Chris Packham <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions