Re: [PATCH] IB/iser: remove uninitialized variable len

2019-03-27 Thread Jason Gunthorpe
On Sat, Mar 16, 2019 at 11:05:12PM +, Colin King wrote: > From: Colin Ian King > > The variable len is not being inintialized and the uninitialized > value is being returned. However, this return path is never reached > because the default case in the switch statement returns -ENOSYS. > Clean

Re: [PATCH] IB/iser: remove uninitialized variable len

2019-03-18 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

Re: [PATCH] IB/iser: remove uninitialized variable len

2019-03-17 Thread Max Gurtovoy
On 3/17/2019 1:05 AM, Colin King wrote: From: Colin Ian King The variable len is not being inintialized and the uninitialized value is being returned. However, this return path is never reached because the default case in the switch statement returns -ENOSYS. Clean up the code by replacing the

[PATCH] IB/iser: remove uninitialized variable len

2019-03-16 Thread Colin King
From: Colin Ian King The variable len is not being inintialized and the uninitialized value is being returned. However, this return path is never reached because the default case in the switch statement returns -ENOSYS. Clean up the code by replacing the return -ENOSYS with a break for the defaul