Re: [PATCH v2 5/5] asm-generic: fix build error in fix_to_virt with CONFIG_DEBUG_EXPERIENCE

2018-05-03 Thread weylin
Dear kernel devs, After configuring for 2 hours settings, faced below on making : cc1: error: /usr/src/linux-next-master/arch/x86/crypto/serpent-sse2-x86_64-asm_64.S: Input/output error Thank you for your attantion to config matter last days, It is really physically  hard every time sort so

Re: [PATCH v2 5/5] asm-generic: fix build error in fix_to_virt with CONFIG_DEBUG_EXPERIENCE

2018-05-03 Thread Steven Rostedt
On Thu, 3 May 2018 21:25:08 +0800 "Du, Changbin" wrote: > I think fix_to_virt() is designed for constant idx only. So I think we should > fix it at the caller side by replacing it with __fix_to_virt(). > > --- a/arch/arm/mm/mmu.c > +++ b/arch/arm/mm/mmu.c > @@ -1599,7 +1599,7 @@ static void __in

Re: [PATCH v2 5/5] asm-generic: fix build error in fix_to_virt with CONFIG_DEBUG_EXPERIENCE

2018-05-03 Thread Du, Changbin
On Wed, May 02, 2018 at 10:19:30AM -0400, Steven Rostedt wrote: > On Wed, 2 May 2018 21:45:00 +0800 > changbin...@intel.com wrote: > > > From: Changbin Du > > > > With '-Og' optimization level, GCC would not optimize a count for a loop > > as a constant value. But BUILD_BUG_ON() only accept com

Re: [PATCH v2 5/5] asm-generic: fix build error in fix_to_virt with CONFIG_DEBUG_EXPERIENCE

2018-05-02 Thread Steven Rostedt
On Wed, 2 May 2018 21:45:00 +0800 changbin...@intel.com wrote: > From: Changbin Du > > With '-Og' optimization level, GCC would not optimize a count for a loop > as a constant value. But BUILD_BUG_ON() only accept compile-time constant > values. > > arch/arm/mm/mmu.o: In function `fix_to_virt'

[PATCH v2 5/5] asm-generic: fix build error in fix_to_virt with CONFIG_DEBUG_EXPERIENCE

2018-05-02 Thread changbin . du
From: Changbin Du With '-Og' optimization level, GCC would not optimize a count for a loop as a constant value. But BUILD_BUG_ON() only accept compile-time constant values. arch/arm/mm/mmu.o: In function `fix_to_virt': /home/changbin/work/linux/./include/asm-generic/fixmap.h:31: undefined refer