From nobody Wed Dec 13 20:17:56 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 4Sr6H853h1z54GbW; Wed, 13 Dec 2023 20:17:56 +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 4Sr6H84S14z3Dl8; Wed, 13 Dec 2023 20:17:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702498676; 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=vDJhhJ+L+/k1v86PG4fnkunwv0x2X/ukhHM2fC0zw+o=; b=mleRZiSiOHLGrqFfp/bcXxCCAvdi4wQmjgDOm+UhpBAqrF6004GyFz954x1rqC3VKxV9kq AtNYGSkJrluOt8BKhwIRPDLQVv6m50o4Qfcdl7V4ioY4hl/OYpaAdpzoaS2cEjGpO3IHre oOZh4iHyK7+rylr3IIHBEWVzOFf4tvY632NH1OuifGyIvxyfsCi/Orjt+cyE/nQ+/9eQle QycIyIKW5balILmKMI0ka79GhULUOlGsLKAf0YcmHbhaeiVxulrnGAaFAvDkPaRag08e9e 8E/ee8vQrebBdBDxBzPcAf8K1oAJXpnVZTe4NOWG6mdeZZw7O+AETZeRY00hJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702498676; a=rsa-sha256; cv=none; b=KfcCeFqCkTm49ERa+qy0YtD1wc0EcTbCAg9J3QM/ZUJq49pw5mczfpi/tCXjtHB61wE2EL qsjReLbS/MncdJol+o8rY59JSfZaCiWrCJ05CzrXA/M1dyCuYVHgUQ1UAGKON60p9FcjP4 LIcL4z8I5T0dife+atXdowRzunqe5Rrv02KU8Pmm9NuA2rQKGIfTHF1kGWHHK50MVW4h+K mPPcxfdPaSne3dmFec81+OQG+ruJW7h0jiIZ7MK99iVuPNZ4CW3+GRBJAp0jx8Q66e17aB kQ3AHrvzRXssyZz4Lz8ES38Oh1u43/NKpJzKA/GH5PZVngiwrnOC9I+GEaYVUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702498676; 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=vDJhhJ+L+/k1v86PG4fnkunwv0x2X/ukhHM2fC0zw+o=; b=GWjqMu3Ew+nusOP9XwHKCnfZJcC9G6EO1RLyYOKzKS9W5ABCxsRl8n1S/+opgUCcNN6X81 Rq/sfstCFzfeADr7a5YJBbBpe2yo/WuN/pUhAUKTtRO3c7iIV+AGUYbc0aPjcRnpJonIRA 8sG06ARa2LvC1imLD7of5H3oC3+xl394q463Q2mOkPWns8LJBUy17q09NA2cBGhClsWnwF +TEZ20wxRVbmKmgi0R6MCj9TViN20HsSHYcjlJJFIjE37mNGUaFG97TLbx3/OAUtS2gBEt dpqapMcORhIbaJi/53qAtJMKLgBdedWqrBXDxdD6kj2RvcPv5cbit9clXHRNtg== 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 4Sr6H83P7rz1CJJ; Wed, 13 Dec 2023 20:17:56 +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 3BDKHuDt005415; Wed, 13 Dec 2023 20:17:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BDKHuYr005412; Wed, 13 Dec 2023 20:17:56 GMT (envelope-from git) Date: Wed, 13 Dec 2023 20:17:56 GMT Message-Id: <202312132017.3BDKHuYr005412@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 894f3f48c3ea - main - 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/main X-Git-Reftype: branch X-Git-Commit: 894f3f48c3ea27a6f0f54850595ff48db9ee4861 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=894f3f48c3ea27a6f0f54850595ff48db9ee4861 commit 894f3f48c3ea27a6f0f54850595ff48db9ee4861 Author: John Baldwin AuthorDate: 2023-12-13 20:17:44 +0000 Commit: John Baldwin CommitDate: 2023-12-13 20:17:44 +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 --- 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);