linux/drivers/infiniband/hw/efa
Gal Pressman 8d9290a4a8 RDMA/efa: Remove redundant udata check from alloc ucontext response
The alloc ucontext flow is always called with a valid udata, there's no
need to test whether it's NULL.

While at it, the 'udata->outlen' check is removed as well as we copy the
minimum between the size of the response and outlen, so in case of zero
outlen, zero bytes will be copied.

Link: https://lore.kernel.org/r/20200818110835.54299-1-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-08-24 14:45:54 -03:00
..
efa_admin_cmds_defs.h RDMA/efa: Introduce SRD RNR retry 2020-08-18 14:52:45 -03:00
efa_admin_defs.h RDMA/efa: Unified getters/setters for device structs bitmask access 2020-02-28 12:12:04 -04:00
efa_com_cmd.c RDMA/efa: Introduce SRD RNR retry 2020-08-18 14:52:45 -03:00
efa_com_cmd.h RDMA/efa: Introduce SRD RNR retry 2020-08-18 14:52:45 -03:00
efa_com.c RDMA/efa: Count admin commands errors 2020-05-02 20:32:14 -03:00
efa_com.h RDMA/efa: Count admin commands errors 2020-05-02 20:32:14 -03:00
efa_common_defs.h RDMA/efa: Unified getters/setters for device structs bitmask access 2020-02-28 12:12:04 -04:00
efa_main.c RDMA/efa: Add EFA 0xefa1 PCI ID 2020-07-29 09:23:40 -03:00
efa_regs_defs.h RDMA/efa: Properly document the interrupt mask register 2020-02-28 12:12:12 -04:00
efa_verbs.c RDMA/efa: Remove redundant udata check from alloc ucontext response 2020-08-24 14:45:54 -03:00
efa.h RDMA/efa: Count mmap failures 2020-05-02 20:32:14 -03:00
Kconfig RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00
Makefile RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00