lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2cbc7cac-ac3c-e6ee-7a96-827b4df0adb9@rock-chips.com>
Date:   Tue, 10 Jan 2017 16:34:17 +0800
From:   Shawn Lin <shawn.lin@...k-chips.com>
To:     SF Markus Elfring <elfring@...rs.sourceforge.net>,
        linux-mmc@...r.kernel.org, Adrian Hunter <adrian.hunter@...el.com>,
        Harjani Ritesh <riteshh@...eaurora.org>,
        Jens Axboe <axboe@...com>,
        Linus Walleij <linus.walleij@...aro.org>,
        Mike Christie <mchristi@...hat.com>,
        Ulf Hansson <ulf.hansson@...aro.org>,
        Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc:     shawn.lin@...k-chips.com, LKML <linux-kernel@...r.kernel.org>,
        kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 5/8] mmc/core/mmc_test: Combine substrings for 5 messages

On 2017/1/9 5:47, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Sun, 8 Jan 2017 20:56:48 +0100
>
> The script "checkpatch.pl" pointed information out like the following.
>
> WARNING: quoted string split across lines
>

yup, the print shouldn't blindly split itself to shut up
"WARNING: line over 80 characters" . FWIW,

Reviewed-by: Shawn Lin <shawn.lin@...k-chips.com>

> Thus fix affected source code places.
>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
>  drivers/mmc/core/mmc_test.c | 15 +++++----------
>  1 file changed, 5 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/mmc/core/mmc_test.c b/drivers/mmc/core/mmc_test.c
> index 42aefd3df09b..bb9f569a5dd5 100644
> --- a/drivers/mmc/core/mmc_test.c
> +++ b/drivers/mmc/core/mmc_test.c
> @@ -277,8 +277,7 @@ static int mmc_test_wait_busy(struct mmc_test_card *test)
>  		if (!busy && mmc_test_busy(&cmd)) {
>  			busy = 1;
>  			if (test->card->host->caps & MMC_CAP_WAIT_WHILE_BUSY)
> -				pr_info("%s: Warning: Host did not "
> -					"wait for busy state to end.\n",
> +				pr_info("%s: Warning: Host did not wait for busy state to end.\n",
>  					mmc_hostname(test->card->host));
>  		}
>  	} while (mmc_test_busy(&cmd));
> @@ -2967,8 +2966,7 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase)
>  		if (mmc_test_cases[i].prepare) {
>  			ret = mmc_test_cases[i].prepare(test);
>  			if (ret) {
> -				pr_info("%s: Result: Prepare "
> -					"stage failed! (%d)\n",
> +				pr_info("%s: Result: Prepare stage failed! (%d)\n",
>  					mmc_hostname(test->card->host),
>  					ret);
>  				continue;
> @@ -3005,13 +3003,11 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase)
>  				mmc_hostname(test->card->host));
>  			break;
>  		case RESULT_UNSUP_HOST:
> -			pr_info("%s: Result: UNSUPPORTED "
> -				"(by host)\n",
> +			pr_info("%s: Result: UNSUPPORTED (by host)\n",
>  				mmc_hostname(test->card->host));
>  			break;
>  		case RESULT_UNSUP_CARD:
> -			pr_info("%s: Result: UNSUPPORTED "
> -				"(by card)\n",
> +			pr_info("%s: Result: UNSUPPORTED (by card)\n",
>  				mmc_hostname(test->card->host));
>  			break;
>  		default:
> @@ -3026,8 +3022,7 @@ static void mmc_test_run(struct mmc_test_card *test, int testcase)
>  		if (mmc_test_cases[i].cleanup) {
>  			ret = mmc_test_cases[i].cleanup(test);
>  			if (ret) {
> -				pr_info("%s: Warning: Cleanup "
> -					"stage failed! (%d)\n",
> +				pr_info("%s: Warning: Cleanup stage failed! (%d)\n",
>  					mmc_hostname(test->card->host),
>  					ret);
>  			}
>


-- 
Best Regards
Shawn Lin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ