sfc: clean up some inconsistent indentings
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 20 Feb 2023 06:59:58 +0000 (14:59 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Feb 2023 00:39:00 +0000 (16:39 -0800)
Fix some indentngs and remove the warning below:
drivers/net/ethernet/sfc/mae.c:657 efx_mae_enumerate_mports() warn: inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4117
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20230220065958.52941-1-yang.lee@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/mae.c

index 6321fd393fc33ceea2b87d185a4239be57eb8df0..2d32abe5f4781fee00efdc9e0b0ff707c32c5ca1 100644 (file)
@@ -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 */