mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
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:
|
||
---|---|---|
.. | ||
board-mop500-audio.c | ||
board-mop500.h | ||
cpu-db8500.c | ||
db8500-regs.h | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
platsmp.c | ||
pm.c | ||
pm_domains.c | ||
pm_domains.h | ||
setup.h | ||
ste-dma40-db8500.h |