[libata] get-identity ioctl: Fix use of invalid memory pointer
authorJeff Garzik <jeff@garzik.org>
Fri, 16 Jan 2009 15:17:09 +0000 (10:17 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 16 Jan 2009 15:17:09 +0000 (10:17 -0500)
commit94be9a58d7e683ac3c1df1858a17f09ebade8da0
tree2f346bb4d179caf1cf0f61012f35c8277504c55a
parent5393f780277165f282a37ed82dd878159ec9dad5
[libata] get-identity ioctl: Fix use of invalid memory pointer
for SAS drivers.

Caught by Ke Wei (and team?) at Marvell.

Also, move the ata_scsi_ioctl export to libata-scsi.c, as that seems to be the
general trend.

Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
drivers/scsi/ipr.c
drivers/scsi/libsas/sas_scsi_host.c
include/linux/libata.h