From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yizqb-0001Pw-C1 for ath10k@lists.infradead.org; Fri, 17 Apr 2015 06:33:54 +0000 From: Kalle Valo Subject: Re: [PATCH] ath10k: fix error handling in pci_probe References: <1428670887-7533-1-git-send-email-michal.kazior@tieto.com> Date: Fri, 17 Apr 2015 09:33:21 +0300 In-Reply-To: <1428670887-7533-1-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Fri, 10 Apr 2015 13:01:27 +0000") Message-ID: <87vbgv4632.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Michal Kazior Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Michal Kazior writes: > If chip_id wasn't recognized clean up code wasn't > executed properly. It would skip freeing memory > causing a leak and irqs causing possibly MSI > warning splats later or even kernel crashes. > > Fixes: 1a7fecb766c8 ("ath10k: reset chip before reading chip_id in probe") > Signed-off-by: Michal Kazior Thanks, applied. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k