diff options
| author | 2026-06-06 20:17:52 -0600 | |
|---|---|---|
| committer | 2026-06-06 20:17:52 -0600 | |
| commit | 13fe217f64a7ee71aa58d871c6021a721a5a0c6f (patch) | |
| tree | 006698dbde53ea20368001b69f913c9a6140c722 /scripts/Makefile.thinlto | |
| parent | riscv: use sysfs_emit in cpu_show_ghostwrite (diff) | |
riscv: propagate insert_resource result from add_resource
Currently, add_resource() returns 1 on success, even though its callers
only check for negative values. Instead, propagate the insert_resource()
result from add_resource() to align with standard kernel return-value
conventions (0 on success, negative errno on failure).
Use %pR to print the full resource range while at it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260512172034.328405-4-thorsten.blum@linux.dev
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
