aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorAlim Akhtar <[email protected]>2021-08-19 17:11:31 +0000
committerMartin K. Petersen <[email protected]>2021-08-25 03:10:14 +0000
commit313bf281f2091552f509fd05a74172c70ce7572f (patch)
tree389082d0629e66aae8b93315862900eba5ee8659 /drivers/fpga/machxo2-spi.c
parentscsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI (diff)
downloadkernel-313bf281f2091552f509fd05a74172c70ce7572f.tar.gz
kernel-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/[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 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions