diff options
| author | Nishanth Menon <nm@ti.com> | 2026-05-12 20:06:17 +0300 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-05-22 18:55:55 +0300 |
| commit | a5f624c4fee6d7b51f7bc4bd6e213c220b610ec3 (patch) | |
| tree | 62d482d9ef3c0812b17423e77fc2eacc9bdd30b4 /include/linux/debugobjects.h | |
| parent | 7650590dbf12a3d4a3d302cd33ac31270e39c43c (diff) | |
| download | linux-a5f624c4fee6d7b51f7bc4bd6e213c220b610ec3.tar.xz | |
soc: ti: knav_qmss: Use %pe to print PTR_ERR()
Coccinelle (scripts/coccinelle/misc/ptr_err_to_pe.cocci) flags the
dev_err() call in knav_pool_create():
knav_qmss_queue.c:789:9-16: WARNING: Consider using %pe to print
PTR_ERR()
Replace the %ld / PTR_ERR() pair with %pe and pass the error pointer
directly to also print the symbolic error name.
Reviewed-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
Reviewed-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
Link: https://patch.msgid.link/20260512170623.3174416-6-nm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
