commit | 1d5840c971455ad4ecece3f72012961cac8d0f00 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Sun Aug 07 12:20:38 2016 +0000 |
committer | Doug Ledford <dledford@redhat.com> | Mon Aug 22 14:26:55 2016 -0400 |
tree | 2174be4fb8ce8c0be9ed45759469dbd274c42048 | |
parent | 23d70503ee187819a3775c7ac73f17c5bfe3fad0 [diff] |
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>