diff options
| author | 2025-10-13 14:14:45 +0000 | |
|---|---|---|
| committer | 2025-10-17 11:31:15 +0200 | |
| commit | 435becbe2ecad8ddec6061b710b611a912283716 (patch) | |
| tree | 330de15cb24d71c82890407750d3ea12ac641e36 /scripts/Makefile.thinlto | |
| parent | media: adv7842: Use %pe format specifier (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
