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
This commit is contained in:
parent
f234ad405a
commit
ff0b4155ae
@ -71,7 +71,7 @@ static LIST_HEAD(opalcore_list);
|
||||
static struct opalcore_config *oc_conf;
|
||||
static const struct opal_mpipl_fadump *opalc_metadata;
|
||||
static const struct opal_mpipl_fadump *opalc_cpu_metadata;
|
||||
struct kobject *mpipl_kobj;
|
||||
static struct kobject *mpipl_kobj;
|
||||
|
||||
/*
|
||||
* Set crashing CPU's signal to SIGUSR1. if the kernel is triggered
|
||||
|
Loading…
Reference in New Issue
Block a user