linux-yocto/drivers/dpll
Jiasheng Jiang c4f025a58e dpll: Add an assertion to check freq_supported_num
[ Upstream commit 39e912a959 ]

Since the driver is broken in the case that src->freq_supported is not
NULL but src->freq_supported_num is 0, add an assertion for it.

Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Link: https://patch.msgid.link/20250228150210.34404-1-jiashengjiangcool@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-29 11:02:31 +02:00
..
dpll_core.c dpll: Add an assertion to check freq_supported_num 2025-05-29 11:02:31 +02:00
dpll_core.h dpll: rely on rcu for netdev_dpll_pin() 2024-02-26 18:39:34 -08:00
dpll_netlink.c dpll: add Embedded SYNC feature for a pin 2024-08-26 19:21:14 -07:00
dpll_netlink.h dpll: netlink: Add DPLL framework base functions 2023-09-17 11:50:20 +01:00
dpll_nl.c dpll: add Embedded SYNC feature for a pin 2024-08-26 19:21:14 -07:00
dpll_nl.h dpll: fix possible deadlock during netlink dump operation 2024-02-08 18:29:21 -08:00
Kconfig dpll: indent DPLL option type by a tab 2024-03-25 19:40:23 -07:00
Makefile