Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2020 15:05:24 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363182 - head/sys/dev/safexcel
Message-ID:  <202007141505.06EF5OC5092473@repo.freebsd.org>

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



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