tracing: Put back comma for empty fields in boot string parsing
[cascardo/linux.git] / kernel / trace / trace.c
index 7fe7cc9..2198a63 100644 (file)
@@ -3636,10 +3636,9 @@ static void __init apply_trace_boot_options(void)
 
                if (!option)
                        break;
-               if (!*option)
-                       continue;
 
-               trace_set_options(&global_trace, option);
+               if (*option)
+                       trace_set_options(&global_trace, option);
 
                /* Put back the comma to allow this to be called again */
                if (buf)