mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
This patch checks if div is less than or equal to zero (div <= 0). If div is zero or negative, the function returns -EINVAL, ensuring the division operation is safe to perform. Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com> Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com> Link: https://patch.msgid.link/20241107015936.211902-1-luoyifan@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org> |
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| stm32_adfsdm.c | ||
| stm32_i2s.c | ||
| stm32_sai.c | ||
| stm32_sai.h | ||
| stm32_sai_sub.c | ||
| stm32_spdifrx.c | ||