linux-stable/drivers/scsi/aic94xx
John Garry 18c3c04e8e scsi: libsas: Remove notifier indirection
[ Upstream commit 121181f3f8 ]

LLDDs report events to libsas with .notify_port_event and .notify_phy_event
callbacks.

These callbacks are fixed and so there is no reason why the functions
cannot be called directly, so do that.

This neatens the code slightly, makes it more obvious, and reduces function
pointer usage, which is generally a good thing. Downside is that there are
2x more symbol exports.

[a.darwish@linutronix.de: Remove the now unused "sas_ha" local variables]

Link: https://lore.kernel.org/r/20210118100955.1761652-3-a.darwish@linutronix.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-25 09:04:11 +01:00
..
aic94xx.h scsi: aic94xx: Remove unused inline function 2020-09-15 17:54:09 -04:00
aic94xx_dev.c scsi: aic94xx: Fix a couple of kerneldoc formatting issues 2020-07-24 22:09:58 -04:00
aic94xx_dump.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_dump.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_hwi.c scsi: aic94xx: Repair kerneldoc formatting error and remove extra param 2020-07-15 16:01:59 -04:00
aic94xx_hwi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_init.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
aic94xx_reg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg_def.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_sas.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_scb.c scsi: libsas: Remove notifier indirection 2021-03-25 09:04:11 +01:00
aic94xx_sds.c scsi: libsas: Replace zero-length array with flexible-array 2020-05-11 22:26:32 -04:00
aic94xx_sds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_seq.c scsi: aic94xx: Document 'lseq' and repair asd_update_port_links() header 2020-07-15 17:25:12 -04:00
aic94xx_seq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_tmf.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kconfig treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 2019-06-19 17:09:09 +02:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00