summaryrefslogtreecommitdiff
path: root/lib/sbitmap.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-09-17 00:41:37 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 19:18:07 (GMT)
commit4b07d85374f582fc3aa009deda62fcc26713146a (patch)
tree70abbdf733a30695ab750ea346b777593c4845d0 /lib/sbitmap.c
parentaa3ee06a2ae2fe7b7b65fc9a82d52b96f99ab1d6 (diff)
downloadlinux-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/sbitmap.c')
0 files changed, 0 insertions, 0 deletions