diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:14:48 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:15 +0200 |
| commit | e1fa799310e093db54ab0ccc0a4424a97e340b85 (patch) | |
| tree | 0e1bc815395078d9cfe946e87ddab7534d4edfc4 /tools/perf/scripts/python | |
| parent | 9b4677ed2a26ee1f59035f949742489ede317f61 (diff) | |
| download | linux-e1fa799310e093db54ab0ccc0a4424a97e340b85.tar.gz linux-e1fa799310e093db54ab0ccc0a4424a97e340b85.zip | |
media: i2c: ds90ub953: 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/ds90ub953.c:779: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
