[PATCH 4/6] kexec_file: Adjust declaration of kexec_purgatory

2017-06-05 Thread Kees Cook
Defining kexec_purgatory as a zero-length char array upsets compile time size checking. Since this is built on a per-arch basis, define it as an unsized char array (like is done for other similar things, e.g. linker sections). This silences the warning generated by the future

[PATCH 4/6] kexec_file: Adjust declaration of kexec_purgatory

2017-06-05 Thread Kees Cook
Defining kexec_purgatory as a zero-length char array upsets compile time size checking. Since this is built on a per-arch basis, define it as an unsized char array (like is done for other similar things, e.g. linker sections). This silences the warning generated by the future