mbox series

[v3,0/9] libata: remove references to 'old' error handler

Message ID 20230721163229.399676-1-nks@flawful.org
Headers show
Series libata: remove references to 'old' error handler | expand

Message

Niklas Cassel July 21, 2023, 4:32 p.m. UTC
From: Niklas Cassel <niklas.cassel@wdc.com>

Hi all,

now that the ipr driver has been modified to not hook into libata
all drivers now use the 'new' error handler, so we can remove any
references to it. And do a general cleanup to remove callbacks
which are no longer needed.


Changes since v2:
-Fixed comments from John, thank you John!
-Fixed comments from Jason, thank you Jason!
-Patch 9/9 which actually removed the old eh callbacks from
 struct ata_port_operations is new in V3.
-Updated the documentation to remove references to functions
 that do no longer exist.
-Updated documentation to be in line with the current libata
 EH code.


Hannes Reinecke (6):
  ata: remove reference to non-existing error_handler()
  ata,scsi: remove ata_sas_port_{start,stop} callbacks
  ata,scsi: remove ata_sas_port_destroy()
  ata: remove ata_sas_sync_probe()
  ata: inline ata_port_probe()
  ata,scsi: cleanup __ata_port_probe()

Niklas Cassel (3):
  ata: sata_sx4: drop already completed TODO
  ata: remove ata_bus_probe()
  ata: remove deprecated EH callbacks

 Documentation/driver-api/libata.rst |  38 +--
 drivers/ata/libata-core.c           | 355 +++++++---------------------
 drivers/ata/libata-eh.c             | 152 +++++-------
 drivers/ata/libata-sata.c           |  77 ------
 drivers/ata/libata-scsi.c           | 161 +------------
 drivers/ata/libata-sff.c            |  30 +--
 drivers/ata/libata.h                |   3 -
 drivers/ata/pata_sl82c105.c         |   3 +-
 drivers/ata/sata_sx4.c              |   1 -
 drivers/scsi/libsas/sas_ata.c       |   6 +-
 drivers/scsi/libsas/sas_discover.c  |   2 +-
 include/linux/libata.h              |  15 +-
 12 files changed, 181 insertions(+), 662 deletions(-)