diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:14:45 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-17 11:31:15 +0200 |
| commit | 435becbe2ecad8ddec6061b710b611a912283716 (patch) | |
| tree | 330de15cb24d71c82890407750d3ea12ac641e36 /tools/perf/scripts/python/bin | |
| parent | ce5bf59e0eea1c14c918c44683cfae78c438b92d (diff) | |
| download | linux-435becbe2ecad8ddec6061b710b611a912283716.tar.gz linux-435becbe2ecad8ddec6061b710b611a912283716.zip | |
media: ar0521: 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:
./i2c/ar0521.c:1113:31-38: WARNING: Consider using %pe to print PTR_ERR()
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Acked-by: Krzysztof HaĆasa <khalasa@piap.pl>
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
