[libata] ATAPI pad allocation fixes/cleanup
Use ata_pad_{alloc,free} in two drivers, to factor out common code. Add ata_pad_{alloc,free} to two other drivers, which needed the padding but had not been updated.
Showing
- drivers/scsi/ahci.c 6 additions, 5 deletionsdrivers/scsi/ahci.c
- drivers/scsi/libata-core.c 5 additions, 4 deletionsdrivers/scsi/libata-core.c
- drivers/scsi/sata_mv.c 23 additions, 8 deletionsdrivers/scsi/sata_mv.c
- drivers/scsi/sata_sil24.c 24 additions, 9 deletionsdrivers/scsi/sata_sil24.c
- include/linux/libata.h 13 additions, 0 deletionsinclude/linux/libata.h
Loading
Please register or sign in to comment