From: Dan Carpenter Date: Fri, 23 Aug 2013 09:23:43 +0000 (+0300) Subject: dmaengine: ste_dma40: off by one in d40_of_probe() X-Git-Tag: v3.12-rc1~68^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be2190af4b03be5959684f7336c8da62606809e;p=pandora-kernel.git dmaengine: ste_dma40: off by one in d40_of_probe() 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 Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- Reading git-diff-tree failed