diff options
| author | David Lechner <[email protected]> | 2026-01-13 17:25:52 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-21 13:29:25 -0600 |
| commit | e63e2e797e3ccf85a8394425e954c06e435c161c (patch) | |
| tree | ad485658473091cc4a8144c6f514e11f6fd4c229 /scripts/env2string.awk | |
| parent | 712b25740655c206b9173201fcc6be76931f63ec (diff) | |
pinctrl: mediatek: set array size for reg_cals
Set the size of the reg_cals arrays to PINCTRL_PIN_REG_MAX to in all
affected mediatek pinctrl drivers. This is needed to avoid potential
out-of-bounds accesses when they is used in mtk_hw_pin_field_get().
All array members need to be initialized since the code loops from 0
to PINCTRL_PIN_REG_MAX - 1. mt7622_reg_cals was already defined this
way, but the others were not.
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'scripts/env2string.awk')
0 files changed, 0 insertions, 0 deletions
