Re: [PATCH] regmap: debugfs: Fix more error path regressions

2020-09-21 Thread Mark Brown
On Fri, 18 Sep 2020 16:22:12 +0100, Charles Keepax wrote: > Many error paths in __regmap_init rely on ret being pre-initialised to > -EINVAL, add an extra initialisation in after the new call to > regmap_set_name. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git

[PATCH] regmap: debugfs: Fix more error path regressions

2020-09-18 Thread Charles Keepax
Many error paths in __regmap_init rely on ret being pre-initialised to -EINVAL, add an extra initialisation in after the new call to regmap_set_name. Fixes: 94cc89eb8fa5 ("regmap: debugfs: Fix handling of name string for debugfs init delays") Reported-by: Dan Carpenter Signed-off-by: Charles