safexcel(4): Fix the INVARIANTS build after a last-second change.
Reported by: Jenkins MFC with: r363180
This commit is contained in:
parent
9a1184de2a
commit
3db2b0d5ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363182
@ -1896,8 +1896,8 @@ safexcel_cmd_descr_add(struct safexcel_ring *ring, bool first, bool last,
|
|||||||
struct safexcel_cmd_descr *cdesc;
|
struct safexcel_cmd_descr *cdesc;
|
||||||
struct safexcel_cmd_descr_ring *cring;
|
struct safexcel_cmd_descr_ring *cring;
|
||||||
|
|
||||||
KASSERT(full_data_len <= SAFEXCEL_MAX_REQUEST_SIZE,
|
KASSERT(reqlen <= SAFEXCEL_MAX_REQUEST_SIZE,
|
||||||
("%s: request length %u too long", __func__, full_data_len));
|
("%s: request length %u too long", __func__, reqlen));
|
||||||
mtx_assert(&ring->mtx, MA_OWNED);
|
mtx_assert(&ring->mtx, MA_OWNED);
|
||||||
|
|
||||||
cring = &ring->cdr;
|
cring = &ring->cdr;
|
||||||
|
Loading…
Reference in New Issue
Block a user