1. 24 7月, 2008 3 次提交
    • D
      drivers/ide/ide-tape.c: remove double kfree · 4b507505
      Darren Jenkins 提交于
      Coverity CID: 2336 USE_AFTER_FREE
      
      drivers/ide/ide-tape.c ide_tape_kfree_buffer() double free's a pointer
      (hint freed by an alias in first outer loop).
      
      This patch simply removes the superfluous kfree().
      Signed-off-by: NDarren Jenkins <darrenrjenkins@gmailcom>
      Acked-by: NBorislav Petkov <petkovbb@gmail.com>
      Cc: gadio@netvision.net.il
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      4b507505
    • B
      ide: add struct ide_tp_ops (take 2) · 374e042c
      Bartlomiej Zolnierkiewicz 提交于
      * Add struct ide_tp_ops for transport methods.
      
      * Add 'const struct ide_tp_ops *tp_ops' to struct ide_port_info
        and ide_hwif_t.
      
      * Set the default hwif->tp_ops in ide_init_port_data().
      
      * Set host driver specific hwif->tp_ops in ide_init_port().
      
      * Export ide_exec_command(), ide_read_status(), ide_read_altstatus(),
        ide_read_sff_dma_status(), ide_set_irq(), ide_tf_{load,read}()
        and ata_{in,out}put_data().
      
      * Convert host drivers and core code to use struct ide_tp_ops.
      
      * Remove no longer needed default_hwif_transport().
      
      * Cleanup ide_hwif_t from methods that are now in struct ide_tp_ops.
      
      While at it:
      
      * Use struct ide_port_info in falconide.c and q40ide.c.
      
      * Rename ata_{in,out}put_data() to ide_{in,out}put_data().
      
      v2:
      
      * Fix missing convertion in ns87415.c.
      
      There should be no functional changes caused by this patch.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      374e042c
    • B
      ide: add ->read_status method · b73c7ee2
      Bartlomiej Zolnierkiewicz 提交于
      * Remove ide_read_status() inline helper.
      
      * Add ->read_status method for reading ATA Status register
        and use it instead of ->INB.
      
      While at it:
      
      * Don't use HWGROUP() macro.
      
      There should be no functional changes caused by this patch.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      b73c7ee2
  2. 22 7月, 2008 1 次提交
  3. 17 7月, 2008 1 次提交
  4. 16 7月, 2008 30 次提交
  5. 21 6月, 2008 1 次提交
  6. 29 4月, 2008 4 次提交