aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2021-04-28 09:03:50 +0300
committerJulia Lawall <Julia.Lawall@inria.fr>2021-05-01 21:27:10 +0200
commitaeb300c1dbfc77b493728f608dd14d6814676546 (patch)
tree1b4bddc69fd4193e1e262b5fdf96b14a164bd5ed /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent32c465613959248a8db8a1458d65a266411ddccc (diff)
coccinelle: misc: minmax: suppress patch generation for err returns
There is a standard idiom for "if 'ret' holds an error, return it": return ret < 0 ? ret : 0; Developers prefer to keep the things as they are because stylistic change to "return min(ret, 0);" breaks readability. Let's suppress automatic generation for this type of patches. Signed-off-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions