1. 02 Jan, 2009 1 commit
  2. 29 Dec, 2008 1 commit
  3. 30 Nov, 2008 1 commit
    • Al Viro's avatar
      advansys fix on ISA-less configs · 30037818
      Al Viro authored
      
      The code
      
              if (shost->dma_channel != NO_ISA_DMA)
                      free_dma(shost->dma_channel);
      
      in there is triggerable only if we have CONFIG_ISA (we only set ->dma_channel to
      something other than NO_ISA_DMA under #ifdef CONFIG_ISA).  OTOH, free_dma() is
      not guaranteed to be there in absense of CONFIG_ISA.  IOW, driver runs into
      undefined symbols on PCI-but-not-ISA configs (e.g. on frv) and it's a false
      positive.
      
      Fix: put the entire if () under #ifdef CONFIG_ISA; behaviour doesn't change and
      dependency on free_dma() disappears for !CONFIG_ISA.
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      30037818
  4. 27 Jul, 2008 1 commit
  5. 07 Mar, 2008 1 commit
  6. 11 Feb, 2008 1 commit
    • FUJITA Tomonori's avatar
      [SCSI] advansys: fix overrun_buf aligned bug · 7d5d408c
      FUJITA Tomonori authored
      
      struct asc_dvc_var needs overrun buffer to be placed on an 8 byte
      boundary. advansys defines struct asc_dvc_var:
      
      struct asc_dvc_var {
      	...
      	uchar overrun_buf[ASC_OVERRUN_BSIZE] __aligned(8);
      
      The problem is that struct asc_dvc_var is placed on
      shost->hostdata. So if the hostdata is not on an 8 byte boundary, the
      advansys crashes. The hostdata is placed on a sizeof(unsigned long)
      boundary so the 8 byte boundary is not garanteed with x86_32.
      
      With 2.6.23 and 2.6.24, the hostdata is on an 8 byte boundary by
      chance, but with the current git, it's not.
      
      This patch removes overrun_buf static array and use kzalloc.
      Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      7d5d408c
  7. 07 Feb, 2008 1 commit
  8. 23 Jan, 2008 1 commit
  9. 14 Jan, 2008 1 commit
  10. 12 Oct, 2007 31 commits