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:55 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-17 11:31:15 +0200
commitb97ef7b65ade812ab2b485b287e7fbbbacef067c (patch)
treee5807e9a1ef5f73dbc6583a16fa38ff3da2287a2 /tools/perf/scripts/python/task-analyzer.py
parente027f53e058fc043e0146d53e650e03e44ae3f6e (diff)
downloadlinux-b97ef7b65ade812ab2b485b287e7fbbbacef067c.tar.gz
linux-b97ef7b65ade812ab2b485b287e7fbbbacef067c.zip
media: i2c: mt9v111: 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/mt9v111.c:1143:3-10: WARNING: Consider using %pe to print PTR_ERR() ./i2c/mt9v111.c:1151:3-10: WARNING: Consider using %pe to print PTR_ERR() ./i2c/mt9v111.c:1159: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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions