summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-10-13 14:14:41 +0000
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2025-10-16 22:01:46 -0700
commit295e3beead10e96c1feda7ed145113bb9191e296 (patch)
tree48788e6f276f4f87d852e030aae697cfb2608139 /tools/lib/python/kdoc/parse_data_structs.py
parentc7866ee0a9ddd9789faadf58cdac6abd7aabf045 (diff)
Input: cyttsp5 - 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: ./cyttsp5.c:927:3-10: WARNING: Consider using %pe to print PTR_ERR() Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Link: https://patch.msgid.link/20251013-ptr_err-v1-1-2c5efbd82952@chromium.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions