* [PATCH -next] mmc: core: convert comma to semicolon
@ 2020-12-16 13:17 Zheng Yongjun
2021-01-19 13:42 ` Ulf Hansson
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Yongjun @ 2020-12-16 13:17 UTC (permalink / raw)
To: ulf.hansson, linux-mmc, linux-kernel; +Cc: Zheng Yongjun
Replace a comma between expression statements by a semicolon.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
drivers/mmc/core/core.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index d42037f0f10d..07c5f242f28a 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -547,10 +547,10 @@ int mmc_cqe_recovery(struct mmc_host *host)
host->cqe_ops->cqe_recovery_start(host);
memset(&cmd, 0, sizeof(cmd));
- cmd.opcode = MMC_STOP_TRANSMISSION,
- cmd.flags = MMC_RSP_R1B | MMC_CMD_AC,
+ cmd.opcode = MMC_STOP_TRANSMISSION;
+ cmd.flags = MMC_RSP_R1B | MMC_CMD_AC;
cmd.flags &= ~MMC_RSP_CRC; /* Ignore CRC */
- cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT,
+ cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT;
mmc_wait_for_cmd(host, &cmd, 0);
memset(&cmd, 0, sizeof(cmd));
@@ -558,7 +558,7 @@ int mmc_cqe_recovery(struct mmc_host *host)
cmd.arg = 1; /* Discard entire queue */
cmd.flags = MMC_RSP_R1B | MMC_CMD_AC;
cmd.flags &= ~MMC_RSP_CRC; /* Ignore CRC */
- cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT,
+ cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT;
err = mmc_wait_for_cmd(host, &cmd, 0);
host->cqe_ops->cqe_recovery_finish(host);
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] mmc: core: convert comma to semicolon
2020-12-16 13:17 [PATCH -next] mmc: core: convert comma to semicolon Zheng Yongjun
@ 2021-01-19 13:42 ` Ulf Hansson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2021-01-19 13:42 UTC (permalink / raw)
To: Zheng Yongjun; +Cc: linux-mmc, Linux Kernel Mailing List
On Wed, 16 Dec 2020 at 14:17, Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/core/core.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
> index d42037f0f10d..07c5f242f28a 100644
> --- a/drivers/mmc/core/core.c
> +++ b/drivers/mmc/core/core.c
> @@ -547,10 +547,10 @@ int mmc_cqe_recovery(struct mmc_host *host)
> host->cqe_ops->cqe_recovery_start(host);
>
> memset(&cmd, 0, sizeof(cmd));
> - cmd.opcode = MMC_STOP_TRANSMISSION,
> - cmd.flags = MMC_RSP_R1B | MMC_CMD_AC,
> + cmd.opcode = MMC_STOP_TRANSMISSION;
> + cmd.flags = MMC_RSP_R1B | MMC_CMD_AC;
> cmd.flags &= ~MMC_RSP_CRC; /* Ignore CRC */
> - cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT,
> + cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT;
> mmc_wait_for_cmd(host, &cmd, 0);
>
> memset(&cmd, 0, sizeof(cmd));
> @@ -558,7 +558,7 @@ int mmc_cqe_recovery(struct mmc_host *host)
> cmd.arg = 1; /* Discard entire queue */
> cmd.flags = MMC_RSP_R1B | MMC_CMD_AC;
> cmd.flags &= ~MMC_RSP_CRC; /* Ignore CRC */
> - cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT,
> + cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT;
> err = mmc_wait_for_cmd(host, &cmd, 0);
>
> host->cqe_ops->cqe_recovery_finish(host);
> --
> 2.22.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-20 0:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 13:17 [PATCH -next] mmc: core: convert comma to semicolon Zheng Yongjun
2021-01-19 13:42 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).