ata: ahci_xgene: potential NULL dereference in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 May 2015 09:24:15 +0000 (12:24 +0300)
committerTejun Heo <tj@kernel.org>
Mon, 18 May 2015 20:43:23 +0000 (16:43 -0400)
commit2d32d10103bc94ad2461864664b61ea98c930619
treef91f36d5098222707aac7463310680c45670b3e8
parentc9802a4be6611520dd99d91d0d9c4efcaa0fa281
ata: ahci_xgene: potential NULL dereference in probe

Smatch complains about this potential NULL dereference of "acpi_id".

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>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_xgene.c