svn commit: r363182 - head/sys/dev/safexcel

Mark Johnston markj at FreeBSD.org
Tue Jul 14 15:05:25 UTC 2020


Author: markj
Date: Tue Jul 14 15:05:24 2020
New Revision: 363182
URL: https://svnweb.freebsd.org/changeset/base/363182

Log:
  safexcel(4): Fix the INVARIANTS build after a last-second change.
  
  Reported by:	Jenkins
  MFC with:	r363180

Modified:
  head/sys/dev/safexcel/safexcel.c

Modified: head/sys/dev/safexcel/safexcel.c
==============================================================================
--- head/sys/dev/safexcel/safexcel.c	Tue Jul 14 14:11:54 2020	(r363181)
+++ head/sys/dev/safexcel/safexcel.c	Tue Jul 14 15:05:24 2020	(r363182)
@@ -1896,8 +1896,8 @@ safexcel_cmd_descr_add(struct safexcel_ring *ring, boo
 	struct safexcel_cmd_descr *cdesc;
 	struct safexcel_cmd_descr_ring *cring;
 
-	KASSERT(full_data_len <= SAFEXCEL_MAX_REQUEST_SIZE,
-	    ("%s: request length %u too long", __func__, full_data_len));
+	KASSERT(reqlen <= SAFEXCEL_MAX_REQUEST_SIZE,
+	    ("%s: request length %u too long", __func__, reqlen));
 	mtx_assert(&ring->mtx, MA_OWNED);
 
 	cring = &ring->cdr;


More information about the svn-src-head mailing list