Messages in this thread | | | Date | Fri, 11 Mar 2016 12:41:04 -0500 | From | Tejun Heo <> | 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@oracle.com>
Applied to libata/for-4.6.
Thanks.
-- tejun
| |