OpenCloudOS-Kernel/drivers/scsi/pm8001
Johannes Thumshirn c5ce0abeb6 scsi: sas: move scsi_remove_host call into sas_remove_host
Move scsi_remove_host call into sas_remove_host and remove it from SAS
HBA drivers, so we don't mess up the ordering. This solves an issue with
double deleting sysfs entries that was introduced by the change of sysfs
behaviour from commit bcdde7e221 ("sysfs: make __sysfs_remove_dir()
recursive").

[mkp: addressed checkpatch complaints]

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Suggested-by: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: James Bottomley <jejb@linux.vnet.ibm.com>
Cc: Jinpu Wang <jinpu.wang@profitbricks.com>
Cc: John Garry <john.garry@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jinpu Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-04-21 10:34:29 -04:00
..
Makefile [SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files 2013-05-10 07:47:47 -07:00
pm80xx_hwi.c pm80xx: do not examine registers for iButton feature if ATTO adapter 2015-11-02 23:39:35 -05:00
pm80xx_hwi.h pm80xx: Handling Invalid SSP Response frame 2015-08-26 17:18:31 -07:00
pm8001_chips.h [SCSI] pm8001: fix endian issue with code optimization. 2012-02-29 16:54:09 -06:00
pm8001_ctl.c pm8001: Update nvmd response data to request buffer 2014-09-16 09:09:48 -07:00
pm8001_ctl.h [SCSI] pm80xx: Firmware logging support. 2013-10-25 09:58:16 +01:00
pm8001_defs.h pm80xx: add support for PMC Sierra 8070 and PMC Sierra 8072 SAS controllers 2015-11-02 23:34:12 -05:00
pm8001_hwi.c scsi: pm8001: Mark symbols static where possible 2016-09-26 21:10:45 -04:00
pm8001_hwi.h [SCSI] pm80xx: Resetting the phy state. 2013-12-02 10:35:52 -08:00
pm8001_init.c scsi: sas: move scsi_remove_host call into sas_remove_host 2017-04-21 10:34:29 -04:00
pm8001_sas.c scsi: pm8001: Mark symbols static where possible 2016-09-26 21:10:45 -04:00
pm8001_sas.h scsi: pm8001: switch to pci_irq_alloc_vectors 2017-02-06 19:12:30 -05:00