Re: [PATCH] media: v4l: async: fix return of unitialized variable ret

2017-11-03 Thread Niklas Söderlund
Hi Colin, Thanks for your patch. On 2017-11-03 06:58:27 +, Colin King wrote: > From: Colin Ian King > > A shadow declaration of variable ret is being assigned a return error > status and this value is being lost when the error exit goto's jump > out of the local

[PATCH] media: v4l: async: fix return of unitialized variable ret

2017-11-03 Thread Colin King
From: Colin Ian King A shadow declaration of variable ret is being assigned a return error status and this value is being lost when the error exit goto's jump out of the local scope. This leads to an uninitalized error return value in the outer scope being returned. Fix