Re: [PATCH 05/11] kexec_file: Use read-only sections in arch_kexec_apply_relocations*

2018-02-28 Thread kbuild test robot
Hi Philipp, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc3 next-20180228] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 05/11] kexec_file: Use read-only sections in arch_kexec_apply_relocations*

2018-02-28 Thread kbuild test robot
Hi Philipp, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc3 next-20180228] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 05/11] kexec_file: Use read-only sections in arch_kexec_apply_relocations*

2018-02-28 Thread kbuild test robot
Hi Philipp, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc3 next-20180228] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 05/11] kexec_file: Use read-only sections in arch_kexec_apply_relocations*

2018-02-28 Thread kbuild test robot
Hi Philipp, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc3 next-20180228] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 05/11] kexec_file: Use read-only sections in arch_kexec_apply_relocations*

2018-02-26 Thread Philipp Rudo
When the relocations are applied to the purgatory only the section the relocations are applied to is writable. The other sections, i.e. the symtab and .rel/.rela, are in read-only kexec_purgatory. Highlight this by marking the corresponding variables as 'const'. While at it also change the

[PATCH 05/11] kexec_file: Use read-only sections in arch_kexec_apply_relocations*

2018-02-26 Thread Philipp Rudo
When the relocations are applied to the purgatory only the section the relocations are applied to is writable. The other sections, i.e. the symtab and .rel/.rela, are in read-only kexec_purgatory. Highlight this by marking the corresponding variables as 'const'. While at it also change the