From nobody Mon Feb 20 18:55:20 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PLBSS6d4Cz3rW4H; Mon, 20 Feb 2023 18:55:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLBSS67Brz4lNx; Mon, 20 Feb 2023 18:55:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676919320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KWxJ+j0K2cvwAiZKyw2NfZw4DZ/7NT5eZBqFmGPSqC0=; b=hogCHH1Q9mAbjsrJeR9ZWFT+3t+rEaRd49Pp4iIR12V0DpLCKW3QrZ3wRjf+q15NsZnWbD dNd3G62ZIlcgLKuxJpSf6rIBwZg3ro/OMBbqgBwmZgDFQsvhZiVGpoIwvjJnC5qv7GntqN swcq6MpAkpINTdS9onGUUucsGsZM7ICtjfvWjvIDnNpqra6IXVR3Wl64g8Oxv0M+mNhZ67 1pHNkidlP3Vr2R5DQw4bJ8z3sol421p+si9/ifIAHpKrDJP/2gWk/Ikt6SLLYiL1ufJbIr CaW0HpdwseUD+OuAG+GBg6DrGR7vp2SWBe5antQrqZ6s/ToVk0orDc5gg1992A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676919320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KWxJ+j0K2cvwAiZKyw2NfZw4DZ/7NT5eZBqFmGPSqC0=; b=g8SDB5NqZjjrg8QHpnJXwh05e6n5FbBgzETkyHoYbYyuYodADaywxP3cJjDv822a8l5iAM rEIDnBvgzBMF6JHTV8+EBUWvXateYY+utW5OCSow2pJniGJEH60lCgw2hH51/AO2nfvFpp 4PAnhUtL1xFmR2ps74i/ZAMDjv0sgtZ1+LeHJ4MBTHOPSNdoeD3DJRBhmIlSDTUlps+BgX QsjvJAlsnFw38dyjLfzP4r5ixpjxUlD4lX7k2LA46+g6jizMVA03vUi9w1dAAuV7tBHwUq /LOuHqnTRX4brjaV0s2j5oykKAf+Zg8f6mhUo/G9GjoEZBnzmrq+3TXYPvpY3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676919320; a=rsa-sha256; cv=none; b=PIdFC5dasxDeS1R16/wQAPjyFmt+HngWxqv4oV/jdfoJmceA+BXW4/b2L02jd9SDhDRUT6 bnsUlrTNxfM1/galkKGG/x6G+MZZmmOibRgvTLZ2qa/g36pCeajVIFZGKnvkzv0Z6KrIAa ToI1gIxCC5hEu/V6VrjesdvA9InZBMVz5XFs49xOzm62aMLYjBBxJrk3sCoulSUU7+LHWW pewTy9R1P1+7BeKSzbRFVvs84y6h2pr7dtTVMtsUiiuSPv26QT1NCRzn73rFefykWyweIe 2WKc8muW34Ym381q1Khw8g5njAUeky2j9N0zTFTK9Xtecmp9h+191FHoRLXoJQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PLBSS5BH9zs10; Mon, 20 Feb 2023 18:55:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31KItKlr079892; Mon, 20 Feb 2023 18:55:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KItK45079891; Mon, 20 Feb 2023 18:55:20 GMT (envelope-from git) Date: Mon, 20 Feb 2023 18:55:20 GMT Message-Id: <202302201855.31KItK45079891@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: cd73914b01a1 - main - kern: physmem: don't truncate addresses in DEBUG output List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cd73914b01a1f2300e587f802383cc563f2e7103 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=cd73914b01a1f2300e587f802383cc563f2e7103 commit cd73914b01a1f2300e587f802383cc563f2e7103 Author: Kyle Evans AuthorDate: 2023-02-20 18:54:00 +0000 Commit: Kyle Evans CommitDate: 2023-02-20 18:55:04 +0000 kern: physmem: don't truncate addresses in DEBUG output Make it consistent with the above region printing, otherwise it appears to be somewhat confusing. --- sys/kern/subr_physmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_physmem.c b/sys/kern/subr_physmem.c index bb6af5a580aa..d371e1e166c5 100644 --- a/sys/kern/subr_physmem.c +++ b/sys/kern/subr_physmem.c @@ -149,10 +149,10 @@ physmem_dump_tables(int (*prfunc)(const char *, ...)) #ifdef DEBUG prfunc("Avail lists:\n"); for (i = 0; phys_avail[i] != 0; ++i) { - prfunc(" phys_avail[%d] 0x%08x\n", i, phys_avail[i]); + prfunc(" phys_avail[%d] 0x%08jx\n", i, phys_avail[i]); } for (i = 0; dump_avail[i] != 0; ++i) { - prfunc(" dump_avail[%d] 0x%08x\n", i, dump_avail[i]); + prfunc(" dump_avail[%d] 0x%08jx\n", i, dump_avail[i]); } #endif }