summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-10-13 14:14:53 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-17 11:31:15 +0200
commite8fd8080e7a9c8c577e5dec5bd6d486a3f14011c (patch)
tree93a47fa0acf74cbed8bc535c67b4999ec7eb16ea /tools/perf/scripts/python/task-analyzer.py
parent3a57a0763b4c082569a22a955c206fcb2e970ee8 (diff)
downloadlinux-e8fd8080e7a9c8c577e5dec5bd6d486a3f14011c.tar.gz
linux-e8fd8080e7a9c8c577e5dec5bd6d486a3f14011c.zip
media: i2c: max96717: 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/max96717.c:653:44-51: 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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions