diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:15:02 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:16 +0200 |
| commit | 96097ec153d1638b3c5286f0de888e5a7855ee0e (patch) | |
| tree | bcb3b10e999ef81e91ea563c9cea45eaaf1bc296 /tools/perf/scripts/python/bin | |
| parent | 5e82eb357af8e0304b1231f1166b55e4c04e2bc4 (diff) | |
| download | linux-96097ec153d1638b3c5286f0de888e5a7855ee0e.tar.gz linux-96097ec153d1638b3c5286f0de888e5a7855ee0e.zip | |
media: ipu3-cio2: 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:
./pci/intel/ipu3/ipu3-cio2.c:318:19-26: 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/bin')
0 files changed, 0 insertions, 0 deletions
