From nobody Sat Nov 01 17:24:42 2025 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 4czPqG4BG4z6GGRS; Sat, 01 Nov 2025 17:24:42 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4czPqG1mRQz3xY1; Sat, 01 Nov 2025 17:24:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762017882; 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=tXTCXk9E+EZUVFt1uNl1xzfmNzFD90wq1uEYorjh6cw=; b=OYKXLWm4J+7w6wvzlkRKGLNyGPEHa04mvaA6Nzp8KeWrKeNryvIUVv6to/may8CjWiIjmd Q+xRhgEmHTSlPV3qnWN54fyGXBL6UlVyzMo1quGslfI/qChAeIAdvpF6OIQFoZnZrnJSqT F2CJP38GC1XRrhcD6fTmNTg09E/ylR1hp/dzToO6yvjUWWkxS1p4ae33GRFHIDEiud8g8l 45bjQMlTicCBcCmyVzvKisARTiaKoMohHJxZ+fVI0ALbbaKRyAF4SGrderYn9fpjGp4eqi 4SvFDPMLrmFrSS5QIgxuQ8XBPqk/kuovgd2Cvd1Qj98gzXxHhXh2aFBwyDVsYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762017882; 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=tXTCXk9E+EZUVFt1uNl1xzfmNzFD90wq1uEYorjh6cw=; b=Y5wqDN79t+R0rHh8oCmusoAfvL7pX1Cyk0dFcBTVAOYnNLybDGMl8Vy+VG5xrs0WBRW5ga iBoo+N7WXgvs/pr13DBM7o2+IKjqKaoO4Z6w4stCfgT2b8SZoGnmEB4LrirDZfEK1noAMm F2P5yiHLOzSDgppyYEPkv3WUq5DRuCM56zqsOi9ZHUiJYfmMXO9hkJCuOHhIKeKXWj47Ad x+l/hk8Oxin+wrsu93jzBBZD+xIhCitdJBwnX2zVEJWbT35Pk7/f3SM7ewha14rAcRJMdv uBP8Hkey6svZt0CeS/EOSve5kV1B4W9F7YwUGQ7DRPP/rFqsumiasf89xSPx0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762017882; a=rsa-sha256; cv=none; b=xePWE9L11QHwj/1sv495hdKg8h0Lom/j5tCs1Si8KL+oLKYYl0cHbD7SkSnN4gM68Hpuqy r0ACjqDOjO6xoKw5u2zTq25dkXvx9D3K9y+eVLyKnhquMcb/SflAozG1fWxvNzHAavGKNx GlZwZZ9gxO4fB7XVi3PaR1Mf265XkFJEnrplx5v4N/uxDudY61IRYzZHyNoDgD/xvS6Yjb DiR3faux+uQmr/B//eEP+6NFhTrM6d0woXivkvw7yHYK9IN63cSpkUTlRAQLA2R7VjU6U1 5iNWQfC8Epj4pc/nv8hPKV5NmW3lAclFnNBjWCoYRrEUjSbvT8x6/cB7od9gbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4czPqG1DRpzpvs; Sat, 01 Nov 2025 17:24:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5A1HOgGt089067; Sat, 1 Nov 2025 17:24:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A1HOghO089064; Sat, 1 Nov 2025 17:24:42 GMT (envelope-from git) Date: Sat, 1 Nov 2025 17:24:42 GMT Message-Id: <202511011724.5A1HOghO089064@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: 0726d6e87ad5 - main - vchiq: fix compilation error on armv7 in CI and local armv7 builds 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0726d6e87ad508f9e6a78685d3d9067edf255588 Auto-Submitted: auto-generated The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=0726d6e87ad508f9e6a78685d3d9067edf255588 commit 0726d6e87ad508f9e6a78685d3d9067edf255588 Author: Adrian Chadd AuthorDate: 2025-11-01 17:23:12 +0000 Commit: Adrian Chadd CommitDate: 2025-11-01 17:23:12 +0000 vchiq: fix compilation error on armv7 in CI and local armv7 builds This happens in CI and on local armv7 builds, but not when I cross compile to armv7 locally. > /usr/src/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c:549:71: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat] > 549 | "free_pagelist - %zx, %d (%u bytes @%p)", (size_t)pagelist, actual, pagelist->length, bi->buf); So just be very specific about the printf types and explicitly cast things. --- sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c index f4aee12dec53..185e81e71bdc 100644 --- a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c +++ b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c @@ -546,7 +546,9 @@ free_pagelist(BULKINFO_T *bi, int actual) pagelist = bi->pagelist; vchiq_log_trace(vchiq_arm_log_level, - "free_pagelist - %zx, %d (%u bytes @%p)", (size_t)pagelist, actual, pagelist->length, bi->buf); + "free_pagelist - %zx, %d (%lu bytes @%p)", + (size_t)pagelist, (int)actual, (unsigned long)pagelist->length, + bi->buf); num_pages = (pagelist->length + pagelist->offset + PAGE_SIZE - 1) /