Re: [PATCH rdma-next] RDMA/mlx5: Fix compilation break if enhanced IPoIB is disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 12, 2018 at 03:51:38PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> Compilation with CONFIG_MLX5_CORE_IPOIB is not set produces the
> following compilation error. This happen because that function is
> implemented in mlx5_core in ipoib/ipoib.c and guarded by special
> config.
> 
> ERROR: "mlx5_rdma_rn_get_params" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined!
> make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
> make: *** [Makefile:1271: modules] Error 2
> 
> Fixes: 14e47545f884 ("RDMA/mlx5: Initialize ib_device_ops struct")
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/main.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

I squashed this into the problematic commit

Thanks,
Jason




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux