summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-10-13 14:15:08 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-17 11:31:16 +0200
commit34cfce1dd5dd2692c2ed7a86606482cfbdb7b686 (patch)
treec93ea45148308d93e53f6bdafbbdd5f75a404789 /tools/perf/scripts/python/bin
parent66725aa5069c577e89ef6b90f3036338f92a3c47 (diff)
downloadlinux-34cfce1dd5dd2692c2ed7a86606482cfbdb7b686.tar.gz
linux-34cfce1dd5dd2692c2ed7a86606482cfbdb7b686.zip
media: rkisp1: 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: ./platform/rockchip/rkisp1/rkisp1-isp.c:940:3-10: WARNING: Consider using %pe to print PTR_ERR() ./platform/rockchip/rkisp1/rkisp1-csi.c:372: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/bin')
0 files changed, 0 insertions, 0 deletions