diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:15:09 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:16 +0200 |
| commit | 2639358ef82ce5c3459a215fad8313ca18b79e67 (patch) | |
| tree | 5c08d17991f34c70645f954bb0ee17cf8d482098 /tools/perf/scripts/python/bin | |
| parent | 34cfce1dd5dd2692c2ed7a86606482cfbdb7b686 (diff) | |
| download | linux-2639358ef82ce5c3459a215fad8313ca18b79e67.tar.gz linux-2639358ef82ce5c3459a215fad8313ca18b79e67.zip | |
media: samsung: exynos4-is: 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/samsung/exynos4-is/media-dev.c:1337:16-23: 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
