aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorSebastian Reichel <[email protected]>2024-03-25 19:33:36 +0000
committerHeiko Stuebner <[email protected]>2024-08-30 14:59:24 +0000
commit12fd64babaca4dc09d072f63eda76ba44119816a (patch)
treef82974830c22dffaf696ab35c51f75626efc4cbe /lib/crypto/mpi/mpi-mul.c
parentclk: rockchip: rk3588: drop unused code (diff)
downloadkernel-12fd64babaca4dc09d072f63eda76ba44119816a.tar.gz
kernel-12fd64babaca4dc09d072f63eda76ba44119816a.zip
clk: rockchip: fix error for unknown clocks
There is a clk == NULL check after the switch to check for unsupported clk types. Since clk is re-assigned in a loop, this check is useless right now for anything but the first round. Let's fix this up by assigning clk = NULL in the loop before the switch statement. Fixes: a245fecbb806 ("clk: rockchip: add basic infrastructure for clock branches") Cc: [email protected] Signed-off-by: Sebastian Reichel <[email protected]> [added fixes + stable-cc] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions