summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2020-03-28 08:52:52 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 12:02:46 +0200
commit967534cb49cd389b101848fa0c99dd8a1e961fbb (patch)
treef6c744f09e85d5adff0a78ae4a3945631483f17d /tools/perf/scripts/python/export-to-postgresql.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 <dafna.hirschfeld@collabora.com> 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions