Skip to contentSkip to conversation

Revert "cobalt/assert: pipeline: add TODO() marker"

PATCH Applied Hongzhan Chen 2 participants 2 messages Dec 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "cobalt/assert: pipeline: add TODO() marker"

This reverts commit 5c9cbcfce83083d9ea280f3b9143525cacfecfc8.

We revert this because we fixed all related TODOs.

include/cobalt/kernel/assert.h +0 -2
index abe044100..98218ce6c 100644
@@ -55,8 +55,6 @@
 	do { } while (0)
 #endif
 
-#define TODO()    BUILD_BUG_ON(IS_ENABLED(CONFIG_XENO_TODO))
-
 #define primary_mode_only()	XENO_BUG_ON(CONTEXT, is_secondary_domain())
 #define secondary_mode_only()	XENO_BUG_ON(CONTEXT, !is_secondary_domain())
 #define interrupt_only()	XENO_BUG_ON(CONTEXT, !xnsched_interrupt_p())
kernel/cobalt/Kconfig +0 -6
index 88953ff24..3233de1b1 100644
@@ -487,9 +487,3 @@ config XENO_OPT_WATCHDOG_TIMEOUT
 	  Watchdog timeout value (in seconds).
 
 endif # XENO_OPT_DEBUG
-
-config XENO_TODO
-	bool "Reveal TODO places"
-	help
-	  This option causes a build time assertion to trigger
-	  when the TODO() marker is found in the compiled code.
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 25 lines · Hongzhan Chen via Xenomai

This reverts commit 5c9cbcfce83083d9ea280f3b9143525cacfecfc8.

We revert this because we fixed all related TODOs.

include/cobalt/kernel/assert.h +0 -2
index abe044100..98218ce6c 100644
@@ -55,8 +55,6 @@
 	do { } while (0)
 #endif
 
-#define TODO()    BUILD_BUG_ON(IS_ENABLED(CONFIG_XENO_TODO))
-
 #define primary_mode_only()	XENO_BUG_ON(CONTEXT, is_secondary_domain())
 #define secondary_mode_only()	XENO_BUG_ON(CONTEXT, !is_secondary_domain())
 #define interrupt_only()	XENO_BUG_ON(CONTEXT, !xnsched_interrupt_p())
kernel/cobalt/Kconfig +0 -0
index 88953ff24..3233de1b1 100644

kernel/cobalt/Kconfig config XENO_OPT_WATCHDOG_TIMEOUT · line 495

Quoted 9 lines
kernel/cobalt/Kconfig +0 -6
@@ -487,9 +487,3 @@ config XENO_OPT_WATCHDOG_TIMEOUT
 	  Watchdog timeout value (in seconds).
 
 endif # XENO_OPT_DEBUG
-
-config XENO_TODO
-	bool "Reveal TODO places"
-	help
-	  This option causes a build time assertion to trigger
-	  when the TODO() marker is found in the compiled code.

thanks, applied

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux