diff options
| author | 2025-10-13 14:14:46 +0000 | |
|---|---|---|
| committer | 2025-10-17 11:31:15 +0200 | |
| commit | f85015f473bbae6b6b835fe4a23d4f9481775555 (patch) | |
| tree | a341b26bd108bd2aec1ad093db7e1f96ec0392aa /scripts/Makefile.thinlto | |
| parent | media: ar0521: Use %pe format specifier (diff) | |
media: ccs: 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/ccs/ccs-core.c:3241:3-10: WARNING: Consider using %pe to print PTR_ERR()
./i2c/ccs/ccs-core.c:3298:3-10: 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
