summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue_internal.h
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-12-14 21:55:22 +0800
committerMarcel Holtmann <marcel@holtmann.org>2013-12-14 06:49:14 -0800
commit787949039fcd87b58aabeb494d031912209086ae (patch)
treebf0932e25bc0402fe6ddc089a02d2d44b6de3281 /kernel/workqueue_internal.h
parent05c75e36710f74fc5a7618966b78818ec0d62567 (diff)
downloadop-kernel-dev-787949039fcd87b58aabeb494d031912209086ae.zip
op-kernel-dev-787949039fcd87b58aabeb494d031912209086ae.tar.gz
Bluetooth: fix return value check
In case of error, the function bt_skb_alloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud