On Wed, 20 Jan 2021 at 12:58, Dan Carpenter <[email protected]> wrote: > > These need to be < ARRAY_SIZE() instead of <= ARRAY_SIZE() to prevent > accessing one element beyond the end of the array. > > Fixes: e9247e2ce577 ("soc: qcom: socinfo: fix printing of pmic_model") > Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry

