Commit c36c5ffd authored by Breno Leitao's avatar Breno Leitao Committed by Michael Ellerman
Browse files

powerpc/eeh: Declare pci_ers_result_name() as static



Function pci_ers_result_name() is a static function, although not declared
as such. This was detected by sparse in the following warning

	arch/powerpc/kernel/eeh_driver.c:63:12: warning: symbol 'pci_ers_result_name' was not declared. Should it be static?

This patch simply declares the function a static.

Signed-off-by: default avatarBreno Leitao <leitao@debian.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 42e2acde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ static int eeh_result_priority(enum pci_ers_result result)
	}
};

const char *pci_ers_result_name(enum pci_ers_result result)
static const char *pci_ers_result_name(enum pci_ers_result result)
{
	switch (result) {
	case PCI_ERS_RESULT_NONE: