]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xmon: Make symbol 'spu_inst_dump' static
authorPu Lehui <pulehui@huawei.com>
Fri, 9 Apr 2021 07:01:51 +0000 (15:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:17 +0000 (23:04 +1000)
commitd4b714f4e9989345566b9cbd16d062db925ee9d6
tree1fa9654f86b8cff475aeddea4afd7a7601bc30be
parenta6bb3a901c2ce0950c2bbc6affd4eef8672e9646
powerpc/xmon: Make symbol 'spu_inst_dump' static

Fix sparse warning:

arch/powerpc/xmon/xmon.c:4216:1: warning:
 symbol 'spu_inst_dump' was not declared. Should it be static?

This symbol is not used outside of xmon.c, so make it static.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210409070151.163424-1-pulehui@huawei.com
arch/powerpc/xmon/xmon.c