summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlim Akhtar <alim.akhtar@samsung.com>2021-08-19 22:41:31 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-24 23:10:14 -0400
commit313bf281f2091552f509fd05a74172c70ce7572f (patch)
tree389082d0629e66aae8b93315862900eba5ee8659 /block
parentb3e2c72af1d553a646c86bbb4c0be278686a295a (diff)
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 'block')
0 files changed, 0 insertions, 0 deletions