Skip to content

Commit 96a5408

Browse files
Cheng-Cheng Lobroonie
authored andcommitted
regmap: kunit: Fix repeated test param
There're duplicated elements in the test param real_cache_types_list. The second one shoulde have cache type REGCACHE_MAPLE. Signed-off-by: Cheng-Cheng Lo <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 336f0fb commit 96a5408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/regmap/regmap-kunit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static const struct regmap_test_param real_cache_types_list[] = {
126126
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2003 },
127127
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2004 },
128128
{ .cache = REGCACHE_MAPLE, .from_reg = 0 },
129-
{ .cache = REGCACHE_RBTREE, .from_reg = 0, .fast_io = true },
129+
{ .cache = REGCACHE_MAPLE, .from_reg = 0, .fast_io = true },
130130
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2001 },
131131
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2002 },
132132
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2003 },

0 commit comments

Comments
 (0)