git: f7aa44763d20 - main - Correct type size format error in KASSERT. Reported by: jenkins Fixes: 6f1c8908272f vm: Don't break vm reserv that can't meet align reqs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Dec 2021 19:54:43 UTC
The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=f7aa44763d20d06c9ea5caf330aca02a8b107a70 commit f7aa44763d20d06c9ea5caf330aca02a8b107a70 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2021-12-16 19:48:58 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2021-12-16 19:48:58 +0000 Correct type size format error in KASSERT. Reported by: jenkins Fixes: 6f1c8908272f vm: Don't break vm reserv that can't meet align reqs --- sys/vm/vm_reserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_reserv.c b/sys/vm/vm_reserv.c index 8b5f316cc420..d578d67dbe59 100644 --- a/sys/vm/vm_reserv.c +++ b/sys/vm/vm_reserv.c @@ -1391,8 +1391,8 @@ vm_reserv_reclaim_contig(int domain, u_long npages, vm_paddr_t low, ("%s: adjusted address does not align to %lx", __func__, alignment)); KASSERT(((pa ^ (pa + size - 1)) & -boundary) == 0, - ("%s: adjusted address spans boundary to %lx", - __func__, boundary)); + ("%s: adjusted address spans boundary to %jx", + __func__, (uintmax_t)boundary)); vm_reserv_domain_scan_unlock(domain); vm_reserv_reclaim(rv);