Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2013 16:38:49 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253368 - head/sys/cam/scsi
Message-ID:  <201307151638.r6FGcn4B067660@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Mon Jul 15 16:38:48 2013
New Revision: 253368
URL: http://svnweb.freebsd.org/changeset/base/253368

Log:
  Fix an argument reversal in calls to scsi_read_element_status().
  
  Reported by:	Ulrich Spoerlein <uqs@FreeBSD.org>
  MFC after:	3 days

Modified:
  head/sys/cam/scsi/scsi_ch.c

Modified: head/sys/cam/scsi/scsi_ch.c
==============================================================================
--- head/sys/cam/scsi/scsi_ch.c	Mon Jul 15 15:40:57 2013	(r253367)
+++ head/sys/cam/scsi/scsi_ch.c	Mon Jul 15 16:38:48 2013	(r253368)
@@ -1274,8 +1274,8 @@ retry_einval:
 				 /* tag_action */ MSG_SIMPLE_Q_TAG,
 				 /* voltag */ want_voltags,
 				 /* sea */ softc->sc_firsts[chet],
-				 /* dvcid */ dvcid,
 				 /* curdata */ curdata,
+				 /* dvcid */ dvcid,
 				 /* count */ 1,
 				 /* data_ptr */ data,
 				 /* dxfer_len */ 1024,
@@ -1342,8 +1342,8 @@ retry_einval:
 				 /* voltag */ want_voltags,
 				 /* sea */ softc->sc_firsts[chet]
 				 + cesr->cesr_element_base,
-				 /* dvcid */ dvcid,
 				 /* curdata */ curdata,
+				 /* dvcid */ dvcid,
 				 /* count */ cesr->cesr_element_count,
 				 /* data_ptr */ data,
 				 /* dxfer_len */ size,



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