Philipp Rudo 7c3eaaa391 s390/kexec: Fix checksum validation return code for kdump
Before kexec boots to a crash kernel it checks whether the image in memory
changed after load. This is done by the function kdump_csum_valid, which
returns true, i.e. an int != 0, on success and 0 otherwise. In other words
when kdump_csum_valid returns an error code it means that the validation
succeeded. This is not only counterintuitive but also produces the wrong
result if the kernel was build without CONFIG_CRASH_DUMP. Fix this by
making kdump_csum_valid return a bool.

Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com>
Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-10-18 14:11:16 +02:00
..
2012-05-16 14:42:41 +02:00
2015-06-25 09:39:26 +02:00
2011-01-05 12:47:31 +01:00
2017-03-28 16:54:31 +02:00
2017-10-16 08:19:26 +02:00
2017-06-20 15:44:15 -04:00
2017-10-09 11:15:36 +02:00
2016-08-29 11:05:01 +02:00
2015-03-25 11:49:33 +01:00
2017-10-09 11:16:49 +02:00
2016-08-07 23:47:20 -04:00
2017-02-08 14:13:25 +01:00
2015-03-25 11:49:33 +01:00
2017-09-28 07:29:40 +02:00
2017-10-09 11:15:36 +02:00
2016-02-11 13:05:56 +01:00
2017-06-12 16:26:02 +02:00