On Wed, May 14, 2025 at 3:31 AM Philipp Stanner <pha...@kernel.org> wrote: > > vmwgfx enables its PCI device with pcim_enable_device(). This, > implicitly, switches the function pci_request_regions() into managed > mode, where it becomes a devres function. > > The PCI subsystem wants to remove this hybrid nature from its > interfaces. To do so, users of the aforementioned combination of > functions must be ported to non-hybrid functions. > > Moreover, since both functions are already managed in this driver, the > calls to pci_release_regions() are unnecessary. > > Remove the calls to pci_release_regions(). > > Replace the call to sometimes-managed pci_request_regions() with one to > always-managed pcim_request_all_regions(). > > Signed-off-by: Philipp Stanner <pha...@kernel.org> > Reviewed-by: Zack Rusin <zack.ru...@broadcom.com> > --- > Changes in v3: > - Use the correct driver name in the commit message. (Zack) > > Changes in v2: > - Fix unused variable error.
Thank you! I've pushed it to drm-misc-next. z
smime.p7s
Description: S/MIME Cryptographic Signature