aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2020-03-28 08:52:52 +0100
committerMauro Carvalho Chehab <[email protected]>2020-04-14 12:02:46 +0200
commit967534cb49cd389b101848fa0c99dd8a1e961fbb (patch)
treef6c744f09e85d5adff0a78ae4a3945631483f17d /tools/perf/scripts/python/export-to-sqlite.py
parent7a040cf303438c567fceb987f10cfd058619f2c9 (diff)
media: vimc: keep the error value when adding an entity fails
Currently when the 'add' callback of an entity fails, a NULL is returned. This hides the error code of the failure and always returns -EINVAL. Replace return NULL with return ERR_PTR(ret) to improve debugging. Signed-off-by: Dafna Hirschfeld <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions