Re: [PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-05 Thread Michal Marek
On 2017-01-05 10:33, Borislav Petkov wrote: > On Tue, Jan 03, 2017 at 03:14:54PM +0100, Michal Marek wrote: >> During real build, this manifests itself by genksyms segfaulting. >> >> Reported-by: Borislav Petkov > > ... -and-tested-by: ... > > For all three. > > Thanks! Thanks

Re: [PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-05 Thread Michal Marek
On 2017-01-05 10:33, Borislav Petkov wrote: > On Tue, Jan 03, 2017 at 03:14:54PM +0100, Michal Marek wrote: >> During real build, this manifests itself by genksyms segfaulting. >> >> Reported-by: Borislav Petkov > > ... -and-tested-by: ... > > For all three. > > Thanks! Thanks for testing. I

Re: [PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-05 Thread Borislav Petkov
On Tue, Jan 03, 2017 at 03:14:54PM +0100, Michal Marek wrote: > The asm-prototypes.h file is used to provide dummy function declarations > for genksyms, when processing asm files with EXPORT_SYMBOL. Make sure > that any architecture defines get out of our way. x86 currently has an > issue with

Re: [PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-05 Thread Borislav Petkov
On Tue, Jan 03, 2017 at 03:14:54PM +0100, Michal Marek wrote: > The asm-prototypes.h file is used to provide dummy function declarations > for genksyms, when processing asm files with EXPORT_SYMBOL. Make sure > that any architecture defines get out of our way. x86 currently has an > issue with

[PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-03 Thread Michal Marek
The asm-prototypes.h file is used to provide dummy function declarations for genksyms, when processing asm files with EXPORT_SYMBOL. Make sure that any architecture defines get out of our way. x86 currently has an issue with memcpy on 64bit with CONFIG_KMEMCHECK=y and with memset/__memset on

[PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-03 Thread Michal Marek
The asm-prototypes.h file is used to provide dummy function declarations for genksyms, when processing asm files with EXPORT_SYMBOL. Make sure that any architecture defines get out of our way. x86 currently has an issue with memcpy on 64bit with CONFIG_KMEMCHECK=y and with memset/__memset on