On Sun, Oct 06, 2019 at 06:54:43PM +0300, Leon Romanovsky wrote: > From: Parav Pandit <parav@xxxxxxxxxxxx> > > Introduce and use set_mkc_access_pd_addr_fields() which sets mkey > context's access rights, PD, address fields. > Thereby avoid the code duplication. > > Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/mr.c | 34 ++++++++++++++++----------------- > 1 file changed, 16 insertions(+), 18 deletions(-) Applied to for-next, thanks Jason