From: Heiko Stübner Date: Fri, 14 Jun 2013 15:43:55 +0000 (+0200) Subject: pinctrl: dynamically alloc temp array when parsing dt pinconf options X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~29^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6abab2d4bec982bcefbe99201ddee5f25227daf4;p=pandora-kernel.git pinctrl: dynamically alloc temp array when parsing dt pinconf options Allocating the temorary array in pinconf_generic_parse_dt_config on stack might cause problems later on, when the number of options grows over time. Therefore also allocate this array dynamically to be on the safe side. Suggested-by: Laurent Pinchart Signed-off-by: Heiko Stuebner Reviewed-by: James Hogan Signed-off-by: Linus Walleij --- Reading git-diff-tree failed