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


Groups > linux.kernel > #1425371 > unrolled thread

[PATCH] phy: fix semicolon.cocci warnings

Started bykbuild test robot <fengguang.wu@intel.com>
First post2016-06-17 20:30 +0200
Last post2016-06-17 20:30 +0200
Articles 1 — 1 participant

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] phy: fix semicolon.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2016-06-17 20:30 +0200

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

Fromkbuild test robot <fengguang.wu@intel.com>
Date2016-06-17 20:30 +0200
Subject[PATCH] phy: fix semicolon.cocci warnings
Message-ID<rL6GJ-1zJ-3@gated-at.bofh.it>
drivers/phy/phy-brcm-sata.c:151:2-3: Unneeded semicolon
drivers/phy/phy-brcm-sata.c:134:2-3: Unneeded semicolon
drivers/phy/phy-brcm-sata.c:289:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 phy-brcm-sata.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/phy/phy-brcm-sata.c
+++ b/drivers/phy/phy-brcm-sata.c
@@ -131,7 +131,7 @@ static inline void __iomem *brcm_sata_pc
 	default:
 		dev_err(priv->dev, "invalid phy version\n");
 		break;
-	};
+	}
 
 	return priv->phy_base + (port->portnum * size);
 }
@@ -148,7 +148,7 @@ static inline void __iomem *brcm_sata_ct
 	default:
 		dev_err(priv->dev, "invalid phy version\n");
 		break;
-	};
+	}
 
 	return priv->ctrl_base + (port->portnum * size);
 }
@@ -286,7 +286,7 @@ static int brcm_sata_phy_init(struct phy
 		break;
 	default:
 		rc = -ENODEV;
-	};
+	}
 
 	return 0;
 }

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web