diff options
author | Fabio Estevam <festevam@gmail.com> | 2022-05-26 03:00:22 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-07-12 12:25:33 +0200 |
commit | 7dc65e3c0ef4b746a583b7c58f99873fddf5ccfa (patch) | |
tree | 8c85f6a0b2df6a211e06251ae5d47cce262a5156 /mm/migrate.c | |
parent | mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch (diff) | |
download | linux-7dc65e3c0ef4b746a583b7c58f99873fddf5ccfa.tar.xz linux-7dc65e3c0ef4b746a583b7c58f99873fddf5ccfa.zip |
mmc: mxcmmc: Silence a clang warning
Change the of_device_get_match_data() cast to (uintptr_t)
to silence the following clang warning:
drivers/mmc/host/mxcmmc.c:1028:18: warning: cast to smaller integer type 'enum mxcmci_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 8223e885e74b ("mmc: mxc: Convert the driver to DT-only")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20220526010022.1163483-1-festevam@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions