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