diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:15:07 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:16 +0200 |
| commit | 66725aa5069c577e89ef6b90f3036338f92a3c47 (patch) | |
| tree | 0f17ad681c7e3325552f45d1a7cb698ca10cf6a6 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | e374b123ca602060c018a029f508dc175b8ba5b3 (diff) | |
| download | linux-66725aa5069c577e89ef6b90f3036338f92a3c47.tar.gz linux-66725aa5069c577e89ef6b90f3036338f92a3c47.zip | |
media: renesas: vsp1: 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/vsp1/vsp1_drv.c:958:4-11: WARNING: Consider using %pe to print PTR_ERR()
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
