diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-05-13 06:28:24 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-14 02:53:53 +0300 |
commit | ad506586cb69292b6ac59ab95468aadd54b19ab7 (patch) | |
tree | bd0914b4fc4f541c4fec8d3e7e98213a61afb802 /drivers/net | |
parent | f440092bc5cae65982087417501febdcf5cd1d2b (diff) | |
download | linux-ad506586cb69292b6ac59ab95468aadd54b19ab7.tar.xz |
dpll: fix return value check for kmemdup
The return value of kmemdup() is dst->freq_supported, not
src->freq_supported. Update the check accordingly.
Fixes: 830ead5fb0c5 ("dpll: fix pin dump crash for rebound module")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240513032824.2410459-1-nichen@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions