lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251113194426.7ca77cf4@gandalf.local.home>
Date: Thu, 13 Nov 2025 19:44:26 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Gabriele Monaco <gmonaco@...hat.com>, Thomas Weißschuh <thomas.weissschuh@...utronix.de>, John Kacur
 <jkacur@...hat.com>
Subject: [for-next][PATCH] rv: Fix compilation if !CONFIG_RV_REACTORS


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
latency/for-next

Head SHA1: 043cb05c3dedac4c52c00f368c734665740954b0


Gabriele Monaco (1):
      rv: Fix compilation if !CONFIG_RV_REACTORS

----
 include/rv/ltl_monitor.h | 5 -----
 1 file changed, 5 deletions(-)
---------------------------
commit 043cb05c3dedac4c52c00f368c734665740954b0
Author: Gabriele Monaco <gmonaco@...hat.com>
Date:   Thu Nov 13 16:06:18 2025 +0100

    rv: Fix compilation if !CONFIG_RV_REACTORS
    
    The kernel test robot spotted a compilation error if reactors are
    disabled.
    
    Fix the warning by keeping LTL monitor variable as always static.
    
    Cc: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
    Link: https://patch.msgid.link/20251113150618.185479-2-gmonaco@redhat.com
    Reported-by: kernel test robot <lkp@...el.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202511131948.vxi5mdjU-lkp@intel.com/
    Fixes: 4f739ed19d22 ("rv: Pass va_list to reactors")
    Signed-off-by: Gabriele Monaco <gmonaco@...hat.com>
    Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>

diff --git a/include/rv/ltl_monitor.h b/include/rv/ltl_monitor.h
index 00c42b36f961..eff60cd61106 100644
--- a/include/rv/ltl_monitor.h
+++ b/include/rv/ltl_monitor.h
@@ -17,12 +17,7 @@
 #endif
 
 #define RV_MONITOR_NAME CONCATENATE(rv_, MONITOR_NAME)
-
-#ifdef CONFIG_RV_REACTORS
 static struct rv_monitor RV_MONITOR_NAME;
-#else
-extern struct rv_monitor RV_MONITOR_NAME;
-#endif
 
 static int ltl_monitor_slot = RV_PER_TASK_MONITOR_INIT;
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ