The commit is pushed to "branch-rh9-5.14.0-427.77.1.vz9.86.x-ovz" and will 
appear at [email protected]:openvz/vzkernel.git
after rh9-5.14.0-427.77.1.vz9.86.14
------>
commit 72610929d8c0027c8768434d6abf3b75513f044b
Author: Pavel Tikhomirov <[email protected]>
Date:   Tue Oct 7 16:50:25 2025 +0800

    ve/printk: fix va_copy usage in ve_vprintk()
    
    According to man va_start(3):
    
      Each invocation of va_copy() must be matched by a corresponding
      invocation of va_end() in the same function.
    
    So let's add it to our ve_vprintk() helper.
    
    Fixes: ed230894fb5a6 ("ve/printk: Introduce ve_printk()")
    
    https://virtuozzo.atlassian.net/browse/VSTOR-106826
    Signed-off-by: Pavel Tikhomirov <[email protected]>
    
    Feature: printk: per-CT virtualization
---
 kernel/printk/printk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 8f41f551834ae..e8003de1cc9b0 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -2573,6 +2573,7 @@ asmlinkage int ve_vprintk(int dst, const char *fmt, 
va_list args)
                r = vprintk(fmt, args);
        if (!ve_is_super(get_exec_env()) && (dst & VE_LOG))
                r = __vprintk(fmt, args2);
+       va_end(args2);
 
        return r;
 }
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to