Skip to contentSkip to conversation

linux-next: build failure after merge of the xarray tree

PATCH Stephen Rothwell 2 participants 2 messages Oct 8, 2020

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

Hi all,

After merging the xarray tree, today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: modpost: "xa_delete_node" [lib/test_xarray.ko] undefined!

Caused by commit

e95150e70fe1 ("XArray: Add private interface for workingset node deletion")

I have added the following hack for today:

From: Stephen Rothwell <[email protected]>
Date: Thu, 8 Oct 2020 17:52:11 +1100
Subject: [PATCH] XArray: export xa_delete_node()

---
 lib/xarray.c | 1 +
 1 file changed, 1 insertion(+)
lib/xarray.c +1 -0
index 3f0b143bfdcd..be9166b45db3 100644
@@ -1993,6 +1993,7 @@ void xa_delete_node(struct xa_node *node, xa_update_node_t update)
 
 	xas_store(&xas, NULL);
 }
+EXPORT_SYMBOL(xa_delete_node);
 
 /**
  * xa_destroy() - Free all internal data structures.
Signature · 5 lines
2.28.0

-- 
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 2 lines · Stephen Rothwell

After merging the xarray tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Thanks, fixed both problems.