summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-01-13 17:25:52 -0600
committerTom Rini <[email protected]>2026-01-21 13:29:25 -0600
commite63e2e797e3ccf85a8394425e954c06e435c161c (patch)
treead485658473091cc4a8144c6f514e11f6fd4c229 /scripts/checkstack.pl
parent712b25740655c206b9173201fcc6be76931f63ec (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/checkstack.pl')
0 files changed, 0 insertions, 0 deletions