Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5326151pxj; Wed, 26 May 2021 08:05:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBwuWKm9Gs+XXJyppEe0dMnQl3td4XNKGAAypulD8Wf6yM+FviIPF+06paoN0p1KRoVXjm X-Received: by 2002:a5d:89ce:: with SMTP id a14mr23211903iot.82.1622041513951; Wed, 26 May 2021 08:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622041513; cv=none; d=google.com; s=arc-20160816; b=CQWHnZCEEoul8BlixFKoizCw2HGxqaniBVcCtHzE0IGotbMjd5fuUsribYOkbWHm8R uBmHaMZJMQRyt4f0hZ1vfJ9aP7PU1X4r0jbKs1d6+PHAVOg8p3HD3QWYRJIG51NAwwd+ VkwyuHGpseIjYdZvI/ZCwHPQ9MhTvMwq5IfRUaW4YusHjjDen4b8qdGUcSqXzV83LMo4 JCyYc0ThKVtSra0afhnMxX9SRX9I2OiabH/k5eWFtlNA6Y6/QvGBvXHZ+HfKCDqiPJiJ 8+ndHkperOkNqETldKeB1GEYWO/qRhEWq29gsyd7ILNw71Wzwb9xhKqtQS+IhMRRmX3l yLdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=wIE/p/UO7/2cxPOlCD4Oq7cV5sQwn5aQmy/cHiRKORo=; b=V6fl8wgWVkHoVW3d0sHfIh+BrhuKlGLX1wqaR51chZyhh5au0cF1j3f4szm5Ko3YWW hFkG+GJMPLzpw2laKJBdKP53SIeDDBwqAI+DU1WNMnGmD1XjHKuMg06vSQZyrFaatO/h O9YbP3NcggS36VOmyX/gu62oG5A0Kr4tQBsvKH9YarkBYt1bXb57iAMnm3Ge+y+T2sqN X02AHbgjIB9QjIbuUh+l+TY+Io5dti52NLIs5demxZT0Zs7UD3pBnZq40wXSEYiAFTmk ZQNOrr9nl0/uqT5fQCrk03uZA5iwUnOHSOaxuZEn4epHFUvihwrCkVKAtw3aABrQXF2s ERzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si6235702ils.142.2021.05.26.08.04.35; Wed, 26 May 2021 08:05:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235124AbhEZPDg (ORCPT + 99 others); Wed, 26 May 2021 11:03:36 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:33281 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235007AbhEZPDf (ORCPT ); Wed, 26 May 2021 11:03:35 -0400 Received: from smtpclient.apple (p4fefc9d6.dip0.t-ipconnect.de [79.239.201.214]) by mail.holtmann.org (Postfix) with ESMTPSA id 2CFD9CED1E; Wed, 26 May 2021 17:09:58 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH] Bluetooth: Fix get device flags command returns garbage parameter From: Marcel Holtmann In-Reply-To: <20210526002816.413660-1-hj.tedd.an@gmail.com> Date: Wed, 26 May 2021 17:02:02 +0200 Cc: linux-bluetooth@vger.kernel.org, Tedd Ho-Jeong An Content-Transfer-Encoding: 7bit Message-Id: <34D9C8B2-2B39-4AFD-83F3-F99726EA6292@holtmann.org> References: <20210526002816.413660-1-hj.tedd.an@gmail.com> To: Tedd Ho-Jeong An X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Tedd, > This patch memset the response parameter so it doesn't return the garbage > value when the Get Device Flags command fails. > please add a Fixes: tag here. Regards Marcel