svn commit: r288696 - stable/10/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Mon Oct 5 07:21:27 UTC 2015


Author: mav
Date: Mon Oct  5 07:21:26 2015
New Revision: 288696
URL: https://svnweb.freebsd.org/changeset/base/288696

Log:
  MFC r257831 (by smh):
  Corrected definition for old_rate to match d_rotation_rate

Modified:
  stable/10/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/10/sys/cam/scsi/scsi_da.c	Mon Oct  5 07:10:09 2015	(r288695)
+++ stable/10/sys/cam/scsi/scsi_da.c	Mon Oct  5 07:21:26 2015	(r288696)
@@ -3458,7 +3458,7 @@ dadone(struct cam_periph *periph, union 
 			 * Disable queue sorting for non-rotational media
 			 * by default.
 			 */
-			u_int old_rate = softc->disk->d_rotation_rate;
+			u_int16_t old_rate = softc->disk->d_rotation_rate;
 
 			softc->disk->d_rotation_rate =
 				scsi_2btoul(bdc->medium_rotation_rate);


More information about the svn-src-stable-10 mailing list