zipl/boot: Make kdump_os_info_check() argument a const.

Make 'struct os_info *os_info' a const to ensure/indicate that no changes
are made to the given structure.

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Mikhail Zaslonko
2023-06-14 19:13:24 +02:00
committed by Jan Höppner
parent 5af2e30d9a
commit b06ca88cd4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
*/
void kdump_stage2(unsigned long config_nr)
{
struct os_info *os_info = (struct os_info *)S390_lowcore.os_info;
const struct os_info *os_info = (struct os_info *)S390_lowcore.os_info;
unsigned long crash_size;
void *crash_base;