diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:15:06 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:16 +0200 |
| commit | e374b123ca602060c018a029f508dc175b8ba5b3 (patch) | |
| tree | 1561e50aedd1536ae859d1ae46e09cd870d25991 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 53d94ec2eabf458cfb49ad3dce059e02bd85ae12 (diff) | |
| download | linux-e374b123ca602060c018a029f508dc175b8ba5b3.tar.gz linux-e374b123ca602060c018a029f508dc175b8ba5b3.zip | |
media: platform: rzg2l-cru: 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/renesas/rzg2l-cru/rzg2l-csi2.c:307:30-37: WARNING: Consider using %pe to print PTR_ERR()
./platform/renesas/rzg2l-cru/rzg2l-csi2.c:726:30-37: 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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
