All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] net: phy: dp83867: fix semicolon.cocci warnings
Date: Tue, 24 Mar 2020 03:51:41 +0800	[thread overview]
Message-ID: <20200323195141.GA142065@b4e372e8fdf0> (raw)
In-Reply-To: <202003240333.9w4m8TaM%lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

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

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Dan Murphy <dmurphy@ti.com>
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org,
	Andrew Lunn <andrew@lunn.ch>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] net: phy: dp83867: fix semicolon.cocci warnings
Date: Tue, 24 Mar 2020 03:51:41 +0800	[thread overview]
Message-ID: <20200323195141.GA142065@b4e372e8fdf0> (raw)
In-Reply-To: <202003240333.9w4m8TaM%lkp@intel.com>

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

  reply	other threads:[~2020-03-23 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 19:51 ` kbuild test robot [this message]
2020-03-23 19:51   ` [PATCH] net: phy: dp83867: fix semicolon.cocci warnings kbuild test robot
2020-03-23 20:00   ` Andrew Lunn
2020-03-23 20:00     ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200323195141.GA142065@b4e372e8fdf0 \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.