]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Make pnv_pci_sriov_enable() and friends static
authorOliver O'Halloran <oohall@gmail.com>
Sun, 5 Jul 2020 13:35:56 +0000 (23:35 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Jul 2020 01:07:20 +0000 (11:07 +1000)
commit69323d83ceba2a90ff0664e8d8b38c6249285bd5
tree55e265c61170a7ac2e5a6959a98bc39d233cef50
parent52422f0ee0fa6d190f350bc618bc2f95205fdc5d
powerpc/powernv: Make pnv_pci_sriov_enable() and friends static

The kernel test robot noticed these are non-static which causes Clang to
print some warnings. These are called via ppc_md function pointers so
there's no need for them to be non-static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200705133557.443607-1-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-ioda.c