[PATCH 0/3] Rename some scsi host template functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wasn't able to think of better names than sdev_destroy() and
sdev_configure(), but sdev_prep() is a better name in just about every
way than slave_alloc().  Mostly this was done with sed, but I fixed up
a few drivers by hand.  I also avoided 'fixing' the various changelog
files in Documentation/.  Should those just be deleted?  I'm not sure
I see the value of keeping that history.

I generated this against
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi for-next
-- let me know if it needs to be against a different tree.

Matthew Wilcox (Oracle) (3):
  scsi: Rename slave_alloc to sdev_prep
  scsi: Rename slave_destroy to sdev_destroy
  scsi: Rename slave_configure to sdev_configure

 Documentation/scsi/scsi_mid_low_api.rst       | 78 +++++++++----------
 drivers/ata/libata-sata.c                     |  6 +-
 drivers/ata/libata-scsi.c                     | 12 +--
 drivers/ata/pata_macio.c                      |  6 +-
 drivers/ata/sata_nv.c                         | 16 ++--
 drivers/firewire/sbp2.c                       |  8 +-
 drivers/infiniband/ulp/srp/ib_srp.c           |  4 +-
 drivers/message/fusion/mptfc.c                | 14 ++--
 drivers/message/fusion/mptsas.c               | 14 ++--
 drivers/message/fusion/mptscsih.c             | 10 +--
 drivers/message/fusion/mptscsih.h             |  4 +-
 drivers/message/fusion/mptspi.c               | 18 ++---
 drivers/net/ethernet/mellanox/mlx4/main.c     | 12 +--
 drivers/s390/scsi/zfcp_scsi.c                 | 14 ++--
 drivers/s390/scsi/zfcp_sysfs.c                |  2 +-
 drivers/s390/scsi/zfcp_unit.c                 |  2 +-
 drivers/scsi/3w-9xxx.c                        |  6 +-
 drivers/scsi/3w-sas.c                         |  6 +-
 drivers/scsi/3w-xxxx.c                        |  8 +-
 drivers/scsi/53c700.c                         | 18 ++---
 drivers/scsi/BusLogic.c                       |  6 +-
 drivers/scsi/BusLogic.h                       |  1 -
 drivers/scsi/aacraid/linit.c                  |  6 +-
 drivers/scsi/advansys.c                       | 18 ++---
 drivers/scsi/aha152x.c                        |  2 +-
 drivers/scsi/aic7xxx/aic79xx_osm.c            |  8 +-
 drivers/scsi/aic7xxx/aic7xxx_osm.c            |  8 +-
 drivers/scsi/aic94xx/aic94xx_init.c           |  2 +-
 drivers/scsi/bfa/bfad_im.c                    | 26 +++----
 drivers/scsi/bnx2fc/bnx2fc_fcoe.c             |  6 +-
 drivers/scsi/csiostor/csio_scsi.c             | 18 ++---
 drivers/scsi/dc395x.c                         | 12 +--
 drivers/scsi/dpt_i2o.c                        |  4 +-
 drivers/scsi/dpti.h                           |  2 +-
 drivers/scsi/esp_scsi.c                       | 14 ++--
 drivers/scsi/fcoe/fcoe.c                      |  2 +-
 drivers/scsi/fnic/fnic_main.c                 |  4 +-
 drivers/scsi/gdth.c                           |  4 +-
 drivers/scsi/hisi_sas/hisi_sas.h              |  2 +-
 drivers/scsi/hisi_sas/hisi_sas_main.c         |  6 +-
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c        |  2 +-
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c        |  2 +-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c        |  2 +-
 drivers/scsi/hpsa.c                           | 18 ++---
 drivers/scsi/hptiop.c                         |  4 +-
 drivers/scsi/ibmvscsi/ibmvfc.c                | 12 +--
 drivers/scsi/ibmvscsi/ibmvscsi.c              |  6 +-
 drivers/scsi/imm.c                            |  2 +-
 drivers/scsi/ipr.c                            | 28 +++----
 drivers/scsi/ips.c                            |  6 +-
 drivers/scsi/ips.h                            |  2 +-
 drivers/scsi/isci/init.c                      |  2 +-
 drivers/scsi/iscsi_tcp.c                      |  4 +-
 drivers/scsi/libfc/fc_fcp.c                   |  6 +-
 drivers/scsi/libsas/sas_scsi_host.c           |  6 +-
 drivers/scsi/lpfc/lpfc_scsi.c                 | 24 +++---
 drivers/scsi/megaraid/megaraid_sas_base.c     | 12 +--
 drivers/scsi/mpt3sas/mpt3sas_scsih.c          | 24 +++---
 drivers/scsi/mvsas/mv_init.c                  |  2 +-
 drivers/scsi/mvumi.c                          |  4 +-
 drivers/scsi/myrb.c                           | 20 ++---
 drivers/scsi/myrs.c                           | 12 +--
 drivers/scsi/ncr53c8xx.c                      |  8 +-
 drivers/scsi/pm8001/pm8001_init.c             |  2 +-
 drivers/scsi/pmcraid.c                        | 20 ++---
 drivers/scsi/ppa.c                            |  2 +-
 drivers/scsi/ps3rom.c                         |  4 +-
 drivers/scsi/qedf/qedf_main.c                 |  4 +-
 drivers/scsi/qla1280.c                        |  6 +-
 drivers/scsi/qla2xxx/qla_os.c                 | 12 +--
 drivers/scsi/qla4xxx/ql4_os.c                 |  6 +-
 drivers/scsi/qlogicpti.c                      |  4 +-
 drivers/scsi/scsi_debug.c                     | 18 ++---
 drivers/scsi/scsi_scan.c                      | 20 ++---
 drivers/scsi/scsi_sysfs.c                     |  4 +-
 drivers/scsi/smartpqi/smartpqi_init.c         |  4 +-
 drivers/scsi/snic/snic_main.c                 | 12 +--
 drivers/scsi/stex.c                           |  4 +-
 drivers/scsi/storvsc_drv.c                    |  4 +-
 drivers/scsi/sym53c8xx_2/sym_glue.c           | 14 ++--
 drivers/scsi/ufs/ufshcd.c                     | 18 ++---
 drivers/scsi/virtio_scsi.c                    |  2 +-
 drivers/scsi/xen-scsifront.c                  |  8 +-
 drivers/staging/rts5208/rtsx.c                |  8 +-
 .../staging/unisys/visorhba/visorhba_main.c   | 12 +--
 drivers/usb/image/microtek.c                  |  8 +-
 drivers/usb/storage/scsiglue.c                | 10 +--
 drivers/usb/storage/uas.c                     |  8 +-
 include/linux/libata.h                        | 10 +--
 include/scsi/libfc.h                          |  2 +-
 include/scsi/libsas.h                         |  4 +-
 include/scsi/scsi_device.h                    |  4 +-
 include/scsi/scsi_host.h                      | 20 ++---
 net/dsa/dsa2.c                                |  2 +-
 net/dsa/dsa_priv.h                            |  2 +-
 net/dsa/slave.c                               |  2 +-
 96 files changed, 438 insertions(+), 439 deletions(-)

-- 
2.27.0




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux