diff mbox series

[2/3] dm_qe_uec.c: fix indentation in uec_set_mac_if_mode()

Message ID 20201005131518.10289-3-rasmus.villemoes@prevas.dk
State Accepted
Commit 69bd7dfc3afe118ce2af10c643dc12bfb26c0343
Delegated to: Mario Six
Headers show
Series DM_ETH v mpc83xx fixups | expand

Commit Message

Rasmus Villemoes Oct. 5, 2020, 1:15 p.m. UTC
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
---
 drivers/net/qe/dm_qe_uec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Heiko Schocher Oct. 6, 2020, 6:03 a.m. UTC | #1
Hello Rasmus,

Am 05.10.2020 um 15:15 schrieb Rasmus Villemoes:
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
> ---
>   drivers/net/qe/dm_qe_uec.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/qe/dm_qe_uec.c b/drivers/net/qe/dm_qe_uec.c
> index 3482b3ff17..e2b8bf02f9 100644
> --- a/drivers/net/qe/dm_qe_uec.c
> +++ b/drivers/net/qe/dm_qe_uec.c
> @@ -171,8 +171,8 @@ static int uec_set_mac_if_mode(struct uec_priv *uec)
>   			break;
>   		default:
>   			return -EINVAL;
> -	}
> -	break;
> +		}
> +		break;
>   	case SPEED_1000:
>   		maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE;
>   		switch (enet_if_mode) {
> 

Thanks!

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
Tom Rini Feb. 22, 2021, 5:32 p.m. UTC | #2
On Mon, Oct 05, 2020 at 03:15:17PM +0200, Rasmus Villemoes wrote:

> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
> Reviewed-by: Heiko Schocher <hs@denx.de>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/net/qe/dm_qe_uec.c b/drivers/net/qe/dm_qe_uec.c
index 3482b3ff17..e2b8bf02f9 100644
--- a/drivers/net/qe/dm_qe_uec.c
+++ b/drivers/net/qe/dm_qe_uec.c
@@ -171,8 +171,8 @@  static int uec_set_mac_if_mode(struct uec_priv *uec)
 			break;
 		default:
 			return -EINVAL;
-	}
-	break;
+		}
+		break;
 	case SPEED_1000:
 		maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE;
 		switch (enet_if_mode) {