]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Declare pci_ers_result_name() as static
authorBreno Leitao <leitao@debian.org>
Mon, 22 Oct 2018 14:54:13 +0000 (11:54 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 25 Nov 2018 06:11:21 +0000 (17:11 +1100)
commit6f3f2a73be27da14027ec3936d35d4f0b9f83757
treee2e6d19737061ba714ed7e39673f3524eb9b8abf
parent53e07bd6d5dd19357a7e1b5b82ddbad337aa35db
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: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c