Le 21/12/2020 à 08:42, Cédric Le Goater a écrit :
It fixes this W=1 compile error:
Explain why it can be made static, not just that it does fix a W=1 compile
error,
because there are several possible ways to fix such a warning.
../arch/powerpc/platforms/pseries/eeh_pseries.c:46:6:
It fixes this W=1 compile error:
../arch/powerpc/platforms/pseries/eeh_pseries.c:46:6: error: no previous
prototype for ‘pseries_pcibios_bus_add_device’ [-Werror=missing-prototypes]
46 | void pseries_pcibios_bus_add_device(struct pci_dev *pdev)
| ^~