]> git.droids-corp.org - dpdk.git/commitdiff
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 60eb8d251582b5d509ffe8817736da83abeb55a7..f71598d5793be2fdaa6a99e2bd16bfeb0897b2b8 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;
                }