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
@@ -17,7 +17,7 @@
|
||||
|
||||
#define OS_INFO_VERSION_MAJOR_SUPPORTED 1
|
||||
|
||||
void kdump_os_info_check(struct os_info *os_info);
|
||||
void kdump_os_info_check(const struct os_info *os_info);
|
||||
void kdump_failed(unsigned long reason);
|
||||
|
||||
#endif /* KDUMP_H */
|
||||
|
||||
Reference in New Issue
Block a user