linux-next: build failure after merge of the akpm-current tree
Subsystems (2)
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (arm64 allnoconfig and others) failed like this:
arch/arm64/mm/mmap.c:54:1: error: unknown type name 'ifdef' arch/arm64/mm/mmap.c:55:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if' arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if' arch/arm64/mm/mmap.c:58:2: error: #endif without #if
Caused by commit
2e4614190421 ("arm64-mm-support-arch_mmap_rnd_bits-v4")
An obvious typo :-(
I will add the missing '#' tomorrow if it si not fixed by then.
Reported by Mark's build bot.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Hi Andrew,
Quoted 11 lines · On Tue, 8 Dec 2015 21:51:40 +1100 Stephen Rothwell <[email protected]> wrote:
After merging the akpm-current tree, today's linux-next build (arm64 allnoconfig and others) failed like this:
arch/arm64/mm/mmap.c:54:1: error: unknown type name 'ifdef'arch/arm64/mm/mmap.c:55:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'arch/arm64/mm/mmap.c:58:2: error: #endif without #ifCaused by commit
Quoted 7 lines
2e4614190421("arm64-mm-support-arch_mmap_rnd_bits-v4")An obvious typo :-(
I will add the missing '#' tomorrow if it si not fixed by then.
Reported by Mark's build bot.
I have added this commit for today:
From: Stephen Rothwell <[email protected]>
Date: Wed, 9 Dec 2015 10:00:16 +1100
Subject: [PATCH] arm64-mm-support-arch_mmap_rnd_bits-v4-fix
--- arch/arm64/mm/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/mm/mmap.c +1 -1
@@ -51,7 +51,7 @@ unsigned long arch_mmap_rnd(void) {unsigned long rnd; -ifdef CONFIG_COMPAT +#ifdef CONFIG_COMPAT if (test_thread_flag (TIF_32BIT )) rnd = (unsigned long )get_random_int () % (1 << mmap_rnd_compat_bits);else
Signature · 5 lines
2.6.2 -- Cheers, Stephen Rothwell [email protected]