[v2,1/3] bus/dpaa: fix to remove err print for non-dpaa devices
Checks
Commit Message
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(-)
Comments
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
@@ -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;
}