diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-20 07:53:41 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-20 10:04:17 +0200 |
| commit | ea299a2164262ff787c9d33f46049acccd120672 (patch) | |
| tree | e971a98c63ff9160bac1e3576d457a789c538ef9 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 33384002a496408fb8c726c82e12475dceba0b69 (diff) | |
| download | linux-ea299a2164262ff787c9d33f46049acccd120672.tar.gz linux-ea299a2164262ff787c9d33f46049acccd120672.zip | |
media: renesas: fdp1: 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/rcar_fdp1.c:2303:4-11: WARNING: Consider using %pe to print PTR_ERR()
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
