kernel-ark/drivers/infiniband
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
..
core IB/core: fix unmap_sg argument 2016-12-14 14:21:26 -05:00
hw IB/ocrdma: fix bad initialization 2016-12-14 14:33:48 -05:00
sw kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
ulp IPoIB: Avoid reading an uninitialized member variable 2016-12-14 13:27:34 -05:00
Kconfig qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00