Date: Wed, 16 May 2012 00:01:39 +0000 (UTC) From: Jim Harris <jimharris@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r235492 - stable/7/sys/dev/isci/scil Message-ID: <201205160001.q4G01dHR012658@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jimharris Date: Wed May 16 00:01:39 2012 New Revision: 235492 URL: http://svn.freebsd.org/changeset/base/235492 Log: MFC r235043: Fix off-by-one error in sati_inquiry_block_device_translate_data(). Bug would result in INQUIRY VPD 0x81 to SATA devices to return only 63 bytes of data instead of 64 during SCSI/ATA translation. Sponsored by: Intel Modified: stable/7/sys/dev/isci/scil/sati_inquiry.c Directory Properties: stable/7/sys/ (props changed) Modified: stable/7/sys/dev/isci/scil/sati_inquiry.c ============================================================================== --- stable/7/sys/dev/isci/scil/sati_inquiry.c Tue May 15 23:39:37 2012 (r235491) +++ stable/7/sys/dev/isci/scil/sati_inquiry.c Wed May 16 00:01:39 2012 (r235492) @@ -359,7 +359,7 @@ void sati_inquiry_block_device_translate ); //bytes 8-63 are reserved - for(offset = 8; offset < 63; offset++) + for(offset = 8; offset < 64; offset++) { sati_set_data_byte(sequence, scsi_io, offset, 0x00); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205160001.q4G01dHR012658>