mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-20 19:34:46 +00:00
c2279bd09f
commit f0e8faa7a5e894b0fc99d24be1b18685a92ea466 upstream.
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-pins.c | ||
board-mop500-regulators.c | ||
board-mop500-regulators.h | ||
board-mop500-sdi.c | ||
board-mop500-stuib.c | ||
board-mop500-u8500uib.c | ||
board-mop500-uib.c | ||
board-mop500.c | ||
board-mop500.h | ||
cache-l2x0.c | ||
cpu-db8500.c | ||
cpu.c | ||
cpuidle.c | ||
db8500-regs.h | ||
devices-common.c | ||
devices-common.h | ||
devices-db8500.c | ||
devices-db8500.h | ||
devices.c | ||
devices.h | ||
headsmp.S | ||
hotplug.c | ||
id.c | ||
id.h | ||
irqs-board-mop500.h | ||
irqs-db8500.h | ||
irqs.h | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
pins-db8500.h | ||
platsmp.c | ||
pm.c | ||
setup.h | ||
ste-dma40-db8500.h | ||
timer.c | ||
usb.c |