diff options
| author | Yihang Li <[email protected]> | 2025-05-15 01:35:04 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-05-21 02:04:48 +0000 |
| commit | 0c52f621f5be7fa8dc04ca9382b8cdc8ff94b714 (patch) | |
| tree | 1db13e14d4484357612799d1c0a71bf67006676b /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | scsi: mpt3sas: Fix _ctl_get_mpt_mctp_passthru_adapter() to return IOC pointer (diff) | |
| download | kernel-0c52f621f5be7fa8dc04ca9382b8cdc8ff94b714.tar.gz kernel-0c52f621f5be7fa8dc04ca9382b8cdc8ff94b714.zip | |
scsi: hisi_sas: Fix warning detected by sparse
LKP reports below warning when building for RISC-V with randconfig
configuration.
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4554:25: sparse:
sparse: incorrect type in argument 4 (different base types)
@@ expected restricted __le32 [usertype] *[assigned] ptr
@@ got unsigned int * @@
Type cast to fix this warning.
Fixes: 4ca7fe99fc84 ("scsi: hisi_sas: Use macro instead of magic number")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Yihang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
