From nobody Thu Jan 18 22:25:50 2024 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 4TGHQ76r08z578Y5; Thu, 18 Jan 2024 22:25:51 +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 4TGHQ732sbz40gr; Thu, 18 Jan 2024 22:25:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616751; 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=FXOb6zoyWLrLkm+x3o8XA6QiE0P+X3xPdaLc57ftV/A=; b=yN04OMO+04Np0MHyqkMqJ/2kcfo3ZQD6piiFJMxeC3qIcUI1+tHFlrVgfY48auacHayOGF Q0ScvOt7XLmAWxBHXFSR8xgfyYz83tZA53YcoNPFnHGu3ZCKEaS032yCA20ZA3m5LGpvv2 1kvZ8LH/INCiPYU0ZYtrqvRKlSudRUWb8C8aRUgGhklEahmpsk0+nGX4EHM2QVdVUBAADH 4a16O4Prhk0BVALeJbSDYEww5gz1e+hveFnV/f2+Ob4/3kLHO+k+nd9ewBWX7p2Nf0uz4Z UB0TmPVXkN7jmR7ZxVWkNPDNQzHi3g8QI7rrNrOu5Jknm76JUzNMa2cS7rjs/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616751; 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=FXOb6zoyWLrLkm+x3o8XA6QiE0P+X3xPdaLc57ftV/A=; b=puJfurU8uUjEkQz+Oz6K7jenmXkFrjpUfs2DGbFN3nrzqbSENQUyD3ojJ73+8kf37z2/1x nwUu5yfQGPYSmInqdeMUx4LMW2U0SCSTzHYGpuKL02WNgi/uwvE0wMNTpGig7LBWPSl+SR 6JaIjOgQh7tzVcoVVDTwliLlJO6QGkH17CiL102x9oOuu1p1MBxXcgcHBTsQ3pJwfxn+hX euiQcC0bG8d+w9+yUl03uMYd1fc9N54ebWw5ZsxjmJwJXYYasbGt+P0RCPRih3qXKLrGbt b2kLgdIdnzvmI9xQ3eOCXghdIWR9exWpTpZphDdKcEKtZbae88R4vLTZaJL/iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705616751; a=rsa-sha256; cv=none; b=OEf8MoGs1P+s5kNuTPL4ybpW0drTxkVEsC/FdJZKAxFVxFSXAn+RpRgKSvSkthMVcnYGwT y7TMe4MkOW7dZirqzXvBiUAU2BCymImltw4uapRjr381OWsKe7bPQNpgNE2tTjG06NevZh dqL76VtJMNyhpoq0+UDjh8gyM3J6pNsRBIVCi1t8PfZj/lIwe9Ly7DmDN2bXd8rP8kQ9zj +G/jXVQUbUvmHh9LHL/ubsi7InN4E2+l9FWisK8tY7tYkPmZeQvU++Fi2lQRsmF5w6N8ip F1PXvvg7H/Z0M17tcgAV648nDIaN10B7FMDpftIyv6qqSGWgGY6dZUUg2/KURg== 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 4TGHQ62DKKzQ4T; Thu, 18 Jan 2024 22:25:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40IMPosb089044; Thu, 18 Jan 2024 22:25:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40IMPoxH089041; Thu, 18 Jan 2024 22:25:50 GMT (envelope-from git) Date: Thu, 18 Jan 2024 22:25:50 GMT Message-Id: <202401182225.40IMPoxH089041@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: ccb683c60335 - stable/14 - kldxref: Cast rtype to int in ef_aarch64.c in warning 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ccb683c60335d68c8d387bfdfdd36b83df1e815e Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ccb683c60335d68c8d387bfdfdd36b83df1e815e commit ccb683c60335d68c8d387bfdfdd36b83df1e815e Author: John Baldwin AuthorDate: 2023-12-13 20:17:44 +0000 Commit: John Baldwin CommitDate: 2024-01-18 21:30:04 +0000 kldxref: Cast rtype to int in ef_aarch64.c in warning This is consistent with the other architecture-specific relocation handlers. Reported by: mjg Sponsored by: DARPA (cherry picked from commit 894f3f48c3ea27a6f0f54850595ff48db9ee4861) --- usr.sbin/kldxref/ef_aarch64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/kldxref/ef_aarch64.c b/usr.sbin/kldxref/ef_aarch64.c index 5bd521b28e38..f1e499e76ef1 100644 --- a/usr.sbin/kldxref/ef_aarch64.c +++ b/usr.sbin/kldxref/ef_aarch64.c @@ -65,7 +65,7 @@ ef_aarch64_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, case R_AARCH64_ABS64: break; default: - warnx("unhandled relocation type %lu", rtype); + warnx("unhandled relocation type %d", (int)rtype); break; } return (0);