summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-06-06 20:17:52 -0600
committerPaul Walmsley <pjw@kernel.org>2026-06-06 20:17:52 -0600
commit13fe217f64a7ee71aa58d871c6021a721a5a0c6f (patch)
tree006698dbde53ea20368001b69f913c9a6140c722 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent7d0dec57e52c7b5e14ba4ab6f86e9c17b850f1ec (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 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions