Commit 5feeaba1 authored by Yang Li's avatar Yang Li Committed by Jakub Kicinski

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
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4117Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Acked-by: default avatarMartin Habets <habetsm.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20230220065958.52941-1-yang.lee@linux.alibaba.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f8f185e3
...@@ -654,8 +654,8 @@ int efx_mae_enumerate_mports(struct efx_nic *efx) ...@@ -654,8 +654,8 @@ int efx_mae_enumerate_mports(struct efx_nic *efx)
MAE_MPORT_DESC_VNIC_FUNCTION_INTERFACE); MAE_MPORT_DESC_VNIC_FUNCTION_INTERFACE);
d->pf_idx = MCDI_STRUCT_WORD(desc, d->pf_idx = MCDI_STRUCT_WORD(desc,
MAE_MPORT_DESC_VNIC_FUNCTION_PF_IDX); MAE_MPORT_DESC_VNIC_FUNCTION_PF_IDX);
d->vf_idx = MCDI_STRUCT_WORD(desc, d->vf_idx = MCDI_STRUCT_WORD(desc,
MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX); MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX);
break; break;
default: default:
/* Unknown mport_type, just accept it */ /* Unknown mport_type, just accept it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment