summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYury Norov <ynorov@nvidia.com>2026-07-08 22:03:10 -0400
committerYury Norov <ynorov@nvidia.com>2026-07-22 15:38:38 -0400
commite46185c13953500ed868751b944a96974eaca923 (patch)
tree78074ebfa3fb22d4a605954f334a484c1956ca3b /tools/perf/scripts/python
parentc69269f941b8c0c527ea2319556df0e21b8f3f52 (diff)
media: s5p-mfc: Treat bitmap size as allocation failure
bitmap_find_next_zero_area() uses an out-of-range return value to indicate failure. Check for values greater than or equal to the bitmap size so the caller does not depend on the exact failure sentinel. Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Yury Norov <ynorov@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions