git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c448a14
)
amdkfd: Set *buffer_ptr to NULL in case of error
author
Oded Gabbay
<oded.gabbay@amd.com>
Thu, 4 Dec 2014 12:09:02 +0000
(14:09 +0200)
committer
Oded Gabbay
<oded.gabbay@amd.com>
Thu, 4 Dec 2014 12:09:02 +0000
(14:09 +0200)
In function acquire_packet_buffer() we may return -ENOMEM. In that case, we
should set the *buffer_ptr to NULL, so that calling functions which check the
*buffer_ptr value as a criteria for success, will know that
acquire_packet_buffer() failed.
Reviewed-by: Alexey Skidanov <alexey.skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
patch
|
blob
|
history
diff --cc
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
Simple merge