2018-05-10 02:58:19

by Sean Wang

[permalink] [raw]
Subject: [PATCH] soc: mediatek: remove unneeded semicolon

From: Sean Wang <[email protected]>

Fix up drivers/soc/mediatek/mtk-scpsys.c:255:2-3: Unneeded semicolon
accidently being added in commit f9e2f65dd561 ("soc: mediatek: add a
fixed wait for SRAM stable").

Fixes: f9e2f65dd561 ("soc: mediatek: add a fixed wait for SRAM stable")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
---
drivers/soc/mediatek/mtk-scpsys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c
index 2080c8f..128e3dd 100644
--- a/drivers/soc/mediatek/mtk-scpsys.c
+++ b/drivers/soc/mediatek/mtk-scpsys.c
@@ -252,7 +252,7 @@ static int scpsys_power_on(struct generic_pm_domain *genpd)
MTK_POLL_DELAY_US, MTK_POLL_TIMEOUT);
if (ret < 0)
goto err_pwr_ack;
- };
+ }

if (scpd->data->bus_prot_mask) {
ret = mtk_infracfg_clear_bus_protection(scp->infracfg,
--
2.7.4



2018-05-11 11:27:59

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH] soc: mediatek: remove unneeded semicolon



On 05/10/2018 04:57 AM, [email protected] wrote:
> From: Sean Wang <[email protected]>
>
> Fix up drivers/soc/mediatek/mtk-scpsys.c:255:2-3: Unneeded semicolon
> accidently being added in commit f9e2f65dd561 ("soc: mediatek: add a
> fixed wait for SRAM stable").
>
> Fixes: f9e2f65dd561 ("soc: mediatek: add a fixed wait for SRAM stable")
> Reported-by: kbuild test robot <[email protected]>
> Signed-off-by: Sean Wang <[email protected]>
> ---

pushed to v4.17-next/soc
Thanks


> drivers/soc/mediatek/mtk-scpsys.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c
> index 2080c8f..128e3dd 100644
> --- a/drivers/soc/mediatek/mtk-scpsys.c
> +++ b/drivers/soc/mediatek/mtk-scpsys.c
> @@ -252,7 +252,7 @@ static int scpsys_power_on(struct generic_pm_domain *genpd)
> MTK_POLL_DELAY_US, MTK_POLL_TIMEOUT);
> if (ret < 0)
> goto err_pwr_ack;
> - };
> + }
>
> if (scpd->data->bus_prot_mask) {
> ret = mtk_infracfg_clear_bus_protection(scp->infracfg,
>