Fix gcc build for cxgbe(4)
Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20879
This commit is contained in:
parent
eeacb3b02f
commit
57f0337a57
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349847
@ -1985,7 +1985,7 @@ alloc_aiotx_mbuf(struct kaiocb *job, int len)
|
||||
last = NULL;
|
||||
while (len > 0) {
|
||||
mlen = imin(len, MBUF_PEXT_MAX_PGS * PAGE_SIZE - pgoff);
|
||||
KASSERT(mlen == len || (start + mlen & PAGE_MASK) == 0,
|
||||
KASSERT(mlen == len || ((start + mlen) & PAGE_MASK) == 0,
|
||||
("%s: next start (%#jx + %#x) is not page aligned",
|
||||
__func__, (uintmax_t)start, mlen));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user