Skip to contentSkip to conversation

xen/drivers: char: Match #if DEBUG_TRACE_DUMP and #endif comment

PATCH In review Julien Grall 2 participants 3 messages Mar 19, 2019 – Mar 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/drivers: char: Match #if DEBUG_TRACE_DUMP and #endif comment

---
 xen/drivers/char/console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/drivers/char/console.c +1 -1
index f41b689847..61695d967e 100644
@@ -1320,7 +1320,7 @@ static int __init debugtrace_init(void)
 }
 __initcall(debugtrace_init);
 
-#endif /* !NDEBUG */
+#endif /* !DEBUG_TRACE_DUMP */
 
 
 /*
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw

xen/drivers/char/console.c static int __init debugtrace_init(void) · line 1323

Quoted 9 lines
Quoted 1 line
Quoted 1 line

Julien Grall <[email protected]> 03/20/19 12:19 AM >>>

xen/drivers/char/console.c +1 -1
@@ -1320,7 +1320,7 @@ static int __init debugtrace_init(void)
 }
 __initcall(debugtrace_init);
 
-#endif /* !NDEBUG */
+#endif /* !DEBUG_TRACE_DUMP */

But it's CONFIG_DEBUG_TRACE now, isn't it? With this adjusted

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw

Hi,

Quoted 11 lines · Jan Beulich

xen/drivers/char/console.c static int __init debugtrace_init(void) · line 1323

Quoted 9 lines
Quoted 1 line
Quoted 1 line

Julien Grall <[email protected]> 03/20/19 12:19 AM >>>

xen/drivers/char/console.c +1 -1
@@ -1320,7 +1320,7 @@ static int __init debugtrace_init(void)
 }
 __initcall(debugtrace_init);
 
-#endif /* !NDEBUG */
+#endif /* !DEBUG_TRACE_DUMP */

But it's CONFIG_DEBUG_TRACE now, isn't it? With this adjusted

Hmm yes. I wrote this patch a few weeks ago and didn't check properly staging.

Quoted 1 line

Thank you! I have updated the patch and committed.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel