summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-06-07 05:17:52 +0300
committerPaul Walmsley <pjw@kernel.org>2026-06-07 05:17:52 +0300
commit13fe217f64a7ee71aa58d871c6021a721a5a0c6f (patch)
tree006698dbde53ea20368001b69f913c9a6140c722 /include/linux/debugobjects.h
parent7d0dec57e52c7b5e14ba4ab6f86e9c17b850f1ec (diff)
downloadlinux-13fe217f64a7ee71aa58d871c6021a721a5a0c6f.tar.xz
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions