Author: lwhsu Date: Mon Jul 8 19:59:15 2019 New Revision: 349847 URL: https://svnweb.freebsd.org/changeset/base/349847
Log: Fix gcc build for cxgbe(4) Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20879 Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c ============================================================================== --- head/sys/dev/cxgbe/tom/t4_cpl_io.c Mon Jul 8 19:46:20 2019 (r349846) +++ head/sys/dev/cxgbe/tom/t4_cpl_io.c Mon Jul 8 19:59:15 2019 (r349847) @@ -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)); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"