mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] phy: fix semicolon.cocci warnings
  2016-06-17 18:19 drivers/phy/phy-brcm-sata.c:151:2-3: Unneeded semicolon kbuild test robot
@ 2016-06-17 18:19 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-06-17 18:19 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Kishon Vijay Abraham I, Anup Patel

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;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/phy/phy-brcm-sata.c:151:2-3: Unneeded semicolon
@ 2016-06-17 18:19 kbuild test robot
  2016-06-17 18:19 ` [PATCH] phy: fix semicolon.cocci warnings kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-06-17 18:19 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Kishon Vijay Abraham I, Anup Patel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   bb967271c0317de8eed56b20aae978d31507b033
commit: 4faee9a43d0af2943195cdbde93c59d03984b749 phy: Add support for NS2 SATA3 PHY in Broadcom SATA3 PHY driver
date:   7 weeks ago


coccinelle warnings: (new ones prefixed by >>)

>> 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

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-17 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 18:19 drivers/phy/phy-brcm-sata.c:151:2-3: Unneeded semicolon kbuild test robot
2016-06-17 18:19 ` [PATCH] phy: fix semicolon.cocci warnings kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®