* [net-next:master 54/321] drivers/net/phy/dp83867.c:363:2-3: Unneeded semicolon
@ 2020-03-23 19:51 kbuild test robot
2020-03-23 19:51 ` [PATCH] net: phy: dp83867: fix semicolon.cocci warnings kbuild test robot
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2020-03-23 19:51 UTC (permalink / raw)
To: Dan Murphy; +Cc: kbuild-all, netdev
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
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
coccinelle warnings: (new ones prefixed by >>)
>> drivers/net/phy/dp83867.c:363:2-3: Unneeded semicolon
drivers/net/phy/dp83867.c:398:2-3: Unneeded semicolon
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] net: phy: dp83867: fix semicolon.cocci warnings
2020-03-23 19:51 [net-next:master 54/321] drivers/net/phy/dp83867.c:363:2-3: Unneeded semicolon kbuild test robot
@ 2020-03-23 19:51 ` kbuild test robot
2020-03-23 20:00 ` Andrew Lunn
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2020-03-23 19:51 UTC (permalink / raw)
To: Dan Murphy
Cc: kbuild-all, netdev, Andrew Lunn, Florian Fainelli,
Heiner Kallweit, Russell King, linux-kernel
From: kbuild test robot <lkp@intel.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@ti.com>
Signed-off-by: kbuild test robot <lkp@intel.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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: dp83867: fix semicolon.cocci warnings
2020-03-23 19:51 ` [PATCH] net: phy: dp83867: fix semicolon.cocci warnings kbuild test robot
@ 2020-03-23 20:00 ` Andrew Lunn
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2020-03-23 20:00 UTC (permalink / raw)
To: kbuild test robot
Cc: Dan Murphy, kbuild-all, netdev, Florian Fainelli, Heiner Kallweit,
Russell King, linux-kernel
On Tue, Mar 24, 2020 at 03:51:41AM +0800, kbuild test robot wrote:
> From: kbuild test robot <lkp@intel.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@ti.com>
> Signed-off-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-23 20:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-23 19:51 [net-next:master 54/321] drivers/net/phy/dp83867.c:363:2-3: Unneeded semicolon kbuild test robot
2020-03-23 19:51 ` [PATCH] net: phy: dp83867: fix semicolon.cocci warnings kbuild test robot
2020-03-23 20:00 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).