aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorSergio Perez Gonzalez <[email protected]>2025-07-07 18:55:41 +0000
committerUlf Hansson <[email protected]>2025-07-10 08:43:38 +0000
commit25a36912dc4456c519858179997e5375e76d6104 (patch)
tree85d8d662411f66c1bd58bbf8a90c54afe00c031a /drivers/platform/x86/intel/pmt/class.c
parentmmc: Remove redundant pm_runtime_mark_last_busy() calls (diff)
downloadkernel-25a36912dc4456c519858179997e5375e76d6104.tar.gz
kernel-25a36912dc4456c519858179997e5375e76d6104.zip
mmc: loongson2: prevent integer overflow in ret variable
In loongson2_mmc_dll_mode_init(), `ret` variable is declared as u32 but it is expected to hold an int value. Fixes: d0f8e961deae ("mmc: loongson2: Add Loongson-2K2000 SD/SDIO/eMMC controller driver") Reported-by: https://scan7.scan.coverity.com/#/project-view/53936/11354?selectedIssue=1644958 Signed-off-by: Sergio Perez Gonzalez <[email protected]> Reviewed-by: Binbin Zhou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions