linux-stable/drivers/dma/ioat
Colin Ian King 1b7794163a dmaengine: ioatdma: loop for number elements in array chanerr_str
Just iterate over the number of elements in array chanerr_str rather
than for all 32 bits.  This removes the need for a NULL chanerr_str[i]
check which could possibly overrun if the upper bits (28..31) of
chanerr are set and 27th bit in chanerr is zero. This simplifies the
code by removing an if statement and a break.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-10-19 20:17:01 +05:30
..
dca.c dmaengine: ioatdma: constify dca_ops structures 2015-11-16 09:27:32 +05:30
dma.c dmaengine: ioatdma: loop for number elements in array chanerr_str 2016-10-19 20:17:01 +05:30
dma.h dmaengine: IOATDMA: revise channel reset workaround on CB3.3 platforms 2016-03-11 07:55:08 +05:30
hw.h dmaengine: IOATDMA: Allocate DMA descriptor ring in contig DMA memory 2016-02-15 23:06:53 +05:30
init.c dmaengine: ioatdma: fix uninitialized array usage 2016-08-08 08:02:00 +05:30
Makefile dmaengine: ioatdma: removal of dma_v3.c and relevant ioat3 references 2015-08-17 13:37:30 +05:30
prep.c dmaengine: ioatdma: Squelch framesize warnings 2016-01-25 09:49:55 +05:30
registers.h dmaengine: ioatdma: Add error handling to ioat driver 2016-08-08 08:11:42 +05:30
sysfs.c dmaengine: ioatdma: move all sysfs related code 2015-08-17 13:37:30 +05:30