diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-13 14:14:41 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-10-16 22:01:46 -0700 |
| commit | 295e3beead10e96c1feda7ed145113bb9191e296 (patch) | |
| tree | 48788e6f276f4f87d852e030aae697cfb2608139 /tools/lib/python/feat/parse_features.py | |
| parent | c7866ee0a9ddd9789faadf58cdac6abd7aabf045 (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/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions
