projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336f0fb
)
regmap: kunit: Fix repeated test param
author
Cheng-Cheng Lo
<locc@google.com>
Tue, 29 Oct 2024 08:19:41 +0000
(16:19 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 29 Oct 2024 18:56:49 +0000
(18:56 +0000)
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 <locc@google.com>
Link:
https://patch.msgid.link/20241029081941.3264566-1-locc@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-kunit.c
patch
|
blob
|
history
diff --git
a/drivers/base/regmap/regmap-kunit.c
b/drivers/base/regmap/regmap-kunit.c
index
a42c738
..
64ea340
100644
(file)
--- a/
drivers/base/regmap/regmap-kunit.c
+++ b/
drivers/base/regmap/regmap-kunit.c
@@
-126,7
+126,7
@@
static const struct regmap_test_param real_cache_types_list[] = {
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2003 },
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2004 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0 },
- { .cache = REGCACHE_
RBTREE,
.from_reg = 0, .fast_io = true },
+ { .cache = REGCACHE_
MAPLE,
.from_reg = 0, .fast_io = true },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2001 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2002 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2003 },