From nobody Tue Feb 21 05:40:18 2023 X-Original-To: dev-commits-src-main@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 4PLSmf4rGhz3t49X; Tue, 21 Feb 2023 05:40:18 +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 4PLSmf4K98z3Kjl; Tue, 21 Feb 2023 05:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676958018; 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=wLhRIy2ijZ3PzdlO97vnFP5iupP6+edROTR6rxxaH/E=; b=maVQ9GpqqnllgzObhv8Znt9TBaZtX/CP9xA6RQzLesf1hvRpL/DRGYjMd8JZoXIulTRL7p sgc+SwehApM3XXNpUpuwTZOsThxF+roFKbnTsLpFlLOvWsgxgnlEQXeCi2yeJ4iY9hWfa7 A4x3kzZKpnS0FPlIC/x0EcvOmvLAJDMssGOLygethA8/g/VDuMhssvhtiE3fdR9gP0F14k Up2Pgu/EJTfe8XLsadh5cr2Vc+ocFnGxvO7T40EQFtbBbSyKQ+cK2WOdfap/yFguwtm9RM dEj4vASZxG5cRCOdwIX3bPdyp4yA9ocI0y504fyOmVf5cgMmunGfsaZrH/PmJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676958018; 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=wLhRIy2ijZ3PzdlO97vnFP5iupP6+edROTR6rxxaH/E=; b=tRUnBMpA4jXuUQXg4uhmzjmYMucK4GdbeNkWCgFIqToLSqhGISgFubtaUNVtea1rLKAhDh j0LjsOzqUcmTFDDxsYV6guzQGKkl1h5dzHLdwwefrfkJdVJSNmeW4+RIMWox9HgpqXMJOM D+LDbxnqCPAW8LR/P1d4C+WbeicG4LKoiY0vb6MO9f/69vlU8mdrHDDVA41St/UXjNRlGP EFfc/nOvI4DQz+NTXuLcGAmZ9bGMorHrWvKhJwlIWqKxbaDFiNTcMSsxePTQF/NhKHQY+i MC58FT3m5HP/xxO4Yzy1otYFZO2ujiyqjjp0Lt1FIvvcmA6uyX6XFaauIutjCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676958018; a=rsa-sha256; cv=none; b=ff4zI8FzJKma8zv5x8XtQgDdaoiw3d87+fuLRQKy+zpO6OSfKWvbxBIo1DwwICyZTyrETu YW7Po0Z4RW0ha4rC6SW3cNP2zPs0VdGb5u6kZWj1IOR2GAm6O5RZggc/SZ9fGqSM4NoL61 1nHQ014xU+98/9BYiCYxcnRoT5PFkabYCfip2es5hS7mETRJouCrPEkEdzJ70OWdvU8KPO uzFYfA7G809S6zWqm+OXQO7csch+rZrvpmJ5idMAmsvS7A3xr6IQsQ4JBvW6OXp2/ZQ47a /eE+19k4prdP9uKhGT9laI3/GVQSdZce/uEo8Wnz0k92adptyjbP3LyGFIR2XA== 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 4PLSmf37ptz18P7; Tue, 21 Feb 2023 05:40:18 +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 31L5eIAj004457; Tue, 21 Feb 2023 05:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31L5eIo2004456; Tue, 21 Feb 2023 05:40:18 GMT (envelope-from git) Date: Tue, 21 Feb 2023 05:40:18 GMT Message-Id: <202302210540.31L5eIo2004456@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: c32946d8bee0 - main - kern: physmem: fix the format string again, i is a size_t List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: c32946d8bee0d82042165c5d78b4d339d1268a2a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=c32946d8bee0d82042165c5d78b4d339d1268a2a commit c32946d8bee0d82042165c5d78b4d339d1268a2a Author: Kyle Evans AuthorDate: 2023-02-21 05:34:33 +0000 Commit: Kyle Evans CommitDate: 2023-02-21 05:39:38 +0000 kern: physmem: fix the format string again, i is a size_t Fixes the riscv LINT build. Fixes: 7b5cb32fca26 ("kern: physmem: properly cast %jx [...]") --- 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 a53d2cb879eb..1fb617078625 100644 --- a/sys/kern/subr_physmem.c +++ b/sys/kern/subr_physmem.c @@ -149,11 +149,11 @@ physmem_dump_tables(int (*prfunc)(const char *, ...) __printflike(1, 2)) #ifdef DEBUG prfunc("Avail lists:\n"); for (i = 0; phys_avail[i] != 0; ++i) { - prfunc(" phys_avail[%d] 0x%08jx\n", i, + prfunc(" phys_avail[%zu] 0x%08jx\n", i, (uintmax_t)phys_avail[i]); } for (i = 0; dump_avail[i] != 0; ++i) { - prfunc(" dump_avail[%d] 0x%08jx\n", i, + prfunc(" dump_avail[%zu] 0x%08jx\n", i, (uintmax_t)dump_avail[i]); } #endif