]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi: hisi_sas: create hisi_sas_get_fw_info()
authorJohn Garry <john.garry@huawei.com>
Wed, 14 Jun 2017 15:33:18 +0000 (23:33 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Jun 2017 01:31:25 +0000 (21:31 -0400)
commit0fa24c19d844945b6edf981ff425c93f20085f10
treea2510e31aedf7c1f3f0141c38b9bc7f5c5bf06d9
parent11b752490a051b79de183fee73706e13d80d3998
scsi: hisi_sas: create hisi_sas_get_fw_info()

Move the functionality to retrieve the fw info into a dedicated device
type-agnostic function, hisi_sas_get_fw_info().

The reasoning is that this function will be required for future
pci-based platforms.

Also add some debug logs for failure.

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