Re: [PATCH] scsi: hisi_sas: Fix warning detected by sparse

From: Martin K. Petersen
Date: Mon Aug 07 2023 - 22:51:16 EST


On Wed, 26 Jul 2023 10:47:59 +0530, Sunil V L wrote:

> LKP reports below warning when building for RISC-V
> with randconfig configuration.
>
> drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4567:35: sparse:
> sparse: incorrect type in argument 4 (different base types)
> @@ expected restricted __le32 [usertype] *[assigned] ptr
> @@ got unsigned int * @@
>
> [...]

Applied to 6.6/scsi-queue, thanks!

[1/1] scsi: hisi_sas: Fix warning detected by sparse
https://git.kernel.org/mkp/scsi/c/b7fc2caf20ea

--
Martin K. Petersen Oracle Linux Engineering