Re: linux-next: build warning after merge of the mips tree

From: Jiaxun Yang
Date: Wed Jul 29 2020 - 21:10:54 EST




å 2020/7/29 äå6:31, Stephen Rothwell åé:
Hi all,

After merging the mips tree, today's linux-next build (powerpc
allnoconfig) produced this warning:

drivers/of/address.c:104:21: warning: 'of_bus_pci_get_flags' defined but not used [-Wunused-function]
104 | static unsigned int of_bus_pci_get_flags(const __be32 *addr)
| ^~~~~~~~~~~~~~~~~~~~

Introduced by commit

2f96593ecc37 ("of_address: Add bus type match for pci ranges parser")

Thanks for catching that!
Fix patch sent.

Btw: Neither James nor Ralf is still active at Linux-MIPS.

- Jiaxun