]> Gentwo Git Trees - linux/.git/commit
clk: stm32f4: fix an uninitialized variable
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Fri, 24 Jan 2025 11:16:54 +0000 (12:16 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 4 Mar 2025 19:50:44 +0000 (11:50 -0800)
commit9c981c868f5f335e1b51e766b5d36799de163d43
tree79aeab1479d209a9dcd106bbd693c0362acf161a
parenta250cd4c19015bb7fceb2e5ca1ea2258bee9492a
clk: stm32f4: fix an uninitialized variable

The variable s, used by pr_debug() to print the mnemonic of the modulation
depth in use, was not initialized. Fix the output by addressing the correct
mnemonic.

Fixes: 65b3516dbe50 ("clk: stm32f4: support spread spectrum clock generation")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/77355eb9-19b3-46e5-a003-c21c0fae5bcd@stanley.mountain
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20250124111711.1051436-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-stm32f4.c