2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-24 14:45:12 +08:00
linux-next/drivers/infiniband/hw/ocrdma
Pan Bian 5b4c9cd7e4 IB/ocrdma: fix bad initialization
In function ocrdma_mbx_create_ah_tbl(), returns the value of status on
errors. However, because status is initialized with 0, 0 will be
returned even if on error paths. This patch initialize status with
"-ENOMEM".

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188831

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-14 14:33:48 -05:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_ah.c IB/ocrdma: Delete unnecessary variable initialisations in 11 functions 2016-03-03 13:31:59 -05:00
ocrdma_ah.h RDMA/ocrdma: Support user AH creation for RoCE-v2 2016-02-29 17:12:10 -05:00
ocrdma_hw.c IB/ocrdma: fix bad initialization 2016-12-14 14:33:48 -05:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c IB/ocrdma: Move user vendor structures 2016-10-07 16:54:36 -04:00
ocrdma_sli.h RDMA/ocrdma: Fix the max_sge reported from FW 2016-08-24 11:31:40 -04:00
ocrdma_stats.c IB/ocrdma: Delete unnecessary variable initialisations in 11 functions 2016-03-03 13:31:59 -05:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
ocrdma_verbs.h IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
ocrdma.h RDMA/ocrdma: Support RoCE-v2 in the UD path 2016-02-29 17:12:10 -05:00