kernel_optimize_test/drivers/pinctrl
Guodong Liu 441d387366 pinctrl: mediatek: fix global-out-of-bounds issue
commit 2d5446da5acecf9c67db1c9d55ae2c3e5de01f8d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-29 12:26:07 +01:00
..
actions pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
aspeed pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting 2021-01-27 11:55:05 +01:00
bcm pinctrl: bcm2835: Change init order for gpio hogs 2021-12-29 12:25:58 +01:00
berlin
cirrus
freescale pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
intel pinctrl: tigerlake: Fix GPIO mapping for newer version of software 2021-08-18 08:59:09 +02:00
mediatek pinctrl: mediatek: fix global-out-of-bounds issue 2021-12-29 12:26:07 +01:00
meson
mvebu pinctrl: armada-37xx: Correct PWM pins definitions 2021-09-18 13:40:11 +02:00
nomadik
nuvoton
pxa
qcom pinctrl: qcom: sdm845: Enable dual edge errata 2021-11-26 10:39:18 +01:00
renesas pinctrl: renesas: checker: Fix off-by-one bug in drive register check 2021-11-18 14:04:18 +01:00
samsung pinctrl: samsung: Fix pinctrl bank pin count 2021-09-18 13:40:12 +02:00
sirf
spear
sprd
stm32 pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines 2021-12-29 12:26:03 +01:00
sunxi
tegra
ti
uniphier
visconti
vt8500
zte
core.c pinctrl: core: fix possible memory leak in pinctrl_enable() 2021-11-18 14:03:51 +01:00
core.h
devicetree.c
devicetree.h
Kconfig
Makefile
pinconf-generic.c
pinconf.c
pinconf.h
pinctrl-amd.c pinctrl: amd: disable and mask interrupts on probe 2021-11-02 19:48:19 +01:00
pinctrl-amd.h
pinctrl-artpec6.c
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-at91.h
pinctrl-axp209.c
pinctrl-bm1880.c
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-da850-pupd.c
pinctrl-da9062.c
pinctrl-digicolor.c
pinctrl-equilibrium.c pinctrl: equilibrium: Fix function addition in multiple groups 2021-11-18 14:04:20 +01:00
pinctrl-equilibrium.h
pinctrl-falcon.c
pinctrl-gemini.c
pinctrl-ingenic.c pinctrl: ingenic: Fix incorrect pull up/down info 2021-09-18 13:40:07 +02:00
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-mcp23s08_i2c.c
pinctrl-mcp23s08_spi.c
pinctrl-mcp23s08.c pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq() 2021-07-19 09:45:02 +02:00
pinctrl-mcp23s08.h
pinctrl-ocelot.c
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c
pinctrl-rk805.c
pinctrl-rockchip.c pinctrl: rockchip: fix restore error in resume 2021-04-07 15:00:11 +02:00
pinctrl-single.c pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry() 2021-09-18 13:40:14 +02:00
pinctrl-st.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-stmfx.c pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast 2021-09-18 13:40:07 +02:00
pinctrl-sx150x.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-tb10x.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h