Messages in this thread | | | Date | Wed, 5 Jan 2022 15:49:10 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH rdma-next] RDMA/mad: Delete duplicated init_query_mad functions |
| |
On Wed, Jan 05, 2022 at 10:04:56AM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@nvidia.com> > > Several drivers used same function to initialize query MAD, > so move that function to global header file. > > Signed-off-by: Leon Romanovsky <leonro@nvidia.com> > Reviewed-by: Håkon Bugge <haakon.bugge@oracle.com> > --- > drivers/infiniband/hw/mlx4/main.c | 24 +++++++------------- > drivers/infiniband/hw/mlx5/mad.c | 18 +++++++-------- > drivers/infiniband/hw/mlx5/mlx5_ib.h | 8 ------- > drivers/infiniband/hw/mthca/mthca_provider.c | 20 +++++----------- > include/rdma/ib_smi.h | 12 +++++++++- > 5 files changed, 34 insertions(+), 48 deletions(-)
Applied to for-next, thanks
Jason
| |