]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: make symbol 'mpipl_kobj' static
authorBixuan Cui <cuibixuan@huawei.com>
Fri, 9 Apr 2021 06:38:55 +0000 (14:38 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:17 +0000 (23:04 +1000)
commitc5627a15d21e395c4bb4887d781a3e8728bb18e8
treed55fd244d6ba99a581cb03d03452f0331a5d41bb
parentd4b714f4e9989345566b9cbd16d062db925ee9d6
powerpc/powernv: make symbol 'mpipl_kobj' static

The sparse tool complains as follows:

arch/powerpc/platforms/powernv/opal-core.c:74:16: warning:
 symbol 'mpipl_kobj' was not declared.

This symbol is not used outside of opal-core.c, so marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210409063855.57347-1-cuibixuan@huawei.com
arch/powerpc/platforms/powernv/opal-core.c