All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] net: dsa: mt7530: fix semicolon.cocci warnings
Date: Mon, 09 Mar 2020 00:07:59 +0800	[thread overview]
Message-ID: <20200308160748.GA57060@6e496d075d89> (raw)
In-Reply-To: <202003090015.KKmntn98%lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

From: kbuild test robot <lkp@intel.com>

drivers/net/dsa/mt7530.c:1971:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 5ddf766ed5ed ("net: dsa: mt7530: Add the support of MT7531 switch")
CC: Landen Chao <landen.chao@mediatek.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---

tree:   https://github.com/frank-w/BPI-R2-4.14 5.6-rc
head:   5768a0bb2e6cf51004947878708fd58024e03643
commit: 5ddf766ed5edbed8dbc297a96f00054c89d08192 [9/11] net: dsa: mt7530: Add the support of MT7531 switch

 mt7530.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -1968,7 +1968,7 @@ static int mt7531_sgmii_setup_mode_force
 	case SPEED_1000:
 		val |= MT7531_SGMII_FORCE_SPEED_1000;
 		break;
-	};
+	}
 
 	val &= ~MT7531_SGMII_FORCE_DUPLEX;
 	/* For sgmii force mode, 0 is full duplex and 1 is half duplex */

  reply	other threads:[~2020-03-08 16:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-08 16:07 [frank-w-bpi-r2-4.14:5.6-rc 9/11] drivers/net/dsa/mt7530.c:1971:2-3: Unneeded semicolon kbuild test robot
2020-03-08 16:07 ` kbuild test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-13 20:15 [frank-w-bpi-r2-4.14:5.9-rc 25/27] drivers/net/dsa/mt7530.c:561:2-3: " kernel test robot
2020-09-13 20:15 ` [PATCH] net: dsa: mt7530: fix semicolon.cocci warnings kernel test robot
2019-12-14 20:11 [frank-w-bpi-r2-4.14:5.5-r64-netnext 4/12] drivers/net/dsa/mt7530.c:1970:2-3: Unneeded semicolon kbuild test robot
2019-12-14 20:11 ` [PATCH] net: dsa: mt7530: fix semicolon.cocci warnings kbuild test robot

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=20200308160748.GA57060@6e496d075d89 \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.