From patchwork Fri Apr 5 16:11:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3,1/1,libata] SCSI: really use SATL version in VPD X-Patchwork-Submitter: Baruch Even X-Patchwork-Id: 234190 X-Patchwork-Delegate: davem@davemloft.net Message-Id: <1365178306-17363-1-git-send-email-baruch@ev-en.org> To: Jeff Garzik , linux-ide@vger.kernel.org Cc: Baruch Even Date: Fri, 5 Apr 2013 19:11:45 +0300 From: Baruch Even List-Id: As per c78968bb by Jeff Garzik ([libata] SCSI: simulator version, not device version, belongs in VPD) We need to provide the SATL driver version and not the disk firmware version but the code overwrites the driver version with the disk version. Signed-off-by: Baruch Even --- drivers/ata/libata-scsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 318b413..e61a054 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -2126,7 +2126,6 @@ static unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf) memcpy(&rbuf[8], "linux ", 8); memcpy(&rbuf[16], "libata ", 16); memcpy(&rbuf[32], DRV_VERSION, 4); - ata_id_string(args->id, &rbuf[32], ATA_ID_FW_REV, 4); /* we don't store the ATA device signature, so we fake it */