From 441ea8899e9e4c253737f316891815b07df4c83f Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Tue, 11 Jul 2017 14:20:19 +0530 Subject: [PATCH] bus/fslmc: fix missing brace Fixes: c7fe1eea8a74 ("bus: simplify finding starting point") Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index 60eb8d2515..f71598d579 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -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; } -- 2.20.1