summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_arasan_cf.c
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2012-10-09 11:37:48 +0400
committerJeff Garzik <jgarzik@redhat.com>2012-11-16 08:20:55 +0400
commit60817a680b1bd3341b6909fab7d8a1fcc3a78369 (patch)
tree7c052113c5c12511f225aca01a0d09d947d62057 /drivers/ata/pata_arasan_cf.c
parentc5e35d6c512c43105883043dd62cf7257ec3f9f0 (diff)
downloadlinux-60817a680b1bd3341b6909fab7d8a1fcc3a78369.tar.xz
libata-acpi: Fix NULL ptr derference in ata_acpi_dev_handle
commit 6b66d95895c149cbc04d4fac5a2f5477c543a8ae didn't handle SATA PMP case in ata_acpi_bind_device and will cause a NULL ptr dereference when user attached a SATA drive to the PMP port. Fix this by checking PMP support. This bug is reported by Dan van der Ster in the following bugzilla page: https://bugzilla.kernel.org/show_bug.cgi?id=48211 Reported-by: Dan van der Ster <dan@vanderster.com> Tested-by: Dan van der Ster <dan@vanderster.com> Signed-off-by: Aaron Lu <aaron.lu@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Tested-by: Simon <tangouniform@sbcglobal.net>
Diffstat (limited to 'drivers/ata/pata_arasan_cf.c')
0 files changed, 0 insertions, 0 deletions