Re: [PATCH v2] infiniband: mlx5: fix build errors when INFINIBAND_USER_ACCESS=m

2018-04-17 Thread Jason Gunthorpe
On Mon, Apr 16, 2018 at 06:51:50PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors when INFINIBAND_USER_ACCESS=m and MLX5_INFINIBAND=y. > The build error occurs when the mlx5 driver code attempts to use > USER_ACCESS interfaces, which are built as a

[PATCH v2] infiniband: mlx5: fix build errors when INFINIBAND_USER_ACCESS=m

2018-04-16 Thread Randy Dunlap
From: Randy Dunlap Fix build errors when INFINIBAND_USER_ACCESS=m and MLX5_INFINIBAND=y. The build error occurs when the mlx5 driver code attempts to use USER_ACCESS interfaces, which are built as a loadable module. Fixes these build errors: