scsi: hisi_sas: Add helper to process bcast events
authorJohn Garry <john.garry@huawei.com>
Mon, 5 Sep 2022 11:48:48 +0000 (19:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Sep 2022 02:28:11 +0000 (22:28 -0400)
commite9b6bada980957e0ada6613a749875e133a0327d
tree74e9fd3c1a199a22bbfe26f5e06cccaa121c9fc2
parent11ff0c98fca35df16c84d4eee52008faecaf10a6
scsi: hisi_sas: Add helper to process bcast events

Add a helper for bcast processing to reduce duplication.

Link: https://lore.kernel.org/r/1662378529-101489-5-git-send-email-john.garry@huawei.com
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c