PCI: Convert pci_resource_to_user() to a weak function
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesIn review
- v15 patches 5 repliesSuperseded
Changes in v2 from the cover letter
1. Removed __weak from pci_resource_to_user() declaration
2. Fixed typo s/spark/sparc/g
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | PCI: Convert pci_resource_to_user to a weak functiondrivers/ include/ | +8 | 0 replies | |
| 2/5 | microblaze/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USERarch/ | +0 | 0 replies | |
| 3/5 | mips/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USERarch/ | +0 | 1 reply | |
| 4/5 | powerpc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USERarch/ | +0 | 0 replies | |
| 5/5 | sparc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USERarch/ | +0 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Paul Burton |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] PCI: Convert pci_resource_to_user() to a weak function
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 in v2:
1. Removed __weak from pci_resource_to_user() declaration
2. Fixed typo s/spark/sparc/g
Denis Efremov (5):
PCI: Convert pci_resource_to_user to a weak function microblaze/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER mips/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER powerpc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER sparc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER
arch/microblaze/include/asm/pci.h | 2 -- arch/mips/include/asm/pci.h | 1 - arch/powerpc/include/asm/pci.h | 2 -- arch/sparc/include/asm/pci.h | 2 -- drivers/pci/pci.c | 8 ++++++++ include/linux/pci.h | 12 ------------ 6 files changed, 8 insertions(+), 19 deletions(-)
Signature · 1 line
2.21.0