From: David Woodhouse Date: Sat, 16 Mar 2013 11:44:32 +0000 (+0100) Subject: pinctrl: mvebu: prevent walking off the end of group array X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~141^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaed651ff619993fb2101a22b32dd0664e54921b;p=pandora-kernel.git 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 Signed-off-by: Jason Cooper Signed-off-by: Sebastian Hesselbarth Acked-by: Jason Cooper Signed-off-by: Linus Walleij --- Reading git-diff-tree failed