> Subject: [PATCH] RDMA/irdma: Initialize struct members in irdma_reg_user_mr() > > The ib_copy_from_udata() function does not always initialize the whole struct. It > depends on the value of udata->inlen. So initialize it to zero at the start. > > Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>