From: Vignesh Raghavendra <vigneshr@ti.com>
To: Dave Gerlach <d-gerlach@ti.com>,
Joe Hershberger <joe.hershberger@ni.com>,
Ramon Fried <rfried.dev@gmail.com>,
Tom Rini <trini@konsulko.com>
Cc: <u-boot@lists.denx.de>, Vignesh Raghavendra <vigneshr@ti.com>,
Grygorii Strashko <grygorii.strashko@ti.com>
Subject: [PATCH 1/4] net: ti: am65-cpsw-nuss: Fix err msg for port bind failures
Date: Fri, 21 Jan 2022 12:47:51 +0530 [thread overview]
Message-ID: <20220121071754.197577-2-vigneshr@ti.com> (raw)
In-Reply-To: <20220121071754.197577-1-vigneshr@ti.com>
Replace error case print with meaning full message.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
drivers/net/ti/am65-cpsw-nuss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c
index 6ae69b51c7..454986ff15 100644
--- a/drivers/net/ti/am65-cpsw-nuss.c
+++ b/drivers/net/ti/am65-cpsw-nuss.c
@@ -752,7 +752,7 @@ static int am65_cpsw_probe_nuss(struct udevice *dev)
ret = device_bind_driver_to_node(dev, "am65_cpsw_nuss_port", ofnode_get_name(node), node, &port_dev);
if (ret)
- printf("SCREEEM\n");
+ dev_err(dev, "Failed to bind to %s node\n", ofnode_get_name(node));
}
for (i = 0; i < AM65_CPSW_CPSWNU_MAX_PORTS; i++) {
--
2.34.1
next prev parent reply other threads:[~2022-01-21 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 7:17 [PATCH 0/4] ARM: ti: AM64x: Clean up Ethernet boot support on AM64x SK Vignesh Raghavendra
2022-01-21 7:17 ` Vignesh Raghavendra [this message]
2022-01-29 18:49 ` [PATCH 1/4] net: ti: am65-cpsw-nuss: Fix err msg for port bind failures Tom Rini
2022-01-21 7:17 ` [PATCH 2/4] ARM: dts: k3-am642-sk: Disable cpsw_port1 in SPL Vignesh Raghavendra
2022-01-29 18:49 ` Tom Rini
2022-01-21 7:17 ` [PATCH 3/4] configs: am64xx_evm: Increase BSS max size to 16K Vignesh Raghavendra
2022-01-29 18:49 ` Tom Rini
2022-01-21 7:17 ` [PATCH 4/4] configs: am64x_evm_r5/a53_defconfig: Enable configs required for Ethboot Vignesh Raghavendra
2022-01-29 18:49 ` Tom Rini
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=20220121071754.197577-2-vigneshr@ti.com \
--to=vigneshr@ti.com \
--cc=d-gerlach@ti.com \
--cc=grygorii.strashko@ti.com \
--cc=joe.hershberger@ni.com \
--cc=rfried.dev@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox