public inbox for linux-arm-kernel@lists.infradead.org
 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: Sat, 9 Oct 2021 06:31:17 +0800	[thread overview]
Message-ID: <20211008223117.GA72208@94ca82e3b095> (raw)
In-Reply-To: <202110090600.d1xOw8mB-lkp@intel.com>

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

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


 Remove unneeded semicolon.

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

Fixes: 43b589a754b5 ("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 rtl8366rb
head:   292e7b7473f10676f1e9076ec16b02fdfc0faaac
commit: 43b589a754b58fe33e759e824fda9ab0721e4cd0 [12/14] net: dsa: rtl8366rb: Support setting STP state
:::::: branch date: 9 days ago
:::::: commit date: 9 days ago

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

--- a/drivers/net/dsa/rtl8366rb.c
+++ b/drivers/net/dsa/rtl8366rb.c
@@ -1393,7 +1393,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-10-08 22:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202110090600.d1xOw8mB-lkp@intel.com>
2021-10-08 22:31 ` kernel test robot [this message]
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 ` [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=20211008223117.GA72208@94ca82e3b095 \
    --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