From: Wei Yongjun Date: Sat, 14 Dec 2013 13:55:22 +0000 (+0800) Subject: Bluetooth: fix return value check X-Git-Tag: v3.14-rc1~94^2~238^2^2~22^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=787949039fcd87b58aabeb494d031912209086ae;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed