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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 sort out menu again. If it would ppossible to have standard -- Conservative Unix style secure / paranoid choice alongwith -- allyesconfig .


Thank you !


On 05/03/2018 02:19 PM, Steven Rostedt wrote:
On Thu, 3 May 2018 21:25:08 +0800
"Du, Changbin" <changbin.du@xxxxxxxxx> 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 __init early_fixmap_shutdown(void)
                 pte_t *pte;
                 struct map_desc map;

-               map.virtual = fix_to_virt(i);
+               map.virtual = __fix_to_virt(i);
                 pte = pte_offset_early_fixmap(pmd_off_k(map.virtual), map.virtual);
That's a better solution than the current patch.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux