Skip to content
Commit c75da205 authored by Aaron Lu's avatar Aaron Lu Committed by Tejun Heo
Browse files

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: default avatarAaron Lu <aaron.lu@intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 20e64fa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment