The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will 
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.12.vz10
------>
commit 4cc6d528832c3e5fd3fb71cdd54870822a615c85
Author: Konstantin Khorenko <[email protected]>
Date:   Mon Mar 23 21:31:28 2026 +0100

    selftests/mqueue: fix -Wunused-variable warning for 'usage' in mq_open_tests
    
      mq_open_tests.c:38:14: warning: 'usage' defined but not used 
[-Wunused-variable]
         38 | static char *usage =
            |              ^~~~~
    
    Mark 'usage' with __attribute__((unused)) to fix the warning.
    The variable is kept for documentation purposes.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-127529
    Signed-off-by: Konstantin Khorenko <[email protected]>
    Reviewed-by: Vasileios Almpanis <[email protected]>
    
    Feature: fix selftests
---
 tools/testing/selftests/mqueue/mq_open_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/mqueue/mq_open_tests.c 
b/tools/testing/selftests/mqueue/mq_open_tests.c
index 9403ac01ba11d..989b9b5d8ee56 100644
--- a/tools/testing/selftests/mqueue/mq_open_tests.c
+++ b/tools/testing/selftests/mqueue/mq_open_tests.c
@@ -35,7 +35,7 @@
 
 #include "../kselftest.h"
 
-static char *usage =
+static char __attribute__((unused)) *usage =
 "Usage:\n"
 "  %s path\n"
 "\n"
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to