Commit 7200449d authored by Markus Elfring's avatar Markus Elfring Committed by Ulf Hansson

mmc: mmc_test: Combine substrings for 5 messages

The script "checkpatch.pl" pointed information out like the following.

WARNING: quoted string split across lines

Thus fix affected source code places.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent fda02ea8
...@@ -277,8 +277,7 @@ static int mmc_test_wait_busy(struct mmc_test_card *test) ...@@ -277,8 +277,7 @@ static int mmc_test_wait_busy(struct mmc_test_card *test)
if (!busy && mmc_test_busy(&cmd)) { if (!busy && mmc_test_busy(&cmd)) {
busy = 1; busy = 1;
if (test->card->host->caps & MMC_CAP_WAIT_WHILE_BUSY) if (test->card->host->caps & MMC_CAP_WAIT_WHILE_BUSY)
pr_info("%s: Warning: Host did not " pr_info("%s: Warning: Host did not wait for busy state to end.\n",
"wait for busy state to end.\n",
mmc_hostname(test->card->host)); mmc_hostname(test->card->host));
} }
} while (mmc_test_busy(&cmd)); } while (mmc_test_busy(&cmd));
...@@ -2967,8 +2966,7 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase) ...@@ -2967,8 +2966,7 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase)
if (mmc_test_cases[i].prepare) { if (mmc_test_cases[i].prepare) {
ret = mmc_test_cases[i].prepare(test); ret = mmc_test_cases[i].prepare(test);
if (ret) { if (ret) {
pr_info("%s: Result: Prepare " pr_info("%s: Result: Prepare stage failed! (%d)\n",
"stage failed! (%d)\n",
mmc_hostname(test->card->host), mmc_hostname(test->card->host),
ret); ret);
continue; continue;
...@@ -3005,13 +3003,11 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase) ...@@ -3005,13 +3003,11 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase)
mmc_hostname(test->card->host)); mmc_hostname(test->card->host));
break; break;
case RESULT_UNSUP_HOST: case RESULT_UNSUP_HOST:
pr_info("%s: Result: UNSUPPORTED " pr_info("%s: Result: UNSUPPORTED (by host)\n",
"(by host)\n",
mmc_hostname(test->card->host)); mmc_hostname(test->card->host));
break; break;
case RESULT_UNSUP_CARD: case RESULT_UNSUP_CARD:
pr_info("%s: Result: UNSUPPORTED " pr_info("%s: Result: UNSUPPORTED (by card)\n",
"(by card)\n",
mmc_hostname(test->card->host)); mmc_hostname(test->card->host));
break; break;
default: default:
...@@ -3026,8 +3022,7 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase) ...@@ -3026,8 +3022,7 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase)
if (mmc_test_cases[i].cleanup) { if (mmc_test_cases[i].cleanup) {
ret = mmc_test_cases[i].cleanup(test); ret = mmc_test_cases[i].cleanup(test);
if (ret) { if (ret) {
pr_info("%s: Warning: Cleanup " pr_info("%s: Warning: Cleanup stage failed! (%d)\n",
"stage failed! (%d)\n",
mmc_hostname(test->card->host), mmc_hostname(test->card->host),
ret); ret);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment