All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raghuram Chary J <raghuramchary.jallipalli@microchip.com>
To: <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <unglinuxdriver@microchip.com>,
	<woojung.huh@microchip.com>,
	<raghuramchary.jallipalli@microchip.com>
Subject: [PATCH v4 net-next 3/3] lan78xx: Modify error messages
Date: Fri, 27 Apr 2018 11:30:24 +0530	[thread overview]
Message-ID: <20180427060024.23989-4-raghuramchary.jallipalli@microchip.com> (raw)
In-Reply-To: <20180427060024.23989-1-raghuramchary.jallipalli@microchip.com>

Modify the error messages when phy registration fails.

Signed-off-by: Raghuram Chary J <raghuramchary.jallipalli@microchip.com>
---
 drivers/net/usb/lan78xx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c
index 5da5f0e3cd21..525bb4bf1975 100644
--- a/drivers/net/usb/lan78xx.c
+++ b/drivers/net/usb/lan78xx.c
@@ -2040,14 +2040,14 @@ static struct phy_device *lan7801_phy_init(struct lan78xx_net *dev)
 		ret = phy_register_fixup_for_uid(PHY_KSZ9031RNX, 0xfffffff0,
 						 ksz9031rnx_fixup);
 		if (ret < 0) {
-			netdev_err(dev->net, "fail to register fixup\n");
+			netdev_err(dev->net, "fail to register fixup for PHY_KSZ9031RNX\n");
 			return NULL;
 		}
 		/* external PHY fixup for LAN8835 */
 		ret = phy_register_fixup_for_uid(PHY_LAN8835, 0xfffffff0,
 						 lan8835_fixup);
 		if (ret < 0) {
-			netdev_err(dev->net, "fail to register fixup\n");
+			netdev_err(dev->net, "fail to register fixup for PHY_LAN8835\n");
 			return NULL;
 		}
 		/* add more external PHY fixup here if needed */
-- 
2.16.2

      parent reply	other threads:[~2018-04-27  5:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27  6:00 [PATCH v4 net-next 0/3] lan78xx updates along with Fixed phy Support Raghuram Chary J
2018-04-27  6:00 ` [PATCH v4 net-next 1/3] lan78xx: Lan7801 Support for Fixed PHY Raghuram Chary J
2018-04-27  6:00 ` [PATCH v4 net-next 2/3] lan78xx: Remove DRIVER_VERSION for lan78xx driver Raghuram Chary J
2018-04-27  6:00 ` Raghuram Chary J [this message]

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=20180427060024.23989-4-raghuramchary.jallipalli@microchip.com \
    --to=raghuramchary.jallipalli@microchip.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=unglinuxdriver@microchip.com \
    --cc=woojung.huh@microchip.com \
    /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.