aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2020-06-11 21:17:46 +0200
committerWim Van Sebroeck <[email protected]>2020-08-05 18:42:53 +0200
commit5edc8c687357b40469d90e3dab0b59b72eaabf59 (patch)
tree972ff9be0adb3ece1e79d70ed752339057bc28d6 /tools/perf/scripts/python/export-to-postgresql.py
parent4f39d575844148fbf3081571a1f3b4ae04150958 (diff)
watchdog: f71808e_wdt: do stricter parameter validation
We check the f71862fg_pin module parameter every time a watchdog device for the f71862fg is opened, but the parameter can't change at runtime. If we move the check to the start of init: - We catch userspace passing invalid, but unused, values - We check the condition only once - We simplify the code Do so. Signed-off-by: Ahmad Fatoum <[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-postgresql.py')
0 files changed, 0 insertions, 0 deletions