Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208927 > unrolled thread

[PATCH] net: phy: fix semicolon.cocci warnings

Started bykbuild test robot <fengguang.wu@intel.com>
First post2015-08-18 00:40 +0200
Last post2015-08-18 01:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] net: phy: fix semicolon.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2015-08-18 00:40 +0200
    Re: [PATCH] net: phy: fix semicolon.cocci warnings David Miller <davem@davemloft.net> - 2015-08-18 01:00 +0200

#1208927 — [PATCH] net: phy: fix semicolon.cocci warnings

Fromkbuild test robot <fengguang.wu@intel.com>
Date2015-08-18 00:40 +0200
Subject[PATCH] net: phy: fix semicolon.cocci warnings
Message-ID<pYBeq-407-9@gated-at.bofh.it>
drivers/net/phy/smsc.c:127:3-4: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Igor Plyatov <plyatov@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -124,7 +124,7 @@ static int lan87xx_read_status(struct ph
 				return rc;
 			if (rc & MII_LAN83C185_ENERGYON)
 				break;
-		};
+		}
 
 		/* Re-enable EDPD */
 		rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1208932

FromDavid Miller <davem@davemloft.net>
Date2015-08-18 01:00 +0200
Message-ID<pYBxL-4mJ-1@gated-at.bofh.it>
In reply to#1208927
From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 18 Aug 2015 06:31:42 +0800

> drivers/net/phy/smsc.c:127:3-4: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Igor Plyatov <plyatov@gmail.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web