Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fdf7f43 authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky
Browse files

[S390] Fix gcc 4.6.0 compile warning



With gcc 4.6.0 we get a false compile warning:

 arch/s390/kernel/setup.c: In function 'setup_arch':
 arch/s390/kernel/setup.c:767:3: warning: 'msg' may be used
            uninitialized in this function [-Wuninitialized]
 arch/s390/kernel/setup.c:753:8: note: 'msg' was declared here

This patch makes gcc quiet.

Signed-off-by: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent fde7d904
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -747,7 +747,7 @@ static void __init reserve_crashkernel(void)
{
{
#ifdef CONFIG_CRASH_DUMP
#ifdef CONFIG_CRASH_DUMP
	unsigned long long crash_base, crash_size;
	unsigned long long crash_base, crash_size;
	char *msg;
	char *msg = NULL;
	int rc;
	int rc;


	rc = parse_crashkernel(boot_command_line, memory_end, &crash_size,
	rc = parse_crashkernel(boot_command_line, memory_end, &crash_size,