linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH] net: dsa: rtl8366rb: fix semicolon.cocci warnings
Date: Tue, 14 Sep 2021 11:03:08 +0800	[thread overview]
Message-ID: <20210914030308.GA941@b6705a024ca0> (raw)
In-Reply-To: <202109141152.epfzsqs2-lkp@intel.com>

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

drivers/net/dsa/rtl8366rb.c:1273:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 2c53b3b9882f ("net: dsa: rtl8366rb: Support setting STP state")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git gemini-dir-685-rtl8366rb
head:   201d60fce4512211f149b3c95342188a62c9b24c
commit: 2c53b3b9882faf9f46872bde337d95aadd88f0bb [13/15] net: dsa: rtl8366rb: Support setting STP state
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago

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

--- a/drivers/net/dsa/rtl8366rb.c
+++ b/drivers/net/dsa/rtl8366rb.c
@@ -1270,7 +1270,7 @@ rtl8366rb_port_stp_state_set(struct dsa_
 	default:
 		dev_err(smi->dev, "unknown bridge state requested\n");
 		return;
-	};
+	}
 
 	mask = (RTL8368S_SPT_STATE_MSK << (port * 2));
 	val <<= (port * 2);

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

  reply	other threads:[~2021-09-14  3:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14  3:03 [nomadik:gemini-dir-685-rtl8366rb 13/15] drivers/net/dsa/rtl8366rb.c:1273:2-3: Unneeded semicolon kernel test robot
2021-09-14  3:03 ` kernel test robot [this message]
     [not found] <202110090600.d1xOw8mB-lkp@intel.com>
2021-10-08 22:31 ` [PATCH] net: dsa: rtl8366rb: fix semicolon.cocci warnings kernel 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=20210914030308.GA941@b6705a024ca0 \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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 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).