um: Fix return value of strnlen_user()
In case of an error it must not return -EFAULT. Return 0 like all other archs do. Reported-by: <toralf.foerster@gmx.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Please register or sign in to comment
In case of an error it must not return -EFAULT. Return 0 like all other archs do. Reported-by: <toralf.foerster@gmx.de> Signed-off-by: Richard Weinberger <richard@nod.at>