summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-cpu.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-07-30 02:37:57 +0200
committerIlya Dryomov <idryomov@gmail.com>2016-08-08 21:41:41 +0200
commitc22e853a2ed19321d00c1eae339ffdc4f5e7757e (patch)
treee490b26498c790a9dc06be590a974ea9dc231eb0 /block/blk-mq-cpu.c
parentLinux 4.8-rc1 (diff)
downloadlinux-c22e853a2ed19321d00c1eae339ffdc4f5e7757e.tar.xz
linux-c22e853a2ed19321d00c1eae339ffdc4f5e7757e.zip
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>
Diffstat (limited to 'block/blk-mq-cpu.c')
0 files changed, 0 insertions, 0 deletions