diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:15:05 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:16 +0200 |
| commit | 53d94ec2eabf458cfb49ad3dce059e02bd85ae12 (patch) | |
| tree | 4172405debac7a10ae3a0fea51bfbfff76c4699c /tools/perf/scripts/python/bin | |
| parent | 610a0fcd80036fa27c7a198d4b0374417d392cc0 (diff) | |
| download | linux-53d94ec2eabf458cfb49ad3dce059e02bd85ae12.tar.gz linux-53d94ec2eabf458cfb49ad3dce059e02bd85ae12.zip | |
media: imx8mq-mipi-csi2: 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:
./platform/nxp/imx8mq-mipi-csi2.c:422:23-30: WARNING: Consider using %pe to print PTR_ERR()
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Martin Kepplinger-Novakovic <martink@posteo.de>
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/bin')
0 files changed, 0 insertions, 0 deletions
