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