diff options
| author | Sumeet Pawnikar <sumeet4linux@gmail.com> | 2026-09-13 00:41:51 +0530 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-10-04 19:33:41 +0200 |
| commit | 8761a4577c4fd489fb7af435f4b11ab6762dab66 (patch) | |
| tree | a121547206599ea1be8bcb226624877a491cdea3 /rust/kernel/alloc/allocator | |
| parent | 27049920d0cf0396242f517dfdf2694e7b8daa67 (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/allocator')
0 files changed, 0 insertions, 0 deletions
