linux_dsm_epyc7002/drivers/dma/ioat
Paul Bolle e6a5fa6340 ioatdma: silence GCC warnings
Building dma_v3.o triggers a GCC warning:
    drivers/dma/ioat/dma_v3.c: In function ‘__ioat3_prep_pq16_lock’:
    drivers/dma/ioat/dma_v3.c:264:11: warning: array subscript is below array bounds [-Warray-bounds]
    drivers/dma/ioat/dma_v3.c:264:11: warning: array subscript is below array bounds [-Warray-bounds]

This warning is caused by pq16_set_src(). It uses "int idx" as an index
to an eight element array. Changing "idx" to "unsigned" silences this
warning. Apparently GCC can then determine that "idx" will never be
negative.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <djbw@fb.com>
2013-08-23 00:21:44 -07:00
..
dca.c ioat/dca: Update DCA BIOS workarounds to use TAINT_FIRMWARE_WORKAROUND 2013-03-22 12:55:38 -04:00
dma_v2.c
dma_v2.h drivers/dma: remove unused support for MEMSET operations 2013-07-03 16:07:42 -07:00
dma_v3.c ioatdma: silence GCC warnings 2013-08-23 00:21:44 -07:00
dma.c drivers/dma: remove unused support for MEMSET operations 2013-07-03 16:07:42 -07:00
dma.h ioatdma: Adding write back descriptor error status support for ioatdma 3.3 2013-04-15 22:46:15 +05:30
hw.h drivers/dma: remove unused support for MEMSET operations 2013-07-03 16:07:42 -07:00
Makefile
pci.c ioatdma: Adding support for 16 src PQ ops and super extended descriptors 2013-04-15 22:46:15 +05:30
registers.h ioatdma: Adding write back descriptor error status support for ioatdma 3.3 2013-04-15 22:46:15 +05:30