[Devel] [PATCH VZ10 v4 22/44] fixup! ve/umh: introduce per-container user mode helper macroses and functions

Vladimir Riabchun vladimir.riabchun at virtuozzo.com
Wed Jun 3 00:10:40 MSK 2026


Fix compilation error:
./include/linux/umh.h:64:36: error: pasting "(" and "argv"
does not give a valid preprocessing token: fix vararg expansion

https://virtuozzo.atlassian.net/browse/VSTOR-130116

Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
---
 include/linux/umh.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/umh.h b/include/linux/umh.h
index 35fc4023df74..a71a5e4434fb 100644
--- a/include/linux/umh.h
+++ b/include/linux/umh.h
@@ -61,10 +61,10 @@ extern void wait_khelpers(struct ve_struct *ve);
 #else /* CONFIG_VE */
 
 #define call_usermodehelper_ve(ve, ...)		\
-		call_usermodehelper(##__VA_ARGS__)
+		call_usermodehelper(__VA_ARGS__)
 
 #define call_usermodehelper_exec_ve(ve, ...)	\
-		call_usermodehelper_exec_ve(##__VA_ARGS__)
+		call_usermodehelper_exec(__VA_ARGS__)
 
 #endif /* CONFIG_VE */
 
-- 
2.47.1



More information about the Devel mailing list