netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2] net: microchip: vcap: Remove unneeded semicolons
@ 2022-12-05  6:22 zhang.songyi
  2022-12-06 13:20 ` Jiri Pirko
  2022-12-07  4:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: zhang.songyi @ 2022-12-05  6:22 UTC (permalink / raw)
  To: kuba
  Cc: lars.povlsen, steen.hegelund, daniel.machon, unglinuxdriver,
	davem, edumazet, pabeni, linux-arm-kernel, netdev, linux-kernel

From: zhang songyi <zhang.songyi@zte.com.cn>

Semicolons after "}" are not needed.

Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
---
 drivers/net/ethernet/microchip/vcap/vcap_api.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/microchip/vcap/vcap_api.c b/drivers/net/ethernet/microchip/vcap/vcap_api.c
index f2435d7ab515..88ae263beeb0 100644
--- a/drivers/net/ethernet/microchip/vcap/vcap_api.c
+++ b/drivers/net/ethernet/microchip/vcap/vcap_api.c
@@ -1389,7 +1389,7 @@ static void vcap_copy_from_client_keyfield(struct vcap_rule *rule,
 		vcap_copy_to_w32be(field->data.u128.value, data->u128.value, size);
 		vcap_copy_to_w32be(field->data.u128.mask,  data->u128.mask, size);
 		break;
-	};
+	}
 }

 /* Check if the keyfield is already in the rule */
@@ -1579,7 +1579,7 @@ static void vcap_copy_from_client_actionfield(struct vcap_rule *rule,
 	case VCAP_FIELD_U128:
 		vcap_copy_to_w32be(field->data.u128.value, data->u128.value, size);
 		break;
-	};
+	}
 }

 /* Check if the actionfield is already in the rule */
-- 
2.15.2

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

* Re: [PATCH net-next v2] net: microchip: vcap: Remove unneeded semicolons
  2022-12-05  6:22 [PATCH net-next v2] net: microchip: vcap: Remove unneeded semicolons zhang.songyi
@ 2022-12-06 13:20 ` Jiri Pirko
  2022-12-07  4:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2022-12-06 13:20 UTC (permalink / raw)
  To: zhang.songyi
  Cc: kuba, lars.povlsen, steen.hegelund, daniel.machon,
	unglinuxdriver, davem, edumazet, pabeni, linux-arm-kernel,
	netdev, linux-kernel

Mon, Dec 05, 2022 at 07:22:15AM CET, zhang.songyi@zte.com.cn wrote:
>From: zhang songyi <zhang.songyi@zte.com.cn>
>
>Semicolons after "}" are not needed.

Cool. But still, you should be imperative to the codebase and tell it
what to do.

>
>Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>

anyway,
Reviewed-by: Jiri Pirko <jiri@nvidia.com>

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

* Re: [PATCH net-next v2] net: microchip: vcap: Remove unneeded semicolons
  2022-12-05  6:22 [PATCH net-next v2] net: microchip: vcap: Remove unneeded semicolons zhang.songyi
  2022-12-06 13:20 ` Jiri Pirko
@ 2022-12-07  4:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-12-07  4:50 UTC (permalink / raw)
  To: zhang.songyi
  Cc: kuba, lars.povlsen, steen.hegelund, daniel.machon,
	unglinuxdriver, davem, edumazet, pabeni, linux-arm-kernel,
	netdev, linux-kernel

Hello:

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

On Mon, 5 Dec 2022 14:22:15 +0800 (CST) you wrote:
> From: zhang songyi <zhang.songyi@zte.com.cn>
> 
> Semicolons after "}" are not needed.
> 
> Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
> ---
>  drivers/net/ethernet/microchip/vcap/vcap_api.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
  - [net-next,v2] net: microchip: vcap: Remove unneeded semicolons
    https://git.kernel.org/netdev/net-next/c/e3bd74c3d190

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:[~2022-12-07  4:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05  6:22 [PATCH net-next v2] net: microchip: vcap: Remove unneeded semicolons zhang.songyi
2022-12-06 13:20 ` Jiri Pirko
2022-12-07  4: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).