scsi: hisi_sas: Change return variable type in phy_up_v3_hw()
authorXiang Chen <chenxiang66@hisilicon.com>
Thu, 28 Feb 2019 14:50:57 +0000 (22:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Mar 2019 00:26:46 +0000 (19:26 -0500)
commitfba770c6682447f1998267f4143595e77be4f112
tree0e5bf3c5f789b3e8a34d29d70c87aecace644b15
parentb8870ec63676aba1d823f0b36c5f7e9929e57d23
scsi: hisi_sas: Change return variable type in phy_up_v3_hw()

According to the tool fortify, phy_up_v3_hw() returns signed value, while
it should return an unsigned value.

So change variable "res" from int to irq_return_t.

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>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c