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

Skip to content
Commit a5759483 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Correctly use the return value of copy_to_user



copy_to_user() returns the number of bytes that were not copied
for whatever reason and *not* a error code.  Several areas of
the code are blindly returning the value of copy_to_user() which
could result in some mistaken assumptions down the road.

Change-Id: Ic0dedbade40248c46b7b8d2b18420b7612492b65
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 26f7d7ba
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