Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1197621ybl; Wed, 8 Jan 2020 12:46:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyj9zgUaFt8jSIg+F9i/gaPobcY/1/zIX0d+kYdW7xk2/ByjVoDf0nBrwZsNi1pBDFikFny X-Received: by 2002:a54:4595:: with SMTP id z21mr420060oib.136.1578516408811; Wed, 08 Jan 2020 12:46:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578516408; cv=none; d=google.com; s=arc-20160816; b=RKxMse6ZJCm3z7UDmI1S/xFxLNk4IbFProN0XnbB0SO5bI83mFabqJw4jDWcA8eAqz 2AZrId6kLlM6RyjWZtsbkwnHuB1PO4wPIkOhqqqPvqhJKWMaUjQTXRNMvm2qjJ+TU7vt G0sl/ghyfP0VH9ZMcorpn6K8RKUYPy4x4bRT9QREZ4fWSiwvGkHFZlHaDz1I1NuvP3lk wCczMGQTxTA76F8B9LmCQObRASg65wyd+gaPE2wijB+K1ehaqsDl0+r+YDmay7aRtzpG 1RyryYgaCNtIG8V+gh/ivTko0Fi5ts10glMF2RY6I/4Rc+70Uf+AG+117DAcNXWYdXZs d5nA== 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=4yJNdoJYg5OZ3kU+Dkf40CHOETvq+uVQlXZ3WMRqSSY=; b=KWVTjx3o+8Cap/7w3hH5+XX5YlhR1UFhIChGuizl68B+w3Qe9ugkbrRTcWw0PvFFVd H6CYcHZH081/qeD2GtzTPoP91Atai72xl5HzPYNZNzsO1sh+uB8B3qx7CBQZCvvn7FaQ pD5HG9JD1Iv9yC6lQEMCc+DkXeacbRSOveDnB1vCMCbsQEQRyNGZP6LG9pdiXVjuqB7k fUi1oy17d6vEChk5U0fq+xCf2pzRV5STifOXz9JJqtO2W8gnGztvcIT3+UJao5/lwQZO mOSSG/ASwR7ZnqLHaSnOCS+RUcl4kE3Oi8ePuzhtET2UUdDf2381UX8Xet146WTIjv4x FNcA== 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 r6si2468999otn.216.2020.01.08.12.46.34; Wed, 08 Jan 2020 12:46:48 -0800 (PST) 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 S1726439AbgAHUqW convert rfc822-to-8bit (ORCPT + 99 others); Wed, 8 Jan 2020 15:46:22 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:42091 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbgAHUqW (ORCPT ); Wed, 8 Jan 2020 15:46:22 -0500 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 22AAACECFA; Wed, 8 Jan 2020 21:55:37 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: [PATCH -next] Bluetooth: hci_qca: Use vfree() instead of kfree() From: Marcel Holtmann In-Reply-To: <20200108035931.51209-1-weiyongjun1@huawei.com> Date: Wed, 8 Jan 2020 21:46:20 +0100 Cc: Johan Hedberg , Balakrishna Godavarthi , linux-bluetooth@vger.kernel.org, kernel-janitors@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <83175A35-B50A-4EB6-BF5B-ABF83F551102@holtmann.org> References: <20200108035931.51209-1-weiyongjun1@huawei.com> To: Wei Yongjun X-Mailer: Apple Mail (2.3608.40.2.2.4) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Wei, > Use vfree() instead of kfree() to free vmalloc() > allocated data. > > Fixes: d841502c79e3 ("Bluetooth: hci_qca: Collect controller memory dump during SSR") > Signed-off-by: Wei Yongjun > --- > drivers/bluetooth/hci_qca.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel