Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2015 07:21:27 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r288696 - stable/10/sys/cam/scsi
Message-ID:  <201510050721.t957LR1u072076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510050721.t957LR1u072076>