Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a298358 authored by Imran Khan's avatar Imran Khan
Browse files

lib: do_strncpy_from_user: Fix return error code for get_user failures



If byte wise copy fails here, we should return EFAULT. Returning a value
other than that would cause failure of some of the user-space test cases.

CRs-Fixed: 989314
Change-Id: I38ce12d44f25dc89bdd29e8abacd8777f0a8b9a1
Signed-off-by: default avatarImran Khan <kimran@codeaurora.org>
parent d3068532
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment