diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2021-02-08 12:32:29 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-02-09 15:14:02 +0100 |
commit | c702e2f70275dbc5373aef50c450cf9c5730636c (patch) | |
tree | 6c40e111ef90fa2c4143d512a12dc72caa054550 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9746b11715c3949241e2d88cb9057da4adab7e02 (diff) |
media: imx334: 'ret' is uninitialized, should have been PTR_ERR()
Fix this compiler warning:
drivers/media/i2c/imx334.c: In function 'imx334_parse_hw_config':
include/linux/dev_printk.h:112:2: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
112 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/media/i2c/imx334.c:783:6: note: 'ret' was declared here
783 | int ret;
| ^~~
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
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