diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2020-09-18 17:22:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-22 01:11:45 +0200 |
commit | 1d512ee861b80da63cbc501b973c53131aa22f29 (patch) | |
tree | 3f3cb1bcf3f1db404643548b51a4793098bce376 /.mailmap | |
parent | regmap: Add support for 12/20 register formatting (diff) | |
download | linux-1d512ee861b80da63cbc501b973c53131aa22f29.tar.xz linux-1d512ee861b80da63cbc501b973c53131aa22f29.zip |
regmap: debugfs: Fix more error path regressions
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 <dan.carpenter@oracle.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200918152212.22200-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions