Return-Path: Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: [PATCH -next v2] Bluetooth: fix return value check From: Marcel Holtmann In-Reply-To: Date: Sat, 14 Dec 2013 15:50:42 +0100 Cc: "Gustavo F. Padovan" , Johan Hedberg , yongjun_wei@trendmicro.com.cn, "linux-bluetooth@vger.kernel.org development" Message-Id: References: To: Wei Yongjun Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Wei, > 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 > --- > net/bluetooth/6lowpan.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel