Skip to contentSkip to conversation

sfc: clean up some inconsistent indentings

PATCH Applied Yang Li 3 participants 3 messages Feb 20, 2023 – Feb 21, 2023

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 sfc: clean up some inconsistent indentings

Fix some indentngs and remove the warning below:
drivers/net/ethernet/sfc/mae.c:657 efx_mae_enumerate_mports() warn: inconsistent indenting

---
 drivers/net/ethernet/sfc/mae.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/sfc/mae.c +2 -2
index 6321fd393fc3..2d32abe5f478 100644
@@ -654,8 +654,8 @@ int efx_mae_enumerate_mports(struct efx_nic *efx)
 								     MAE_MPORT_DESC_VNIC_FUNCTION_INTERFACE);
 				d->pf_idx = MCDI_STRUCT_WORD(desc,
 							     MAE_MPORT_DESC_VNIC_FUNCTION_PF_IDX);
-			d->vf_idx = MCDI_STRUCT_WORD(desc,
-						     MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX);
+				d->vf_idx = MCDI_STRUCT_WORD(desc,
+							     MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX);
 				break;
 			default:
 				/* Unknown mport_type, just accept it */
Signature · 1 line
2.20.1.7.g153144c
Acked-by on v1 1/1
#1 lore raw

Please fix the subject to use [PATCH net-next].

Quoted 6 lines · Yang Li

Fix some indentngs and remove the warning below:
drivers/net/ethernet/sfc/mae.c:657 efx_mae_enumerate_mports() warn: inconsistent indenting

Quoted 21 lines
---
 drivers/net/ethernet/sfc/mae.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/sfc/mae.c +2 -2
index 6321fd393fc3..2d32abe5f478 100644
@@ -654,8 +654,8 @@ int efx_mae_enumerate_mports(struct efx_nic *efx)
 								     MAE_MPORT_DESC_VNIC_FUNCTION_INTERFACE);
 				d->pf_idx = MCDI_STRUCT_WORD(desc,
 							     MAE_MPORT_DESC_VNIC_FUNCTION_PF_IDX);
-			d->vf_idx = MCDI_STRUCT_WORD(desc,
-						     MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX);
+				d->vf_idx = MCDI_STRUCT_WORD(desc,
+							     MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX);
 				break;
 			default:
 				/* Unknown mport_type, just accept it */
Signature · 1 line
2.20.1.7.g153144c
#2 lore raw
In reply to Yang Li
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 20 Feb 2023 14:59:58 +0800 you wrote:

Fix some indentngs and remove the warning below:
drivers/net/ethernet/sfc/mae.c:657 efx_mae_enumerate_mports() warn: inconsistent indenting

[...]

Here is the summary with links:
- [-next] sfc: clean up some inconsistent indentings

    https://git.kernel.org/netdev/net-next/c/5feeaba10631

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html