summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorAlim Akhtar <alim.akhtar@samsung.com>2021-08-19 19:11:31 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-25 05:10:14 +0200
commit313bf281f2091552f509fd05a74172c70ce7572f (patch)
tree389082d0629e66aae8b93315862900eba5ee8659 /drivers/scsi/scsi_debug.c
parentscsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI (diff)
downloadlinux-313bf281f2091552f509fd05a74172c70ce7572f.tar.xz
linux-313bf281f2091552f509fd05a74172c70ce7572f.zip
scsi: ufs: ufs-exynos: Fix static checker warning
clk_get_rate() returns unsigned long and currently this driver stores the return value in u32 type, resulting the below warning: Fixed smatch warnings: drivers/scsi/ufs/ufs-exynos.c:286 exynos_ufs_get_clk_info() warn: wrong type for 'ufs->mclk_rate' (should be 'ulong') drivers/scsi/ufs/ufs-exynos.c:287 exynos_ufs_get_clk_info() warn: wrong type for 'pclk_rate' (should be 'ulong') Link: https://lore.kernel.org/r/20210819171131.55912-1-alim.akhtar@samsung.com Fixes: 55f4b1f73631 ("scsi: ufs: ufs-exynos: Add UFS host support for Exynos SoCs") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions