Re: [PATCH 4/5] pinctrl: dynamically alloc temp array when parsing dtpinconf options

From: Linus Walleij
Date: Sun Jun 16 2013 - 06:31:49 EST


On Fri, Jun 14, 2013 at 5:43 PM, Heiko Stübner <heiko@xxxxxxxxx> wrote:

> 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@xxxxxxxxxxxxxxxx>
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/