diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-06 12:08:48 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-11 16:21:33 +0200 |
commit | f06acbe3398c4141939c6362301220d2fdfba805 (patch) | |
tree | 52f4102edff5d946d567b1cf6899d52085ca488a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ccfe1e3971283fb5da0fef8c202f9998a5540fb (diff) |
media: i2c: tc358746: check fmt validity
Check if the format was really found.
Fixes smatch warning:
drivers/media/i2c/tc358746.c:790 tc358746_set_fmt() error: 'fmt' dereferencing possible ERR_PTR()
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
CC: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions