aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2018-11-06 05:40:54 -0500
committerMauro Carvalho Chehab <[email protected]>2018-11-23 05:19:39 -0500
commit649cfc2bdfeeb98ff7d8fdff0af3f8fb9c8da50f (patch)
tree8065841baf7a7126c64a6bb5e0e9f13f9b3f11c9 /tools/perf/scripts/python/sctop.py
parentc45fbdf24c61a7b7a37f1b3bbd46f054637a3627 (diff)
media: coda: fix memory corruption in case more than 32 instances are opened
The ffz() return value is undefined if the instance mask does not contain any zeros. If it returned 32, the following set_bit would corrupt the debugfs_root pointer. Switch to IDA for context index allocation. This also removes the artificial 32 instance limit for all except CodaDx6. Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions