linux_dsm_epyc7002/drivers/infiniband
Gal Pressman c5f42b2105 RDMA/core: Check for error instead of success in alloc MR function
The common kernel pattern is to check for error, not success.  Flip the if
statement accordingly and keep the main flow unindented.

Link: https://lore.kernel.org/r/20200706120343.10816-2-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-07-06 19:24:20 -03:00
..
core RDMA/core: Check for error instead of success in alloc MR function 2020-07-06 19:24:20 -03:00
hw RDMA/mlx5: Introduce ODP prefetch counter 2020-07-03 09:16:25 -03:00
sw RDMA/rxe: Remove unused rxe_mem_map_pages 2020-06-22 14:49:27 -03:00
ulp Merge branch 'mlx5_ipoib_qpn' into rdma.git for-next 2020-07-06 14:29:58 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00