diff options
author | Randy Dunlap <[email protected]> | 2021-05-17 16:41:17 -0700 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2021-06-03 17:27:23 +0100 |
commit | 5be967d5016ac5ffb9c4d0df51b48441ee4d5ed1 (patch) | |
tree | b75391eaf30f9316ae829df3603bfa9acef20de2 /tools/perf/scripts/python | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
PCI: ftpci100: Rename macro name collision
PCI_IOSIZE is defined in mach-loongson64/spaces.h, so change the name
of the PCI_* macros in pci-ftpci100.c to use FTPCI_* so that they are
more localized and won't conflict with other drivers or arches.
../drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined
37 | #define PCI_IOSIZE 0x00
|
In file included from ../arch/mips/include/asm/addrspace.h:13,
... from ../drivers/pci/controller/pci-ftpci100.c:15:
arch/mips/include/asm/mach-loongson64/spaces.h:11: note: this is the location of the previous definition
11 | #define PCI_IOSIZE SZ_16M
Suggested-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Cc: Jiaxun Yang <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Krzysztof WilczyĆski <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions