[PATCH 1/2] kobject: Export kobject_set_name_vargs() symbol
From: Vasily Gorbik
Date: Tue Aug 13 2024 - 06:43:02 EST
The net/iucv module requires the kobject_set_name_vargs() function to
set kobject names dynamically based on variable arguments. Export the
kobject_set_name_vargs() symbol, allowing the net/iucv module and other
potential modules to use this utility function.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202408091131.ATGn6YSh-lkp@xxxxxxxxx/
Signed-off-by: Vasily Gorbik <gor@xxxxxxxxxxxxx>
---
lib/kobject.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/kobject.c b/lib/kobject.c
index 72fa20f405f1..96caa8bfdc40 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -295,6 +295,7 @@ int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
return 0;
}
+EXPORT_SYMBOL(kobject_set_name_vargs);
/**
* kobject_set_name() - Set the name of a kobject.
--
2.41.0