diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-07 12:20:38 +0000 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-22 14:26:55 -0400 |
commit | 1d5840c971455ad4ecece3f72012961cac8d0f00 (patch) | |
tree | 2174be4fb8ce8c0be9ed45759469dbd274c42048 /drivers/infiniband/hw | |
parent | 23d70503ee187819a3775c7ac73f17c5bfe3fad0 (diff) | |
download | linux-1d5840c971455ad4ecece3f72012961cac8d0f00.tar.bz2 |
IB/isert: fix error return code in isert_alloc_login_buf()
Fix to return error code -ENOMEM from the alloc error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions