WSL2-Linux-Kernel/drivers/dma/ioat
Dan Williams cdef57dbb6 ioat3: fix uninitialized var warnings
drivers/dma/ioat/dma_v3.c: In function 'ioat3_prep_memset_lock':
drivers/dma/ioat/dma_v3.c:439: warning: 'fill' may be used uninitialized in this function
drivers/dma/ioat/dma_v3.c:437: warning: 'desc' may be used uninitialized in this function
drivers/dma/ioat/dma_v3.c: In function '__ioat3_prep_xor_lock':
drivers/dma/ioat/dma_v3.c:489: warning: 'xor' may be used uninitialized in this function
drivers/dma/ioat/dma_v3.c:486: warning: 'desc' may be used uninitialized in this function
drivers/dma/ioat/dma_v3.c: In function '__ioat3_prep_pq_lock':
drivers/dma/ioat/dma_v3.c:631: warning: 'pq' may be used uninitialized in this function
drivers/dma/ioat/dma_v3.c:628: warning: 'desc' may be used uninitialized in this function

gcc-4.0, unlike gcc-4.3, does not see that these variables are
initialized before use.  Convert the descriptor loops to do-while make
this initialization apparent.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-09-21 09:22:29 -07:00
..
Makefile ioat3: split ioat3 support to its own file, add memset 2009-09-08 17:42:55 -07:00
dca.c ioat: ___devinit annotate the initialization paths 2009-09-08 17:30:24 -07:00
dma.c Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
dma.h ioat: driver version 4.0 2009-09-10 11:27:36 -07:00
dma_v2.c drivers/dma/ioat/dma_v2.c: fix warnings 2009-09-21 09:17:58 -07:00
dma_v2.h Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
dma_v3.c ioat3: fix uninitialized var warnings 2009-09-21 09:22:29 -07:00
hw.h ioat3: hardware version 3.2 register / descriptor definitions 2009-09-08 17:42:54 -07:00
pci.c dca: registering requesters in multiple dca domains 2009-09-10 10:00:05 -07:00
registers.h ioat3: xor support 2009-09-08 17:42:57 -07:00