summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-ab8505.c
diff options
context:
space:
mode:
authorDavid Woodhouse2013-03-16 12:44:32 +0100
committerLinus Walleij2013-03-27 23:36:17 +0100
commitaaed651ff619993fb2101a22b32dd0664e54921b (patch)
tree43d78fe1b6f8eb754005153bcc8d694198789ffc /drivers/pinctrl/pinctrl-ab8505.c
parentpinctrl: re-enable old state in case of error in pinctrl_select_state (diff)
downloadkernel-qcow2-linux-aaed651ff619993fb2101a22b32dd0664e54921b.tar.gz
kernel-qcow2-linux-aaed651ff619993fb2101a22b32dd0664e54921b.tar.xz
kernel-qcow2-linux-aaed651ff619993fb2101a22b32dd0664e54921b.zip
pinctrl: mvebu: prevent walking off the end of group array
While investigating (ab)use of krealloc, David found this bug. It's unlikely to occur, but now we detect the condition and error out appropriately. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-ab8505.c')
0 files changed, 0 insertions, 0 deletions