commit | 2d5446da5acecf9c67db1c9d55ae2c3e5de01f8d | [log] [tgz] |
---|---|---|
author | Guodong Liu <guodong.liu@mediatek.corp-partner.google.com> | Wed Nov 10 15:19:00 2021 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Nov 24 09:38:44 2021 +0100 |
tree | 40e9a725f44e7babe3b49c0fdaa823fc50b18deb | |
parent | 136057256686de39cc3a07c2e39ef6bc43003ff6 [diff] |
pinctrl: mediatek: fix global-out-of-bounds issue When eint virtual eint number is greater than gpio number, it maybe produce 'desc[eint_n]' size globle-out-of-bounds issue. Signed-off-by: Guodong Liu <guodong.liu@mediatek.corp-partner.google.com> Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20211110071900.4490-2-zhiyong.tao@mediatek.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>