All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] mmc: Remove unneeded semicolon
@ 2022-11-23  2:12 Yang Li
  2022-11-29 12:54 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2022-11-23  2:12 UTC (permalink / raw)
  To: tonyhuang.sunplus
  Cc: lhjeff911, ulf.hansson, linux-mmc, linux-kernel, Yang Li, Abaci Robot

./drivers/mmc/host/sunplus-mmc.c:321:2-3: Unneeded semicolon

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3238
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/mmc/host/sunplus-mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sunplus-mmc.c b/drivers/mmc/host/sunplus-mmc.c
index 5c36daf09bfb..db5e0dcdfa7f 100644
--- a/drivers/mmc/host/sunplus-mmc.c
+++ b/drivers/mmc/host/sunplus-mmc.c
@@ -318,7 +318,7 @@ static void spmmc_set_bus_width(struct spmmc_host *host, int width)
 		value &= ~SPMMC_SD_DATA_WD;
 		value &= ~SPMMC_MMC8_EN;
 		break;
-	};
+	}
 	writel(value, host->base + SPMMC_SD_CONFIG0_REG);
 }
 
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] mmc: Remove unneeded semicolon
  2022-11-23  2:12 [PATCH -next] mmc: Remove unneeded semicolon Yang Li
@ 2022-11-29 12:54 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2022-11-29 12:54 UTC (permalink / raw)
  To: Yang Li
  Cc: tonyhuang.sunplus, lhjeff911, linux-mmc, linux-kernel, Abaci Robot

On Wed, 23 Nov 2022 at 03:12, Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> ./drivers/mmc/host/sunplus-mmc.c:321:2-3: Unneeded semicolon
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3238
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/sunplus-mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sunplus-mmc.c b/drivers/mmc/host/sunplus-mmc.c
> index 5c36daf09bfb..db5e0dcdfa7f 100644
> --- a/drivers/mmc/host/sunplus-mmc.c
> +++ b/drivers/mmc/host/sunplus-mmc.c
> @@ -318,7 +318,7 @@ static void spmmc_set_bus_width(struct spmmc_host *host, int width)
>                 value &= ~SPMMC_SD_DATA_WD;
>                 value &= ~SPMMC_MMC8_EN;
>                 break;
> -       };
> +       }
>         writel(value, host->base + SPMMC_SD_CONFIG0_REG);
>  }
>
> --
> 2.20.1.7.g153144c
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-29 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23  2:12 [PATCH -next] mmc: Remove unneeded semicolon Yang Li
2022-11-29 12:54 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.