summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorShaikh Kamaluddin <shaikhkamal2012@gmail.com>2026-08-02 16:50:29 +0530
committerDave Jiang <dave.jiang@intel.com>2026-08-03 10:20:32 -0700
commit4ee75140669cd954a343443b9ed78665106e3fc1 (patch)
tree9f84894dd29ec424a4758922843ba6addbd64d3a /tools/lib/python
parentfac9275820a32748144fe08f8b92493bb85b63e0 (diff)
downloadlinux-4ee75140669cd954a343443b9ed78665106e3fc1.tar.gz
linux-4ee75140669cd954a343443b9ed78665106e3fc1.zip
cxl: Use %pe to print error pointers
Use the %pe printk format specifier to report error pointers directly instead of printing PTR_ERR() as a long value. A failed dport addition then reports -EBUSY rather than -16, which is easier to follow when tracing port and region setup with dynamic debug enabled. Convert the five affected sites in drivers/cxl/core/port.c and drivers/cxl/core/region.c. PTR_ERR() uses in return statements are unaffected and left unchanged. drivers/cxl was scanned in full; these are the only conversion candidates. Found by: make coccicheck MODE=report M=drivers/cxl/ No functional change intended. Signed-off-by: Shaikh Kamaluddin <shaikhkamal2012@gmail.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Richard Cheng <icheng@nvidia.com> Link: https://patch.msgid.link/20260802112029.28767-1-shaikhkamal2012@gmail.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions