alistair23-linux/drivers/pinctrl/sh-pfc
Laurent Pinchart a1a3580cb3 sh-pfc: Don't overallocate memory for the GPIO chip pins array
The GPIO driver uses an array of sh_pfc_gpio_pin structures to store
per-GPIO pin data. The array size is miscomputed at allocation time by
using the number of the last pin instead of the number of pins. When the
pin space contains holes this leads to memory overallocation. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
2013-07-29 15:17:41 +02:00
..
core.c sh-pfc: Remove unused input_pd and input_pu ranges 2013-07-29 15:17:37 +02:00
core.h sh-pfc: Add support for SoC-specific initialization 2013-06-05 17:17:13 +09:00
gpio.c sh-pfc: Don't overallocate memory for the GPIO chip pins array 2013-07-29 15:17:41 +02:00
Kconfig sh-pfc: sh73a0: Add VCCQ MC0 regulator 2013-06-05 17:17:14 +09:00
Makefile sh-pfc: Add r8a7778 pinmux support 2013-06-04 21:04:02 +09:00
pfc-r8a73a4.c pinctrl: r8a73a4: add pinmux data for MMCIF and SDHI interfaces 2013-06-12 17:39:34 +09:00
pfc-r8a7740.c sh-pfc: Remove unused GPIO_PORT_ALL macro 2013-07-29 15:17:40 +02:00
pfc-r8a7778.c sh-pfc: r8a7778: tidyup MMC_D1 pin 2013-06-18 16:13:28 +09:00
pfc-r8a7779.c pinctrl: sh-pfc: r8a7779: Fix missing MOD_SEL2 entry 2013-06-05 17:18:21 +09:00
pfc-r8a7790.c pinctrl: r8a7790: fix two pin numbers 2013-06-17 11:20:52 +09:00
pfc-sh73a0.c sh-pfc: sh73a0: Remove function GPIOs 2013-06-05 17:17:18 +09:00
pfc-sh7203.c sh-pfc: Constify all SoC data 2013-03-15 13:33:53 +01:00
pfc-sh7264.c sh-pfc: Constify all SoC data 2013-03-15 13:33:53 +01:00
pfc-sh7269.c sh-pfc: Constify all SoC data 2013-03-15 13:33:53 +01:00
pfc-sh7372.c sh-pfc: Remove unused GPIO_PORT_ALL macro 2013-07-29 15:17:40 +02:00
pfc-sh7720.c sh-pfc: sh7720: Remove unused input_pu range 2013-07-29 15:17:33 +02:00
pfc-sh7722.c sh-pfc: sh7722: Remove unused input_pd and input_pu ranges 2013-07-29 15:17:33 +02:00
pfc-sh7723.c sh-pfc: sh7723: Remove unused input_pu range 2013-07-29 15:17:34 +02:00
pfc-sh7724.c sh-pfc: sh7724: Remove unused input_pu range 2013-07-29 15:17:34 +02:00
pfc-sh7734.c sh-pfc: Constify all SoC data 2013-03-15 13:33:53 +01:00
pfc-sh7757.c sh-pfc: sh7757: Remove unused input_pu range 2013-07-29 15:17:35 +02:00
pfc-sh7785.c sh-pfc: sh7785: Remove unused input_pu range 2013-07-29 15:17:35 +02:00
pfc-sh7786.c sh-pfc: sh7786: Remove unused input_pu range 2013-07-29 15:17:36 +02:00
pfc-shx3.c sh-pfc: shx3: Remove unused input_pu range 2013-07-29 15:17:37 +02:00
pinctrl.c sh-pfc: Guard DT parsing with #ifdef CONFIG_OF 2013-06-24 11:34:11 +02:00
sh_pfc.h sh-pfc: Remove unused GPIO_PORT_ALL macro 2013-07-29 15:17:40 +02:00