summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorSumeet Pawnikar <sumeet4linux@gmail.com>2026-09-13 00:41:51 +0530
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-10-04 19:33:41 +0200
commit8761a4577c4fd489fb7af435f4b11ab6762dab66 (patch)
treea121547206599ea1be8bcb226624877a491cdea3 /rust/kernel/alloc
parent27049920d0cf0396242f517dfdf2694e7b8daa67 (diff)
power: Use %pe to print error pointers symbolically
Replace PTR_ERR() and %ld/%li with %pe and pass the original pointer directly to dev_info(), dev_Warn and dev_dbg(). The %pe format specifier prints a symbolic error name (e.g. -ENOMEM) when CONFIG_SYMBOLIC_ERRNAME is enabled, otherwise it falls back gracefully and prints the raw integer value. This makes messages more readable without any functional change. Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com> Link: https://patch.msgid.link/20260912191156.185448-2-sumeet4linux@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions