netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] sfc: clean up some inconsistent indentings
@ 2023-02-20  6:59 Yang Li
  2023-02-20  8:35 ` Martin Habets
  2023-02-21  0:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2023-02-20  6:59 UTC (permalink / raw)
  To: kuba
  Cc: davem, ecree.xilinx, habetsm.xilinx, edumazet, pabeni, netdev,
	linux-kernel, Yang Li, Abaci Robot

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>
---
 drivers/net/ethernet/sfc/mae.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/sfc/mae.c b/drivers/net/ethernet/sfc/mae.c
index 6321fd393fc3..2d32abe5f478 100644
--- a/drivers/net/ethernet/sfc/mae.c
+++ b/drivers/net/ethernet/sfc/mae.c
@@ -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 */
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] sfc: clean up some inconsistent indentings
  2023-02-20  6:59 [PATCH -next] sfc: clean up some inconsistent indentings Yang Li
@ 2023-02-20  8:35 ` Martin Habets
  2023-02-21  0:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Habets @ 2023-02-20  8:35 UTC (permalink / raw)
  To: Yang Li
  Cc: kuba, davem, ecree.xilinx, edumazet, pabeni, netdev, linux-kernel,
	Abaci Robot

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

On Mon, Feb 20, 2023 at 02:59:58PM +0800, Yang Li wrote:
> 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>

> ---
>  drivers/net/ethernet/sfc/mae.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/sfc/mae.c b/drivers/net/ethernet/sfc/mae.c
> index 6321fd393fc3..2d32abe5f478 100644
> --- a/drivers/net/ethernet/sfc/mae.c
> +++ b/drivers/net/ethernet/sfc/mae.c
> @@ -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 */
> -- 
> 2.20.1.7.g153144c

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] sfc: clean up some inconsistent indentings
  2023-02-20  6:59 [PATCH -next] sfc: clean up some inconsistent indentings Yang Li
  2023-02-20  8:35 ` Martin Habets
@ 2023-02-21  0:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-02-21  0:50 UTC (permalink / raw)
  To: Yang Li
  Cc: kuba, davem, ecree.xilinx, habetsm.xilinx, edumazet, pabeni,
	netdev, linux-kernel, abaci

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

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
> 
> 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>
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-21  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-20  6:59 [PATCH -next] sfc: clean up some inconsistent indentings Yang Li
2023-02-20  8:35 ` Martin Habets
2023-02-21  0:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).