[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200323195141.GA142065@b4e372e8fdf0>
Date: Tue, 24 Mar 2020 03:51:41 +0800
From: kbuild test robot <lkp@...el.com>
To: Dan Murphy <dmurphy@...com>
Cc: kbuild-all@...ts.01.org, netdev@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
linux-kernel@...r.kernel.org
Subject: [PATCH] net: phy: dp83867: fix semicolon.cocci warnings
From: kbuild test robot <lkp@...el.com>
drivers/net/phy/dp83867.c:363:2-3: Unneeded semicolon
drivers/net/phy/dp83867.c:398:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: cd26d72d4d43 ("net: phy: dp83867: Add speed optimization feature")
CC: Dan Murphy <dmurphy@...com>
Signed-off-by: kbuild test robot <lkp@...el.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 09984483db080b541c8242d846c30bc1e6a194e1
commit: cd26d72d4d43175cec8c10bed4df7f21ac5316b3 [54/321] net: phy: dp83867: Add speed optimization feature
dp83867.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/phy/dp83867.c
+++ b/drivers/net/phy/dp83867.c
@@ -360,7 +360,7 @@ static int dp83867_get_downshift(struct
break;
default:
return -EINVAL;
- };
+ }
*data = enable ? count : DOWNSHIFT_DEV_DISABLE;
@@ -395,7 +395,7 @@ static int dp83867_set_downshift(struct
phydev_err(phydev,
"Downshift count must be 1, 2, 4 or 8\n");
return -EINVAL;
- };
+ }
val = DP83867_DOWNSHIFT_EN;
val |= FIELD_PREP(DP83867_DOWNSHIFT_ATTEMPT_MASK, count);
Powered by blists - more mailing lists