On Tue, 13 Jan 2026 17:25:52 -0600, David Lechner wrote:

> 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.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] pinctrl: mediatek: set array size for reg_cals
      commit: e63e2e797e3ccf85a8394425e954c06e435c161c
-- 
Tom


Reply via email to