On Tue, Aug 18, 2020 at 02:08:35PM +0300, Gal Pressman wrote: > The alloc ucontext flow is always called with a valid udata, there's no > need to test whether it's NULL. > > While at it, the 'udata->outlen' check is removed as well as we copy the > minimum between the size of the response and outlen, so in case of zero > outlen, zero bytes will be copied. > > Reviewed-by: Firas JahJah <firasj@xxxxxxxxxx> > Reviewed-by: Yossi Leybovich <sleybo@xxxxxxxxxx> > Signed-off-by: Gal Pressman <galpress@xxxxxxxxxx> > --- > drivers/infiniband/hw/efa/efa_verbs.c | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) Applied to for-next, thanks Jason