diff options
author | Heiko Stübner <heiko@sntech.de> | 2013-06-14 17:43:55 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 18:18:31 +0200 |
commit | 6abab2d4bec982bcefbe99201ddee5f25227daf4 (patch) | |
tree | bc70b4fb53bb9154d3c44c6b592f25a78274e536 /include/linux | |
parent | e4a8844c04c00a1a64c6779692e1baff3851c1f7 (diff) |
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')
0 files changed, 0 insertions, 0 deletions