diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:14:50 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:15 +0200 |
| commit | 03e5b11a063d68f85254f775fcd886cbaad8ed08 (patch) | |
| tree | c72775022519302d3ac0cac0fc73c7623e82ea0d /tools/perf/scripts/python/stackcollapse.py | |
| parent | c268a1e9afbbf4b12953207d1407c8340149890b (diff) | |
| download | linux-03e5b11a063d68f85254f775fcd886cbaad8ed08.tar.gz linux-03e5b11a063d68f85254f775fcd886cbaad8ed08.zip | |
media: i2c: imx335: 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/imx335.c:1013:3-10: WARNING: Consider using %pe to print PTR_ERR()
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
