[PATCH v2 08/10] net: mvpp2: fix missing switch case break

Ramon Fried rfried.dev at gmail.com
Mon May 3 21:41:42 CEST 2021


On Mon, May 3, 2021 at 9:09 AM Stefan Roese <sr at denx.de> wrote:
>
> From: Ben Peled <bpeled at marvell.com>
>
> Signed-off-by: Ben Peled <bpeled at marvell.com>
> Reviewed-by: Stefan Chulski <stefanc at marvell.com>
> Reviewed-by: Kostya Porotchkin <kostap at marvell.com>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>
> (no changes since v1)
>
>  drivers/net/mvpp2.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
> index 61a0ea0894a7..3d920e85ffef 100644
> --- a/drivers/net/mvpp2.c
> +++ b/drivers/net/mvpp2.c
> @@ -3247,9 +3247,11 @@ static int gop_gmac_mode_cfg(struct mvpp2_port *port)
>
>         case PHY_INTERFACE_MODE_1000BASEX:
>                 gop_gmac_1000basex_cfg(port);
> +               break;
>
>         case PHY_INTERFACE_MODE_2500BASEX:
>                 gop_gmac_2500basex_cfg(port);
> +               break;
>
>         case PHY_INTERFACE_MODE_RGMII:
>         case PHY_INTERFACE_MODE_RGMII_ID:
> --
> 2.31.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list