OSDN Git Service

powerpc/pseries/pmem: Make symbol 'drc_pmem_match' static
authorBixuan Cui <cuibixuan@huawei.com>
Fri, 9 Apr 2021 09:01:14 +0000 (17:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:17 +0000 (23:04 +1000)
commit2235dea17d56238642121a8085b71d68598534bb
treed6af10b3c14a60335768447e9d6bc1d160939914
parent193e4cd8ed9dd01092d01df7706a6b344c946af4
powerpc/pseries/pmem: Make symbol 'drc_pmem_match' static

The sparse tool complains as follows:

arch/powerpc/platforms/pseries/pmem.c:142:27: warning:
 symbol 'drc_pmem_match' was not declared. Should it be static?

This symbol is not used outside of pmem.c, so this
commit 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/20210409090114.59396-1-cuibixuan@huawei.com
arch/powerpc/platforms/pseries/pmem.c