lkml.org 
[lkml]   [2022]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-01-05 20:50    [W:0.393 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site