Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp719946ybk; Wed, 20 May 2020 10:14:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKOBmiLmJC8wok2jP2yAbbDbj6fcX250693ecBSrKtYM22p9RO8GC8ed9+084ls7Jg0ABg X-Received: by 2002:a05:6402:1d2d:: with SMTP id dh13mr4193548edb.169.1589994862609; Wed, 20 May 2020 10:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589994862; cv=none; d=google.com; s=arc-20160816; b=Xb6KNpCOxGA9ykngYJz1bJ1TeswCe5CyQeyMchxX5AZibZAUuyE7RpzbXmXDUkrVvV i+5ogA2Bw0OwRwfa10hFLtZiPYsDrhylSI453VGs/9/emAD2GlHc7kk/6gukrje9kpiU 9r5AkpSEtYrsfwU2wQoGve2adJJLFCGFE7r09EHo1ug9aolDFcJRvXvJzdvi/GcYB2AI gpOH3/MgORId1enmBqbKMONBVL+gU2nrdE19OcAR5R5exlYJP0Sfk9AunBoA8s/biJ+M EqOVd92hZohSYddKna+szNhzZXY9Qqca3iY+AW3Cybs3Yxwd4LR/Rv+dFUlzb6pejQam pr6g== 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=RY0uC36xih5Wxz8Iqh7IauB5fGgGkWvKqcVmFFyzBak=; b=lt97syQL8t0B/iJRHQTCQtkgdKaRMYPwUH5yllUhBFwITPe0+zLFYa7Kmk5neL7raN VrzsJ1MtPQ961EqYNx3wcRSPN6ZdS0137VZ+6fo1GLti5VRwIT3WpfouNEk7Gs3eEnZR sIMXf1r+ye2omFHhlOXLncx2WUtWkZlLFf8O9pmfD3AyGaGjSXRJISB2F/uFNlk7eMvI G7WU+pqUpMYlRWFIb/fEL3cFRgCki3LYqz8Dy3CI1fAA0SXg3jiJPZ1AvxZzoYWdTwhW IIWd0XNFaX7a5cnJZ+9f6LOeyYrt3emp9B+0KW7aOIIM5FaNnHNzjjz/+s7NiCBkHaOS 1jzg== 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 u9si2007607ejb.268.2020.05.20.10.13.41; Wed, 20 May 2020 10:14:22 -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 S1726966AbgETRNU (ORCPT + 99 others); Wed, 20 May 2020 13:13:20 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:51252 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbgETRNU (ORCPT ); Wed, 20 May 2020 13:13:20 -0400 Received: from marcel-macbook.fritz.box (p4fefc5a7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 778F6CED0C; Wed, 20 May 2020 19:23:02 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH] Bluetooth: hci_qca: Fix uninitialized access to hdev From: Marcel Holtmann In-Reply-To: <20200520093206.1.I1a56163c173e14d1cc7a8b639147466171525eab@changeid> Date: Wed, 20 May 2020 19:13:17 +0200 Cc: Dan Carpenter , BlueZ , Johan Hedberg , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200520093206.1.I1a56163c173e14d1cc7a8b639147466171525eab@changeid> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Abhishek, > hdev is always allocated and not only when power control is required. > > Reported-by: Dan Carpenter > Signed-off-by: Abhishek Pandit-Subedi > --- > > drivers/bluetooth/hci_qca.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel