]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: cppi41: Fix channel queues array size check
authorGomonovych, Vasyl <gomonovych@gmail.com>
Thu, 21 Dec 2017 15:53:04 +0000 (16:53 +0100)
committerVinod Koul <vinod.koul@intel.com>
Fri, 22 Dec 2017 12:17:04 +0000 (17:47 +0530)
commit79806acd8d6cb02b6115c8e95bc02c0625f1e29c
tree95d1962cdb6691add437ef579190747d7211e3f9
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
dmaengine: cppi41: Fix channel queues array size check

The test should be >= ARRAY_SIZE() instead of > ARRAY_SIZE().

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c