[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160311174104.GH24046@htj.duckdns.org>
Date: Fri, 11 Mar 2016 12:41:04 -0500
From: Tejun Heo <tj@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Suman Tripathi <stripathi@....com>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] ata: ahci_xgene: dereferencing uninitialized pointer in
probe
On Thu, Mar 10, 2016 at 10:45:32AM +0300, Dan Carpenter wrote:
> If the call to acpi_get_object_info() fails then "info" hasn't been
> initialized. In that situation, we already know that "version" should
> be XGENE_AHCI_V1 so we don't actually need to dereference "info".
>
> Fixes: c9802a4be661 ('ata: ahci_xgene: Add AHCI Support for 2nd HW version of APM X-Gene SoC AHCI SATA Host controller.')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied to libata/for-4.6.
Thanks.
--
tejun
Powered by blists - more mailing lists