[PATCH -next] powerpc/pmac: Make some symbols static

2021-04-09 Thread Zucheng Zheng
ppc_override_l2cr/ppc_override_l2cr_value/has_l2cache symbol is not used outside of setup.c, so commit marks it static. Reported-by: Hulk Robot Signed-off-by: Zucheng Zheng --- arch/powerpc/platforms/powermac/setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH -next] powerpc/pmac: remove not use symbol

2021-04-09 Thread Zucheng Zheng
sccdbg symbol is not used, so remove it Reported-by: Hulk Robot Signed-off-by: Zucheng Zheng --- arch/powerpc/platforms/powermac/setup.c | 4 1 file changed, 4 deletions(-) diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index db5107c80485

[PATCH -next] driver: aoe: use DEFINE_SPINLOCK() for spinlock

2021-04-02 Thread Zucheng Zheng
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot Signed-off-by: Zucheng Zheng --- drivers/block/aoe/aoenet.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/block/aoe/aoenet.c

[PATCH -next] serial: 8250: Make symbol 'brcmuart_debugfs_root' static

2021-04-01 Thread Zucheng Zheng
symbol 'brcmuart_debugfs_root' is not used outside of 8250_bcm7271.c, so this commit marks it static. Signed-off-by: Zucheng Zheng --- drivers/tty/serial/8250/8250_bcm7271.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty