Re: git: 575639548cef - main - bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD
Date: Tue, 09 Dec 2025 21:03:32 UTC
On 12/9/25 15:46, John Baldwin wrote: > On 12/9/25 15:12, John Baldwin wrote: >> The branch main has been updated by jhb: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=575639548cef58590a1d70c29e47aae0e8d44153 >> >> commit 575639548cef58590a1d70c29e47aae0e8d44153 >> Author: John Baldwin <jhb@FreeBSD.org> >> AuthorDate: 2025-12-09 19:59:21 +0000 >> Commit: John Baldwin <jhb@FreeBSD.org> >> CommitDate: 2025-12-09 20:00:06 +0000 >> >> bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD >> >> The wrapper functions such as bus_alloc_resource_any() still support >> passing the rid by value or pointer, but the underlying implementation >> now passes by value. >> >> Reviewed by: imp >> Differential Revision: https://reviews.freebsd.org/D53402 > > FYI, this breaks the build of drm-kmod (hence the __FreeBSD_version bump). > I will open a PR against drm-kmod shortly, but it will still take some time > for the patch to make its way into ports. There's not really a great way > to stage changes that depend on __FreeBSD_version bumps. :( https://github.com/freebsd/drm-kmod/pull/395 is the patch to fix drm-kmod -- John Baldwin