aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2011-12-08 10:01:25 -0800
committerGuenter Roeck <[email protected]>2012-01-05 08:19:30 -0800
commit3310600aa7bc11ead9b0324b972d13fb0e91bcaf (patch)
treef9dcb81de745d403ea902789142fa8d26e01364e /tools/perf/util/scripting-engines/trace-event-python.c
parent740f6be3ccc885ca103c90c48d3b3066239c585c (diff)
hwmon: (f75375s) Fix value range for PWM modes
Accepted value range for PWM modes was 0..4, even though only 0..3 is subsequently used. Limit permitted value range to 0..3 to avoid unpredictable behavior. Cc: Riku Voipio <[email protected]> Reviewed-by: Bjoern Gerhart <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions