aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMing Qian <[email protected]>2022-03-11 06:17:07 +0100
committerMauro Carvalho Chehab <[email protected]>2022-03-18 07:32:10 +0100
commita9f7224c67b3357e6585e6ddbcabd0523ca0f39f (patch)
treea7651d8431b0b042757c14c4c5268ad16cf5f9a5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent05a03eff34ba7de2d3e50a92961850d5e0f14f34 (diff)
media: amphion: fix some issues to improve robust
fix some issues reported by Dan, 1. fix some signedness bug 2. don't use u32 as function return value 3. prevent a divide by zero bug 4. Just return zero on success, don't return a known parameter 5. check the validity of some variables 6. reset buffer state when return buffers 7. make sure the ALIGN won't wrap to zero Signed-off-by: Ming Qian <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions