diff mbox series

[v2,1/3] bus/dpaa: fix to remove err print for non-dpaa devices

Message ID 20190722100322.9722-1-hemant.agrawal@nxp.com
State New
Headers show
Series [v2,1/3] bus/dpaa: fix to remove err print for non-dpaa devices | expand

Commit Message

Hemant Agrawal July 22, 2019, 10:03 a.m. UTC
This patch removes the unnecessary err prints when using
non-dpaa devices.
Fixes: e79df833d3f6 ("bus/dpaa: support hotplug ops")

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

---
 drivers/bus/dpaa/dpaa_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Thomas Monjalon July 22, 2019, 2:14 p.m. UTC | #1
22/07/2019 12:03, Hemant Agrawal:
> This patch removes the unnecessary err prints when using

> non-dpaa devices.

> Fixes: e79df833d3f6 ("bus/dpaa: support hotplug ops")

> 

> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>


Series applied, thanks
diff mbox series

Patch

diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c
index c2563cc26..07cc5c667 100644
--- a/drivers/bus/dpaa/dpaa_bus.c
+++ b/drivers/bus/dpaa/dpaa_bus.c
@@ -699,7 +699,7 @@  dpaa_bus_dev_iterate(const void *start, const char *str,
 
 	/* Expectation is that device would be name=device_name */
 	if (strncmp(str, "name=", 5) != 0) {
-		DPAA_BUS_ERR("Invalid device string (%s)\n", str);
+		DPAA_BUS_DEBUG("Invalid device string (%s)\n", str);
 		return NULL;
 	}