From owner-dev-commits-src-main@freebsd.org Mon Jul 5 15:17:53 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B0EE65E82E; Mon, 5 Jul 2021 15:17:53 +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 4GJTp92QBFz4VR8; Mon, 5 Jul 2021 15:17:53 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 37DDB5A2; Mon, 5 Jul 2021 15:17:53 +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 165FHrpn012489; Mon, 5 Jul 2021 15:17:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 165FHrLJ012488; Mon, 5 Jul 2021 15:17:53 GMT (envelope-from git) Date: Mon, 5 Jul 2021 15:17:53 GMT Message-Id: <202107051517.165FHrLJ012488@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 55c57a7811ec - main - rman: Remove an outdated comment that no longer applies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 55c57a7811ec3c2dfcbfd69216a8eaad4e9be8bc Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2021 15:17:53 -0000 The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=55c57a7811ec3c2dfcbfd69216a8eaad4e9be8bc commit 55c57a7811ec3c2dfcbfd69216a8eaad4e9be8bc Author: Jessica Clarke AuthorDate: 2021-07-05 15:15:03 +0000 Commit: Jessica Clarke CommitDate: 2021-07-05 15:15:03 +0000 rman: Remove an outdated comment that no longer applies Since commit 2dd1bdf1834c in 2016 the r_start and r_end fields have been rman_res_t, which was briefly unsigned long, but commit da1b038af9f9 changed the typedef to be uintmax_t instead. C99 is also something we assume these days. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30808 --- sys/kern/subr_rman.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index a76dbf020ee3..a8f5188e7f54 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -79,11 +79,7 @@ __FBSDID("$FreeBSD$"); /* * We use a linked list rather than a bitmap because we need to be able to * represent potentially huge objects (like all of a processor's physical - * address space). That is also why the indices are defined to have type - * `unsigned long' -- that being the largest integral type in ISO C (1990). - * The 1999 version of C allows `long long'; we may need to switch to that - * at some point in the future, particularly if we want to support 36-bit - * addresses on IA32 hardware. + * address space). */ struct resource_i { struct resource r_r;