Home
last modified time | relevance | path

Searched hist:c22e853a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ceph/
H A Dosd_client.cc22e853a Fri Jul 29 19:37:57 CDT 2016 Wei Yongjun <weiyj.lk@gmail.com> libceph: fix return value check in alloc_msg_with_page_vector()

In case of error, the function ceph_alloc_page_vector() returns
ERR_PTR() and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

Fixes: 1907920324f1 ('libceph: support for sending notifies')
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
c22e853a Fri Jul 29 19:37:57 CDT 2016 Wei Yongjun <weiyj.lk@gmail.com> libceph: fix return value check in alloc_msg_with_page_vector()

In case of error, the function ceph_alloc_page_vector() returns
ERR_PTR() and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

Fixes: 1907920324f1 ('libceph: support for sending notifies')
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>