aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-10-26 14:32:16 +0200
committerPablo Neira Ayuso <[email protected]>2022-11-02 09:39:10 +0100
commit5c26159c97b324dc5174a5713eafb8c855cf8106 (patch)
tree3a6aa56911e2e674e3daa9dceba92c38dc18b6cf /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent26b5934ff4194e13196bedcba373cd4915071d0e (diff)
ipvs: use explicitly signed chars
The `char` type with no explicit sign is sometimes signed and sometimes unsigned. This code will break on platforms such as arm, where char is unsigned. So mark it here as explicitly signed, so that the todrop_counter decrement and subsequent comparison is correct. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Jason A. Donenfeld <[email protected]> Acked-by: Julian Anastasov <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions