[PATCH -next] power: reset: hisi-reboot: add missing MODULE_DEVICE_TABLE

2021-04-08 Thread Chen Lifu
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Chen Lifu --- drivers/power/reset/hisi-reboot.c | 1 + 1 file changed, 1 insertion

[PATCH -next] ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE

2021-04-08 Thread Chen Lifu
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Chen Lifu --- sound/soc/sti/sti_uniperif.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH -next] ARM: spear: Fix build error with CONFIG_ARCH_SPEAR3XX

2021-04-08 Thread Chen Lifu
y deleting the initialization of 'num_chipselect' in spear3xx.c. Fixes: 77f983a9df42 ("spi: pl022: Use GPIOs looked up by the core") Reported-by: Hulk Robot Signed-off-by: Chen Lifu --- arch/arm/mach-spear/spear3xx.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/mach-spear/s

[PATCH v2 -next] arm64: smp: Add missing prototype for some smp.c functions

2021-03-28 Thread Chen Lifu
the warnings by: 1. Adding the prototype for 'arch_irq_work_raise' in irq_work.h 2. Adding the prototype for 'panic_smp_self_stop' in smp.h Signed-off-by: Chen Lifu --- v2: - move the prototype for 'panic_smp_self_stop' to smp.h arch/arm64/include/asm/irq_work.h | 2 ++ arch/arm64/include/asm/smp.h

[PATCH -next] ARM: davinci: dm646x-evm: use DEFINE_SPINLOCK() for spinlock

2021-03-27 Thread Chen Lifu
From: Lifu Chen spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot Signed-off-by: Lifu Chen --- arch/arm/mach-davinci/board-dm646x-evm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH -next] i2c: gpio: use DEFINE_SPINLOCK() for spinlock

2021-03-27 Thread Chen Lifu
From: Lifu Chen spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot Signed-off-by: Lifu Chen --- arch/arm/mach-sa1100/simpad.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH -next] MIPS: Alchemy: Use DEFINE_SPINLOCK() for spinlock

2021-03-27 Thread Chen Lifu
From: Lifu Chen spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot Signed-off-by: Lifu Chen --- arch/mips/alchemy/common/clock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH -next] ARM: OMAP: Use DEFINE_SPINLOCK() for spinlock

2021-03-27 Thread Chen Lifu
From: Lifu Chen spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot Signed-off-by: Lifu Chen --- arch/arm/plat-omap/dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH -next] arm64: smp: Add missing prototype for some smp.c functions

2021-03-27 Thread Chen Lifu
op’ [-Wmissing-prototypes] Fix the same by adding the missing prototype in header irq_work.h Signed-off-by: Chen Lifu --- arch/arm64/include/asm/irq_work.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/irq_work.h b/arch/arm64/include/asm/irq_work.h index a1020285ea