Re: [PATCH v2 0/5] PCI: Convert pci_resource_to_user() to a weak function

2019-07-30 Thread Bjorn Helgaas
On Mon, Jul 29, 2019 at 01:13:56PM +0300, Denis Efremov wrote: > Architectures currently define HAVE_ARCH_PCI_RESOURCE_TO_USER if they want > to provide their own pci_resource_to_user() implementation. This could be > simplified if we make the generic version a weak function. Thus, > architecture

[PATCH v2 0/5] PCI: Convert pci_resource_to_user() to a weak function

2019-07-29 Thread Denis Efremov
Architectures currently define HAVE_ARCH_PCI_RESOURCE_TO_USER if they want to provide their own pci_resource_to_user() implementation. This could be simplified if we make the generic version a weak function. Thus, architecture specific versions will automatically override the generic one. Changes