bus/fslmc: decrease log level for unsupported devices
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 12 Mar 2019 17:11:51 +0000 (10:11 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 29 Mar 2019 12:53:10 +0000 (13:53 +0100)
When fslmc is built as part of a general distribution, the
bus code will log errors when other devices are present.

This could confuse users it is not an error.

Fixes: 50245be05d1a ("bus/fslmc: support device blacklisting")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
drivers/bus/fslmc/fslmc_bus.c

index 44c0827..a252578 100644 (file)
@@ -249,7 +249,7 @@ rte_fslmc_parse(const char *name, void *addr)
            strncmp("dpmcp", t_ptr, 5) &&
            strncmp("dpdmai", t_ptr, 6) &&
            strncmp("dpdmux", t_ptr, 6)) {
-               DPAA2_BUS_ERR("Unknown or unsupported device");
+               DPAA2_BUS_DEBUG("Unknown or unsupported device (%s)", name);
                goto err_out;
        }