Skip to contentSkip to conversation

linux-next: build failure after merge of the akpm-current tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 20, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

[also reported by the kernelci.org bot]

After merging the akpm-current tree, today's linux-next build (microblaze nommu_defconfig and serveral others) failed like this:

mm/nommu.c: In function '__vmalloc_node_range':
mm/nommu.c:158:25: error: 'flags' undeclared (first use in this function)

  return __vmalloc(size, flags);
                         ^
mm/nommu.c: In function '__vmalloc_node':
mm/nommu.c:164:25: error: 'flags' undeclared (first use in this function)
  return __vmalloc(size, flags);
                         ^

Caused by commits

be950c0b6fb2 ("mm: remove __vmalloc_node_flags_caller") a18681b211ea ("mm: remove vmalloc_user_node_flags")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Andrew,

can you fold in these two fixes into the original patches?

mm/nommu.c +2 -2
index d32ab47b58a9..371697bf372d 100644
@@ -155,13 +155,13 @@ void *__vmalloc_node_range(unsigned long size, unsigned long align,
 		pgprot_t prot, unsigned long vm_flags, int node,
 		const void *caller)
 {
-	return __vmalloc(size, gfp);
+	return __vmalloc(size, gfp_mask);
 }
 
 void *__vmalloc_node(unsigned long size, unsigned long align, gfp_t gfp_mask,
 		int node, const void *caller)
 {
-	return __vmalloc(size, gfp);
+	return __vmalloc(size, gfp_mask);
 }
 
 static void *__vmalloc_user_flags(unsigned long size, gfp_t flags)