On Mon, Jul 23, 2018 at 01:36:43PM +0300, Andy Shevchenko wrote: > Hi! > > At some point I have stumbled over [1] which has a rightful confusion. > I tried to go through documentation we have and have no idea is that > behaviour have been fixed or not and if yes, in which kernel version. > > Can we submit a patch against documentation to clarify the status of it? > Followup would be fix of hfi1 driver to drop confusion. > > [1]: https://stackoverflow.com/questions/51163832/linux-pci-driver-setup > -and-teardown I would love it if somebody posted a patch to clarify this. I don't have time to research and formulate a patch right now, but if you want to propose something, or open a bugzilla so we don't forget, that would be great. The first fix would be to change the reference to pci_request_regions(), which doesn't exist.