git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a8844
)
pinctrl: dynamically alloc temp array when parsing dt pinconf options
author
Heiko Stübner
<heiko@sntech.de>
Fri, 14 Jun 2013 15:43:55 +0000
(17:43 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 17 Jun 2013 16:18:31 +0000
(18:18 +0200)
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>
drivers/pinctrl/pinconf-generic.c
patch
|
blob
|
history
diff --cc
drivers/pinctrl/pinconf-generic.c
Simple merge