Hi "Daniel,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on next-20200519]
[cannot apply to linus/master linux/master v5.7-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Daniel-W-S-Almeida/media-vidtv-i...
base:
git://linuxtv.org/media_tree.git master
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> arch/x86/mm/init_32.c:872:6: warning: no previous prototype for
'mark_rodata_ro' [-Wmissing-prototypes]
void mark_rodata_ro(void)
^~~~~~~~~~~~~~
vim +/mark_rodata_ro +872 arch/x86/mm/init_32.c
5bd5a452662bc37 arch/x86/mm/init_32.c Matthieu CASTET 2010-11-16 871
63aaf3086baea7b arch/i386/mm/init.c Arjan van de Ven 2006-01-06 @872 void
mark_rodata_ro(void)
63aaf3086baea7b arch/i386/mm/init.c Arjan van de Ven 2006-01-06 873 {
6fb14755a676282 arch/i386/mm/init.c Jan Beulich 2007-05-02 874 unsigned long
start = PFN_ALIGN(_text);
2a25dc7c79c92c6 arch/x86/mm/init_32.c Thomas Gleixner 2018-09-17 875 unsigned long
size = (unsigned long)__end_rodata - start;
63aaf3086baea7b arch/i386/mm/init.c Arjan van de Ven 2006-01-06 876
6d238cc4dc8a36a arch/x86/mm/init_32.c Arjan van de Ven 2008-01-30 877
set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT);
2a25dc7c79c92c6 arch/x86/mm/init_32.c Thomas Gleixner 2018-09-17 878
pr_info("Write protecting kernel text and read-only data: %luk\n",
d7d119d777d7ed2 arch/x86/mm/init_32.c Ingo Molnar 2008-01-30 879 size >>
10);
0c42f392767d359 arch/x86/mm/init_32.c Andi Kleen 2008-01-30 880
16239630974516a arch/x86/mm/init_32.c Steven Rostedt 2009-02-17 881
kernel_set_to_readonly = 1;
16239630974516a arch/x86/mm/init_32.c Steven Rostedt 2009-02-17 882
:::::: The code at line 872 was first introduced by commit
:::::: 63aaf3086baea7b94c218053af8237f9dbac5d05 [PATCH] x86/x86_64: mark rodata section
read only: x86 parts
:::::: TO: Arjan van de Ven <arjan(a)infradead.org>
:::::: CC: Linus Torvalds <torvalds(a)g5.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org