Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-07-21 Thread Masahiro Yamada
Hi Stephen, 2017-07-21 2:52 GMT+09:00 Stephen Boyd : > On 07/20, Masahiro Yamada wrote: >> Hi Stephen, Rob, >> >> 2017-07-01 8:59 GMT+09:00 Rob Clark : >> > On Fri, Jun 30, 2017 at 6:58 PM, Stephen Boyd wrote: >> >> If we have a structure that's marked const it will be placed >> >> into the .rod

Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-07-20 Thread Stephen Boyd
On 07/20, Masahiro Yamada wrote: > Hi Stephen, Rob, > > 2017-07-01 8:59 GMT+09:00 Rob Clark : > > On Fri, Jun 30, 2017 at 6:58 PM, Stephen Boyd wrote: > >> If we have a structure that's marked const it will be placed > >> into the .rodata section but it could reference an init section > >> functi

Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-07-20 Thread Masahiro Yamada
Hi Stephen, Rob, 2017-07-01 8:59 GMT+09:00 Rob Clark : > On Fri, Jun 30, 2017 at 6:58 PM, Stephen Boyd wrote: >> If we have a structure that's marked const it will be placed >> into the .rodata section but it could reference an init section >> function. Include the read only data section in the c

Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-07-18 Thread Masahiro Yamada
2017-07-01 7:58 GMT+09:00 Stephen Boyd : > If we have a structure that's marked const it will be placed > into the .rodata section but it could reference an init section > function. Include the read only data section in the check we have > for read/write data sections referencing init sections so w

Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-07-01 Thread kbuild test robot
Hi Stephen, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc7 next-20170630] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/kbuild-modpost-Warn-about-r

Re: [PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-06-30 Thread Rob Clark
On Fri, Jun 30, 2017 at 6:58 PM, Stephen Boyd wrote: > If we have a structure that's marked const it will be placed > into the .rodata section but it could reference an init section > function. Include the read only data section in the check we have > for read/write data sections referencing init

[PATCH] kbuild: modpost: Warn about references from rodata to __init text

2017-06-30 Thread Stephen Boyd
If we have a structure that's marked const it will be placed into the .rodata section but it could reference an init section function. Include the read only data section in the check we have for read/write data sections referencing init sections so we can find this class of problems. This exposes q