All of lore.kernel.org
 help / color / mirror / Atom feed
From: <zhang.songyi@zte.com.cn>
To: <lars.povlsen@microchip.com>
Cc: <steen.hegelund@microchip.com>, <daniel.machon@microchip.com>,
	<unglinuxdriver@microchip.com>,
	<linux-arm-kernel@lists.infradead.org>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH net-next] net: microchip: vcap: Remove unneeded semicolons
Date: Thu, 1 Dec 2022 10:06:42 +0800 (CST)	[thread overview]
Message-ID: <202212011006426677429@zte.com.cn> (raw)

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 93efa8243b02..b8df3cf32f1f 100644
--- a/drivers/net/ethernet/microchip/vcap/vcap_api.c
+++ b/drivers/net/ethernet/microchip/vcap/vcap_api.c
@@ -1394,7 +1394,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 */
@@ -1584,7 +1584,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.25.1

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: <zhang.songyi@zte.com.cn>
To: <lars.povlsen@microchip.com>
Cc: <steen.hegelund@microchip.com>, <daniel.machon@microchip.com>,
	<unglinuxdriver@microchip.com>,
	<linux-arm-kernel@lists.infradead.org>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH net-next] net: microchip: vcap: Remove unneeded semicolons
Date: Thu, 1 Dec 2022 10:06:42 +0800 (CST)	[thread overview]
Message-ID: <202212011006426677429@zte.com.cn> (raw)

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 93efa8243b02..b8df3cf32f1f 100644
--- a/drivers/net/ethernet/microchip/vcap/vcap_api.c
+++ b/drivers/net/ethernet/microchip/vcap/vcap_api.c
@@ -1394,7 +1394,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 */
@@ -1584,7 +1584,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.25.1

             reply	other threads:[~2022-12-01  2:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01  2:06 zhang.songyi [this message]
2022-12-01  2:06 ` [PATCH net-next] net: microchip: vcap: Remove unneeded semicolons zhang.songyi
2022-12-03  4:50 ` Jakub Kicinski
2022-12-03  4:50   ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202212011006426677429@zte.com.cn \
    --to=zhang.songyi@zte.com.cn \
    --cc=daniel.machon@microchip.com \
    --cc=lars.povlsen@microchip.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=steen.hegelund@microchip.com \
    --cc=unglinuxdriver@microchip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.