Date: Wed, 16 May 2012 00:03:58 +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-8@freebsd.org Subject: svn commit: r235493 - stable/8/sys/dev/isci/scil Message-ID: <201205160003.q4G03wZK012799@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jimharris Date: Wed May 16 00:03:58 2012 New Revision: 235493 URL: http://svn.freebsd.org/changeset/base/235493 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/8/sys/dev/isci/scil/sati_inquiry.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/dev/isci/scil/sati_inquiry.c ============================================================================== --- stable/8/sys/dev/isci/scil/sati_inquiry.c Wed May 16 00:01:39 2012 (r235492) +++ stable/8/sys/dev/isci/scil/sati_inquiry.c Wed May 16 00:03:58 2012 (r235493) @@ -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?201205160003.q4G03wZK012799>