diff options
author | Alim Akhtar <[email protected]> | 2021-08-19 22:41:31 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-08-24 23:10:14 -0400 |
commit | 313bf281f2091552f509fd05a74172c70ce7572f (patch) | |
tree | 389082d0629e66aae8b93315862900eba5ee8659 /fs/btrfs/delayed-inode.c | |
parent | b3e2c72af1d553a646c86bbb4c0be278686a295a (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/[email protected]
Fixes: 55f4b1f73631 ("scsi: ufs: ufs-exynos: Add UFS host support for Exynos SoCs")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Alim Akhtar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions