From: Aaron Lu Date: Fri, 14 Mar 2014 05:46:09 +0000 (+0800) Subject: libata: acpi: avoid passing NULL to ACPI evaluation method X-Git-Tag: v3.15-rc1~161^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c75da205e02dda3b79ca057e558f97f3d61c855d;p=pandora-kernel.git libata: acpi: avoid passing NULL to ACPI evaluation method If ACPI handle for an ATA device is NULL, we shouldn't call ata_dev_get_GTF as that function will use handle to do some ACPI evaluation. Signed-off-by: Aaron Lu Signed-off-by: Tejun Heo --- Reading git-diff-tree failed