commit | 5be2190af4b03be5959684f7336c8da62606809e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Aug 23 12:23:43 2013 +0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Sun Aug 25 16:23:32 2013 +0530 |
tree | 64ed977ea37d45c39c52ad61ae60bab3f27825a3 | |
parent | 3a919d5b43e459517492eb0f664b120877dfdd79 [diff] |
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 <dan.carpenter@oracle.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>