Commit 251bbdfb authored by Carlos Llamas's avatar Carlos Llamas Committed by Treehugger Robot
Browse files

BACKPORT: binder: propagate vm_insert_page() errors



Instead of always overriding errors with -ENOMEM, propagate the specific
error code returned by vm_insert_page(). This allows for more accurate
error logs and handling.

Cc: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: default avatarSuren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20241210143114.661252-9-cmllamas@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 410746221
(cherry picked from commit 978ce3ed)
Change-Id: Ie43287aa091f2a6b05f8f9f1b3aea6e699b88455
[cmllamas: resolved trivial merge conflicts]
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 397209d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment