From: Stephen Zhang Date: Sat, 23 Jan 2021 08:34:01 +0000 (+0800) Subject: torture: Replace torture_init_begin string with %s X-Git-Tag: accepted/tizen/unified/20230118.172025~7363^2^2^9~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ac9de07b24f93a87ad38c497ad00fe2451203e7;p=platform%2Fkernel%2Flinux-rpi.git torture: Replace torture_init_begin string with %s This commit replaces a hard-coded "torture_init_begin" string in a pr_alert() format with "%s" and __func__. Signed-off-by: Stephen Zhang Signed-off-by: Paul E. McKenney --- diff --git a/kernel/torture.c b/kernel/torture.c index 01e336f..0a315c3 100644 --- a/kernel/torture.c +++ b/kernel/torture.c @@ -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; }