Re: [PATCH] IB: Prevent drivers from being compiled-in if uverbs isn't

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

 



On Thu, Jan 10, 2019 at 06:00:34PM +0000, Jason Gunthorpe wrote:
> Now that the umem APIs are part of uverbs we get compilation failures
> with drivers that are missing this check. In general all the uverbs related
> APIs (including new attr_bundle ones) are in uverbs so all drivers should
> work this way.
> 
> Conslidate the check into the top level kconfig so all drivers get it.
> 
> To be squashed into "IB/{core,uverbs}: Move ib_umem_xxx functions from
> ib_core to ib_uverbs"
> 
> Found by 0-day
> 
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/Kconfig         | 15 +++++++--------
>  drivers/infiniband/hw/hns/Kconfig  |  1 -
>  drivers/infiniband/hw/mlx4/Kconfig |  1 -
>  drivers/infiniband/hw/mlx5/Kconfig |  1 -
>  drivers/infiniband/hw/nes/Kconfig  |  2 +-
>  5 files changed, 8 insertions(+), 12 deletions(-)

I squashed this into the patch, and sent the new tree to 0-day.. lets
see

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