scsi: hisi_sas: Fix warnings detected by sparse
authorXingui Yang <yangxingui@huawei.com>
Mon, 15 May 2023 02:41:21 +0000 (10:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 May 2023 01:36:40 +0000 (21:36 -0400)
commitc0328cc595124579328462fc45d7a29a084cf357
tree711fc8fc8389bd5662873f357f21eba542f5854d
parenta090fc97617b1b2d0dc8dcb418cc614573a1a8be
scsi: hisi_sas: Fix warnings detected by sparse

This patch fixes the following warning:

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:2168:43: sparse: sparse: restricted __le32 degrades to integer

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202304161254.NztCVZIO-lkp@intel.com/
Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1684118481-95908-4-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c