From c694118ea3e0e0e12afc6d93feecb0e8148bd560 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Thu, 25 Jul 2024 23:45:09 +0200 Subject: [PATCH] Update regcache-maple.c Initialize variables --- drivers/base/regmap/regcache-maple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regcache-maple.c b/drivers/base/regmap/regcache-maple.c index f0df2da6d522e7..3dd83a8af70cd4 100644 --- a/drivers/base/regmap/regcache-maple.c +++ b/drivers/base/regmap/regcache-maple.c @@ -110,7 +110,7 @@ static int regcache_maple_drop(struct regmap *map, unsigned int min, struct maple_tree *mt = map->cache; MA_STATE(mas, mt, min, max); unsigned long *entry, *lower, *upper; - unsigned long lower_index, lower_last; + unsigned long lower_index = 0, lower_last = 0; unsigned long upper_index, upper_last; int ret = 0;