Re: [PATCH] x86/KASLR: use the right memcpy

2017-05-30 Thread Baoquan He
On 05/30/17 at 04:24pm, Arnd Bergmann wrote: > On Tue, May 30, 2017 at 3:56 PM, Baoquan He wrote: > > On 05/30/17 at 11:14am, Arnd Bergmann wrote: > >> The decompressor has its own implementation of the string functions, > >> but has to include the right header to get those, while implicitly > >>

Re: [PATCH] x86/KASLR: use the right memcpy

2017-05-30 Thread Arnd Bergmann
On Tue, May 30, 2017 at 3:56 PM, Baoquan He wrote: > On 05/30/17 at 11:14am, Arnd Bergmann wrote: >> The decompressor has its own implementation of the string functions, >> but has to include the right header to get those, while implicitly >> including linux/string.h may result in a link error: >>

Re: [PATCH] x86/KASLR: use the right memcpy

2017-05-30 Thread Baoquan He
On 05/30/17 at 11:14am, Arnd Bergmann wrote: > The decompressor has its own implementation of the string functions, > but has to include the right header to get those, while implicitly > including linux/string.h may result in a link error: > > arch/x86/boot/compressed/kaslr.o: In function `choose_