Files
linux/arch/mips/kernel
Matt Redfearn bac06cf0fb MIPS: smp-cps: Fix potentially uninitialised value of core
Turning on DEBUG in smp-cps.c, or compiling the kernel with
CONFIG_DYNAMIC_DEBUG enabled results the build error:

arch/mips/kernel/smp-cps.c: In function 'play_dead':
./include/linux/dynamic_debug.h:126:3: error: 'core' may be used
uninitialized in this function [-Werror=maybe-uninitialized]

Fix this by always initialising the variable.

Fixes: 0d2808f338 ("MIPS: smp-cps: Add support for CPU hotplug of MIPSr6 processors")
Signed-off-by: Matt Redfearn <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/15848/
Signed-off-by: Ralf Baechle <[email protected]>
2017-04-12 21:34:30 +02:00
..
2017-02-13 18:57:34 +00:00
…
2017-01-03 16:34:34 +01:00
2017-01-25 02:51:11 +01:00
…
2017-04-10 12:25:07 +02:00
2016-12-25 10:47:44 +01:00
2016-05-09 12:00:02 +02:00
2017-03-08 12:11:13 +01:00
2017-03-08 12:11:13 +01:00
2017-03-08 12:11:13 +01:00
2017-03-08 12:11:13 +01:00
2017-03-08 10:38:06 +01:00
2017-03-08 10:38:06 +01:00
…
…
…