diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2020-01-06 15:32:51 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-01-09 14:41:41 +0100 |
| commit | b0e4cfae483fe1e3db71ab2d8509490df60e52c6 (patch) | |
| tree | 9169e7f98c0d11a8239061f896a810ed540ef7d5 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | media: cedrus: hevc: Add luma bit depth (diff) | |
| download | linux-b0e4cfae483fe1e3db71ab2d8509490df60e52c6.tar.gz linux-b0e4cfae483fe1e3db71ab2d8509490df60e52c6.zip | |
media: davinci/vpfe_capture.c: Avoid BUG_ON for register failure
In vpfe_register_ccdc_device(), failure to allocate dev->hw_ops
fields calls BUG_ON(). This patch returns the error to callers
instead of crashing. The issue was identified by a static
analysis tool, written by us.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
