1. 21 Sep, 2009 2 commits
    • Dan Williams's avatar
      ioat3: fix uninitialized var warnings · cdef57db
      Dan Williams authored
      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: default avatarDan Williams <dan.j.williams@intel.com>
      cdef57db
    • Andrew Morton's avatar
      drivers/dma/ioat/dma_v2.c: fix warnings · f477f5b3
      Andrew Morton authored
      drivers/dma/ioat/dma_v2.c: In function 'ioat2_dma_prep_memcpy_lock':
      drivers/dma/ioat/dma_v2.c:680: warning: 'hw' may be used uninitialized in this function
      drivers/dma/ioat/dma_v2.c:681: warning: 'desc' may be used uninitialized in this function
      
      Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      f477f5b3
  2. 17 Sep, 2009 1 commit
    • Dan Williams's avatar
      raid6test: fix stack overflow · 1b6df693
      Dan Williams authored
      Testing on x86_64 with NDISKS=255 yields:
      
         do_IRQ: modprobe near stack overflow (cur:ffff88007d19c000,sp:ffff88007d19c128)
      
      ...and eventually
      
         general protection fault: 0000 [#1]
      
      Moving the scribble buffers off the stack allows the test to complete
      successfully.
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      1b6df693
  3. 16 Sep, 2009 3 commits
  4. 13 Sep, 2009 1 commit
  5. 10 Sep, 2009 2 commits
  6. 09 Sep, 2009 31 commits