From nobody Fri Dec 02 19:49:51 2022 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 4NP3SH61pHz4j6jH; Fri, 2 Dec 2022 19:49: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 4NP3SH5JGhz4Cck; Fri, 2 Dec 2022 19:49:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670010591; 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=yD5xcMDaO3+q/wHC1R6PmH56FDlyWc/BXYG5Uos8xxU=; b=ldwx/z5ZIV0RkROQSXdh43QIJFTq017SIEkRYZXYPakrJ3jyIqTR4dXDXxqmuzTt5Zk5ii X6aMD1d9xpTex/aoxXFnhHSCMuKfrlZi9ddnX8Wi5CfJc/MVLZeY2pB8SHf9w8AUgwiBiQ FKHxJ69Q/0NZom75KHfqzgmrbCaVmQq6RvtO9ekg/AFbkgv37S3wlSFPDKmyf20LHjCGhC AOmWRsj6644OfhG3UUJ2H5PjCOOPkxpewP0GPR4pJNmcS/I4WbKFoCczxedkf5cbiDURgP /Lb+ZOCmVV8gIde6AtkHVxjvRaFNMpsAs9qLo4SR5CCBIHlsKo5myxZ1xE4nqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670010591; 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=yD5xcMDaO3+q/wHC1R6PmH56FDlyWc/BXYG5Uos8xxU=; b=NJV41XOVEYenvW7cf0nns2Pb/lFfpA53AwwZDsKQsDIVheswWS4UKHop7NVQzPTN0ZOBiv iFMDGtuxAvPfh7/Zsz0G6FdUw7HcX1yXiT6eiOTegujGyAfym0iTClUERs0Aw4Q1KuNCZN fZCHCX8HKIjJVl9o2bRXW71HQKXIATNNlwAcxNxL/9UnpghobDAy41lx2t/d+q4Ko+8ECt rOFoSPwYp8nHtaTCUPJh423uTMBIB3wuzaiOmDFRb0HoHUxaC9gUAlcDJ63qZR1kVcZwg9 H7QSxRV0IgmLOb+E5/2A+EOQgrFsPMLMBNeInaF51Hy1fyMLLwvQuyhVFHKy1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670010591; a=rsa-sha256; cv=none; b=Ou+75iq13mleR7L59mZEh0TKzQjDD4eM69sgxFa8Hx29ThLjfI3pZRdsjz8tELLYD92hRn ZLhB2L6n4IbonOnqEQvXw46ZWJDxP1eaYQEJn3dAEEkqz3bxGdb7HAFOjxUwqJXzJ13tcd L4X3r9p0aFXCKLAnOFfu6JRVJ9bPJMTtQZOTjxh4JzG6yzc8WUdW+aUEmi/VrLjdSNyzTM lajYM9oVhVz0RA52oY8dNtp3fKvKvw59Xifx+Nn5o5jTsMVkfgX8zspMNIVZruk/DUVePH lb6PaDbF/pfYlR3KN/xv+6sTIdQv7Rq0tf1Pxx60ZAork6UTleqrCmThQ6x2zQ== 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 4NP3SH47h4zSXv; Fri, 2 Dec 2022 19:49:51 +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 2B2Jnp1l077009; Fri, 2 Dec 2022 19:49:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B2JnpxT077008; Fri, 2 Dec 2022 19:49:51 GMT (envelope-from git) Date: Fri, 2 Dec 2022 19:49:51 GMT Message-Id: <202212021949.2B2JnpxT077008@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: da5d0a1dbc28 - main - kboot: Use unsigned long long. 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da5d0a1dbc2838eae7033254705c684d7a013fce Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=da5d0a1dbc2838eae7033254705c684d7a013fce commit da5d0a1dbc2838eae7033254705c684d7a013fce Author: Warner Losh AuthorDate: 2022-12-02 19:41:01 +0000 Commit: Warner Losh CommitDate: 2022-12-02 19:41:01 +0000 kboot: Use unsigned long long. For the 64-bit platforms, this is a nop. Currently kboot only supports 64-bit platforms, though. If we support 32-bit in the future, this will become important. Noticed by: rpokala Sponsored by: Netflix --- stand/kboot/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/kboot/util.c b/stand/kboot/util.c index 938aad599e19..7d467a29b059 100644 --- a/stand/kboot/util.c +++ b/stand/kboot/util.c @@ -35,7 +35,7 @@ file2str(const char *fn, char *buffer, size_t buflen) bool file2u64(const char *fn, uint64_t *val) { - unsigned long v; + unsigned long long v; char buffer[80]; if (!file2str(fn, buffer, sizeof(buffer)))