[PATCH 7/8] test: Fix pointer overrun in dm_test_devm_regmap()