amdkfd: fix some error handling in ioctl
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 25 Nov 2014 10:21:30 +0000 (13:21 +0300)
committerOded Gabbay <oded.gabbay@amd.com>
Tue, 25 Nov 2014 10:21:30 +0000 (13:21 +0300)
commit66333cb3d7d4ff853b6945f01e68d8986d821235
tree88fcfa99283e69282a48e48f4e26e6446ce5a115
parenta49493b548db635084abbdbdda2c95da9c25356c
amdkfd: fix some error handling in ioctl

There is a typo here so the errors from kfd_bind_process_to_device()
are not detected.

Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c