bus/fslmc: fix missing brace
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 11 Jul 2017 08:50:19 +0000 (14:20 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 11 Jul 2017 09:22:03 +0000 (11:22 +0200)
Fixes: c7fe1eea8a74 ("bus: simplify finding starting point")

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/fslmc_bus.c

index 60eb8d2..f71598d 100644 (file)
@@ -113,7 +113,7 @@ rte_fslmc_find_device(const struct rte_device *start, rte_dev_cmp_t cmp,
        struct rte_dpaa2_device *dev;
 
        TAILQ_FOREACH(dev, &rte_fslmc_bus.device_list, next) {
-               if (start && &dev->device == start)
+               if (start && &dev->device == start) {
                        start = NULL;  /* starting point found */
                        continue;
                }