mirror of https://gitee.com/openkylin/linux.git
f0e8faa7a5
This function clearly never worked and always returns true,
as pointed out by gcc-7:
arch/arm/mach-ux500/pm.c: In function 'prcmu_is_cpu_in_wfi':
arch/arm/mach-ux500/pm.c:137:212: error: ?:
using integer constants in boolean context, the expression
will always evaluate to 'true' [-Werror=int-in-bool-context]
With the added braces, the condition actually makes sense.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
board-mop500-audio.c | ||
board-mop500.h | ||
cpu-db8500.c | ||
db8500-regs.h | ||
hotplug.c | ||
platsmp.c | ||
pm.c | ||
pm_domains.c | ||
pm_domains.h | ||
setup.h | ||
ste-dma40-db8500.h |