Message ID | 20190722065407.9180-2-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show |
Series | [1/3] bus/dpaa: fix to remove err print for non-dpaa devices | expand |
diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index 9e4146aba..a2f482516 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -601,7 +601,7 @@ fslmc_bus_dev_iterate(const void *start, const char *str, /* Expectation is that device would be name=device_name */ if (strncmp(str, "name=", 5) != 0) { - DPAA2_BUS_ERR("Invalid device string (%s)\n", str); + DPAA2_BUS_DEBUG("Invalid device string (%s)\n", str); return NULL; }
This patch removes the unneccessary err prints when using non-dpaa2 devices. Fixes: e67a61614d0b ("bus/fslmc: support device iteration") Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1