summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-10-13 14:14:46 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-17 11:31:15 +0200
commitf85015f473bbae6b6b835fe4a23d4f9481775555 (patch)
treea341b26bd108bd2aec1ad093db7e1f96ec0392aa /tools/perf/scripts/python
parent435becbe2ecad8ddec6061b710b611a912283716 (diff)
downloadlinux-f85015f473bbae6b6b835fe4a23d4f9481775555.tar.gz
linux-f85015f473bbae6b6b835fe4a23d4f9481775555.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions