diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2018-05-09 17:10:46 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-18 17:22:09 +0200 |
commit | a2b3820bddfbffcfbf0e8170e77de65d8b8def98 (patch) | |
tree | 6c36cbbece9ee0a2731c6486c5c18ee9011076fa /drivers/scsi/hisi_sas/Kconfig | |
parent | scsi: hisi_sas: relocate smp sg map (diff) | |
download | linux-a2b3820bddfbffcfbf0e8170e77de65d8b8def98.tar.xz linux-a2b3820bddfbffcfbf0e8170e77de65d8b8def98.zip |
scsi: hisi_sas: make return type of prep functions void
Since the task prep functions now should not fail, adjust the return
types to void.
In addition, some checks in the task prep functions are relocated to the
main module; this is specifically the check for the number of elements
in an sg list exceeded the HW SGE limit.
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/Kconfig')
0 files changed, 0 insertions, 0 deletions