summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-10-13 14:14:58 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-17 11:31:15 +0200
commitb3c30874a9d9baf32ba834bd992b910e5c2f2bb3 (patch)
treeec72ecef156da6f1d5e7aea5d51ea5aa2345cf3e /tools/perf/scripts/python/stackcollapse.py
parentca1c388ad0441a76894b28e2204c78dfa8cbbdef (diff)
downloadlinux-b3c30874a9d9baf32ba834bd992b910e5c2f2bb3.tar.gz
linux-b3c30874a9d9baf32ba834bd992b910e5c2f2bb3.zip
media: i2c: ov9282: 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/ov9282.c:1133:3-10: WARNING: Consider using %pe to print PTR_ERR() Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions