diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2019-11-06 18:31:25 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-11-07 13:10:08 +0000 |
commit | 458ea3ad033fc86e291712ce50cbe60c3428cf30 (patch) | |
tree | b44a42e43b5e03d0c5f66dab00a68f35266911fa /kernel/audit.c | |
parent | 99c4f70df3a6446c56ca817c2d0f9c12d85d4e7c (diff) | |
download | linux-458ea3ad033fc86e291712ce50cbe60c3428cf30.tar.gz linux-458ea3ad033fc86e291712ce50cbe60c3428cf30.tar.bz2 linux-458ea3ad033fc86e291712ce50cbe60c3428cf30.zip |
regulator: ab8500: Remove SYSCLKREQ from enum ab8505_regulator_id
Those regulators are not actually supported by the AB8500 regulator
driver. There is no ab8500_regulator_info for them and no entry in
ab8505_regulator_match.
As such, they cannot be registered successfully, and looking them
up in ab8505_regulator_match causes an out-of-bounds array read.
Fixes: 547f384f33db ("regulator: ab8500: add support for ab8505")
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191106173125.14496-2-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions