diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-09-29 03:37:33 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:31 -0400 |
commit | 6b85e32d6c750c79264455636c2f8f55c409b51a (patch) | |
tree | 35c31f9cd59ba1a97ceadad6890e068cdfc17774 /drivers/gpu/nvgpu/gk20a/cde_gk20a.h | |
parent | 435cf045d7f856e90c9087403dfcbc2677a4575a (diff) |
gpu: nvgpu: fix -EINVAL retval in ioctls
Proper error number for invalid request number is EINVAL instead of
EFAULT, so change it in ioctl calls.
Change-Id: I8fddd34e012700550e9e30fe17ba7152b3a0417b
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/542563
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.h')
0 files changed, 0 insertions, 0 deletions