summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorSheetal <sheetal@nvidia.com>2026-01-23 15:23:46 +0530
committerMark Brown <broonie@kernel.org>2026-01-27 12:46:11 +0000
commit70a65c53d228562cf0c8ae0f38c847d2a5dd59e6 (patch)
tree3a1dd219382fdcbf979e4d3f4a42295ae42c38ec /include/linux/raid
parentdc65b1ed4bb34ab6235ff2cc6a917b9295c04c2c (diff)
regmap: add KUnit coverage for reg_default_cb callback
Add a flat-cache KUnit test that verifies reg_defaults are honored while missing entries are populated via the reg_default_cb callback without hardware reads. This exercises the new callback path added for REGCACHE_FLAT defaults. Test: ./tools/testing/kunit/kunit.py run regmap Result: ======== reg_default_callback_populates_flat_cache ======== [PASSED] flat-default @0x0 [PASSED] flat-default fast I/O @0x0 [PASSED] flat-default @0x2001 ==== [PASSED] reg_default_callback_populates_flat_cache ==== Signed-off-by: Sheetal <sheetal@nvidia.com> Link: https://patch.msgid.link/20260123095346.1258556-5-sheetal@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions