diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:14:47 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:15 +0200 |
| commit | 9b4677ed2a26ee1f59035f949742489ede317f61 (patch) | |
| tree | 4b2285abd548672fe8bf6ae3556c65bf12c292fd /tools/perf/scripts/python | |
| parent | f85015f473bbae6b6b835fe4a23d4f9481775555 (diff) | |
| download | linux-9b4677ed2a26ee1f59035f949742489ede317f61.tar.gz linux-9b4677ed2a26ee1f59035f949742489ede317f61.zip | |
media: i2c: ds90ub913: Use %pe format specifier
The %pe format specifier is designed to print error pointers. It prints
a symbolic error name (eg. -EINVAL) and it makes the code simpler by
omitting PTR_ERR().
This patch fixes this cocci report:
./i2c/ds90ub913.c:625:44-51: WARNING: Consider using %pe to print PTR_ERR()
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
