aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pinctrl/pinconf-generic.h
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-06-14 17:43:55 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-06-17 18:18:31 +0200
commit6abab2d4bec982bcefbe99201ddee5f25227daf4 (patch)
treebc70b4fb53bb9154d3c44c6b592f25a78274e536 /include/linux/pinctrl/pinconf-generic.h
parentpinctrl: handle zero found dt pinconfig properties better (diff)
downloadlinux-dev-6abab2d4bec982bcefbe99201ddee5f25227daf4.tar.xz
linux-dev-6abab2d4bec982bcefbe99201ddee5f25227daf4.zip
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl/pinconf-generic.h')
0 files changed, 0 insertions, 0 deletions