diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-17 00:41:37 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 19:18:07 (GMT) |
commit | 4b07d85374f582fc3aa009deda62fcc26713146a (patch) | |
tree | 70abbdf733a30695ab750ea346b777593c4845d0 /lib | |
parent | aa3ee06a2ae2fe7b7b65fc9a82d52b96f99ab1d6 (diff) | |
download | linux-4b07d85374f582fc3aa009deda62fcc26713146a.tar.xz |
iw_cxgb4: Fix error return code in c4iw_rdev_open()
commit 15f7e3c21b76598bc6e5816d2577ce843b2b963f upstream.
Fix to return error code -ENOMEM from the __get_free_page() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 05eb23893c2c ("cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions