[patch] dmaengine: ste_dma40: off by one in d40_of_probe()

Linus Walleij linus.walleij at linaro.org
Fri Aug 23 14:15:50 EDT 2013


On Fri, Aug 23, 2013 at 11:23 AM, Dan Carpenter
<dan.carpenter at oracle.com> wrote:

> If "num_disabled" is equal to STEDMA40_MAX_PHYS (32) then we would write
> one space beyond the end of the pdata->disable_channels[] array.
>
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list