aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorLi Huafei <[email protected]>2024-11-04 22:50:51 +0800
committerMauro Carvalho Chehab <[email protected]>2024-11-07 15:16:07 +0100
commited61c59139509f76d3592683c90dc3fdc6e23cd6 (patch)
treef6c2d79e7ec82d2a74b24db23ccdbb00b82ac4e0 /tools/perf/scripts/python/libxed.py
parentd85a41d8887198224e1da84febdfa61dc6e8a078 (diff)
media: atomisp: Add check for rgby_data memory allocation failure
In ia_css_3a_statistics_allocate(), there is no check on the allocation result of the rgby_data memory. If rgby_data is not successfully allocated, it may trigger the assert(host_stats->rgby_data) assertion in ia_css_s3a_hmem_decode(). Adding a check to fix this potential issue. Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2") Signed-off-by: Li Huafei <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions