Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2021 08:05:29 GMT
From:      Doug Moore <dougm@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 39816676b6c6 - stable/12 - Correct type size format error in KASSERT. Reported by:	jenkins Fixes:	6f1c8908272f vm: Don't break vm reserv that can't meet align reqs
Message-ID:  <202112230805.1BN85TkW057417@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by dougm:

URL: https://cgit.FreeBSD.org/src/commit/?id=39816676b6c6a461ed8bcf9311058054383a82db

commit 39816676b6c6a461ed8bcf9311058054383a82db
Author:     Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2021-12-16 19:48:58 +0000
Commit:     Doug Moore <dougm@FreeBSD.org>
CommitDate: 2021-12-23 08:05:18 +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
    
    (cherry picked from commit f7aa44763d20d06c9ea5caf330aca02a8b107a70)
---
 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 3e88a696496e..189023257d07 100644
--- a/sys/vm/vm_reserv.c
+++ b/sys/vm/vm_reserv.c
@@ -1480,8 +1480,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);



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