Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1860361ybn; Thu, 26 Sep 2019 03:20:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyF9J1gSnndF55XJx3tnROT3OcOqr9LQZGBJcm1S2DnArVY54KznHTWJ/XVdovunlOwry5r X-Received: by 2002:a50:b501:: with SMTP id y1mr2636667edd.167.1569493237489; Thu, 26 Sep 2019 03:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569493237; cv=none; d=google.com; s=arc-20160816; b=eBdRaB03UrV000wCyV3IAq6mrhk7biVAXyoL9KWNE+bx2uQvGQG7tKiGaJpE0DHxNK 2zN05HECDmry8pv8yb/AF0OfZLoRZP6dKrEwTqKZV83GIblN/5WTefKJjshXGgVNGSxS 1HDLjaaG2dammzrd2GbwrpF9aSj0POcJoJ1Igwp0yAFpdw6sdsgcJ5focDb95a2TYvVD uBemzw96ePQ6oAEJpYjswvI9kKCbI1Dr5C/kIt9bDGUTV6XlE0Xhi3ZwOyqxDdHbvVH3 6rzuNTqOuf7BJJYZAkMkfax+HTGIDgVVUWH0pX4HPjr45u0KDfnxS99Zd5IEmLKmFqlv tW7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=LDhy5PuoEjbXKNyCTiF2SJjlDlN6nBk1a6jeJeZbojc=; b=CdGSMz1ZTrVWxELv6j/MNvgBasrt1Sh2e+XCgi8OROAkAlY5kPf0tJF36KV20oO0Pp ehd6f4ovtcNZ522T8rVU0zMVlBHUzoBaCJjFSouDhg54XFuP01LsJppuq8yejkqHrNpR unWlLsduFOPRc2cL8js5eb4wakoMvB6O6g3/hGT+4zli7Td2kspSK5qt9o/KBUvOgMxm OrAYUMN7tKq7LojH4drB62lNz5UOW/z1RZOJJmZtznsbYH3UDdRRpjoVsGZkLSmNlspY fmQD2JfoarYyWOZ6i3zzX5aYuVs2isKsKqmqJZD0oIO6VlRAaEbg4LT1PWadKKyqXceS CU/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si749001ejk.158.2019.09.26.03.20.13; Thu, 26 Sep 2019 03:20:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392958AbfIZGeW (ORCPT + 99 others); Thu, 26 Sep 2019 02:34:22 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:52717 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388934AbfIZGeW (ORCPT ); Thu, 26 Sep 2019 02:34:22 -0400 Received: from marcel-macpro.fritz.box (p4FEFC197.dip0.t-ipconnect.de [79.239.193.151]) by mail.holtmann.org (Postfix) with ESMTPSA id C2589CECD9; Thu, 26 Sep 2019 08:43:13 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH] Bluetooth: btrtl: Fix an issue for the incorrect error return code. From: Marcel Holtmann In-Reply-To: <20190918085641.5374-1-max.chou@realtek.com> Date: Thu, 26 Sep 2019 08:34:20 +0200 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, alex_lu@realsil.com.cn Content-Transfer-Encoding: 7bit Message-Id: References: <20190918085641.5374-1-max.chou@realtek.com> To: max.chou@realtek.com X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Max, > It does not need the '-' for PTR_ERR(skb) because PTR_ERR(skb) will > return the negative value during errors. > > Signed-off-by: Max Chou > --- > drivers/bluetooth/btrtl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel