mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
5af2e30d9a
commit
b06ca88cd4
+1
-1
@@ -21,7 +21,7 @@ void kdump_failed(unsigned long reason)
|
||||
panic(reason, "Dump failed: Check disabled wait code");
|
||||
}
|
||||
|
||||
void kdump_os_info_check(struct os_info *os_info)
|
||||
void kdump_os_info_check(const struct os_info *os_info)
|
||||
{
|
||||
if (os_info == NULL)
|
||||
kdump_failed(EOS_INFO_MISSING);
|
||||
|
||||
Reference in New Issue
Block a user