android_kernel_motorola_sm6375/drivers/infiniband
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 88128a5054 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
[ Upstream commit 463a3f66473b58d71428a1c3ce69ea52c05440e5 ]

The uapi_get_object() function returns error pointers, it never returns
NULL.

Fixes: 149d3845f4 ("RDMA/uverbs: Add a method to introspect handles in a context")
Link: https://lore.kernel.org/r/YJ6Got+U7lz+3n9a@mwanda
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-05-26 12:05:15 +02:00
..
core RDMA/uverbs: Fix a NULL vs IS_ERR() bug 2021-05-26 12:05:15 +02:00
hw RDMA/mlx5: Recover from fatal event in dual port mode 2021-05-26 12:05:15 +02:00
sw RDMA/rxe: Clear all QP fields if creation failed 2021-05-26 12:05:14 +02:00
ulp RDMA/srpt: Fix error return code in srpt_cm_req_recv() 2021-05-14 09:44:28 +02:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-24 13:29:05 +01:00
Makefile