diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-21 09:22:29 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-21 09:22:29 -0700 |
commit | cdef57dbb618608bfffda2fc32c8d0a4012a1d3a (patch) | |
tree | e58d3301ea4fb264f713c4602c25e6451d4e6707 /crypto/async_tx | |
parent | f477f5b3316f39c841aa121a219b82b3a56e7da7 (diff) | |
download | op-kernel-dev-cdef57dbb618608bfffda2fc32c8d0a4012a1d3a.zip op-kernel-dev-cdef57dbb618608bfffda2fc32c8d0a4012a1d3a.tar.gz |
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>
Diffstat (limited to 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions