linux_dsm_epyc7002/drivers/infiniband/hw
Jason Gunthorpe 540cd69209 RDMA/uverbs: Use UVERBS_ATTR_MIN_SIZE correctly and uniformly
This newer macro allows specifying a lower bound on the accepted size, and
has an 'unlimited' upper bound. Due to this it never checks for trailing
zeroing so it doesn't make any sense to combine it with MIN_SZ_OR_ZERO, so
drop MIN_SZ_OR_ZERO when they are used together

There were a couple of places that open coded this pattern, switch them to
use the clearer UVERBS_ATTR_MIN_SIZE for clarity.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2018-07-04 13:47:01 -06:00
..
bnxt_re RDMA/bnxt_re: Fix a bunch of off by one bugs in qplib_fp.c 2018-07-04 12:06:26 -06:00
cxgb3 IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
cxgb4 iw_cxgb4: remove duplicate memcpy() in c4iw_create_listen() 2018-06-18 16:06:01 -06:00
hfi1 IB/hfi1: Remove incorrect call to do_interrupt callback 2018-07-03 14:29:12 -06:00
hns IB/mlx5: Remove set-but-not-used variables 2018-07-03 14:14:21 -06:00
i40iw RDMA/i40w: Hold read semaphore while looking after VMA 2018-07-04 11:51:06 -06:00
mlx4 IB/mlx4: Test port number before querying type. 2018-07-04 11:48:27 -06:00
mlx5 RDMA/uverbs: Use UVERBS_ATTR_MIN_SIZE correctly and uniformly 2018-07-04 13:47:01 -06:00
mthca IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
nes IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
ocrdma IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
qedr IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
qib IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
usnic IB/usnic: Update with bug fixes from core code 2018-06-25 14:38:28 -06:00
vmw_pvrdma vmw_pvrdma: Release netdev when vmxnet3 module is removed 2018-07-03 15:52:31 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00