]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
reservation: Remove shadowing local variable 'ret'
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 22 Jan 2015 07:00:17 +0000 (16:00 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:11:09 +0000 (14:11 +0100)
commite00076b74987cf251b6a5788d590b32db9ccb400
tree0bf8f4d83869356f6aae234852005315ea5d66b1
parent9c0f288d39f786bdcaa0c8666e05f1ff747b2aac
reservation: Remove shadowing local variable 'ret'

commit 4eb2440ed60fb5793f7aa6da89b3d517cc59de43 upstream.

It was causing the return value of fence_is_signaled to be ignored, making
reservation objects signal too early.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma-buf/reservation.c