torture: replace the function name with %s
PATCH 1/1 torture: replace the function name with %s
Better to replace the function name with %s.
Signed-off-by Stephen Zhang <[email protected]>
--- kernel/torture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/torture.c +3 -3
@@ -816,9 +816,9 @@ bool torture_init_begin(char *ttype, int v) {mutex_lock (&fullstop_mutex);if (torture_type !=NULL ) { -pr_alert ("torture_init_begin: Refusing %s init: %s running.\n" , - ttype, torture_type); -pr_alert ("torture_init_begin: One torture test at a time!\n" ); +pr_alert ("%s: Refusing %s init: %s running.\n" , + __func__, ttype, torture_type); +pr_alert ("%s: One torture test at a time!\n" , __func__);mutex_unlock (&fullstop_mutex);return false; }
Signature · 1 line
1.8.3.1