kernel/capability.c:388:5: warning: "CONFIG_VE" is not defined,
evaluates to 0

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

Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <[email protected]>
---
 kernel/capability.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/capability.c b/kernel/capability.c
index 9615498e637d..e507c62d8660 100644
--- a/kernel/capability.c
+++ b/kernel/capability.c
@@ -385,7 +385,7 @@ bool ns_capable(struct user_namespace *ns, int cap)
 }
 EXPORT_SYMBOL(ns_capable);
 
-#if CONFIG_VE
+#ifdef CONFIG_VE
 bool ve_capable(int cap)
 {
        struct cred *cred;
-- 
2.47.1

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to