mirror of
https://github.com/torvalds/linux.git
synced 2026-10-28 17:55:02 +01:00
The clk_init_data structure contains several mutually-exclusive members
for different methods to specify the possible parents of a clock,
prompting drivers to initialize only the members they need. However,
not initializing all members may cause subtle issues, which are only
exposed when CONFIG_INIT_STACK_ALL_PATTERN or CONFIG_INIT_STACK_NONE is
enabled.
_register_mux() fills in init.parent_data, and assumes that
init.parent_names is NULL. However, the latter is uninitialized, and
thus may cause a crash.
Make sure all members are fully initialized, to fix such bugs, and to
avoid future breakage when converting drivers to a different method for
specifying the parents.
Fixes:
|
||
|---|---|---|
| .. | ||
| adpll.c | ||
| apll.c | ||
| autoidle.c | ||
| clk-2xxx.c | ||
| clk-3xxx.c | ||
| clk-7xx.c | ||
| clk-33xx.c | ||
| clk-43xx.c | ||
| clk-44xx.c | ||
| clk-54xx.c | ||
| clk-814x.c | ||
| clk-816x.c | ||
| clk-dra7-atl.c | ||
| clk.c | ||
| clkctrl.c | ||
| clkt_dflt.c | ||
| clkt_dpll.c | ||
| clkt_iclk.c | ||
| clock.h | ||
| clockdomain.c | ||
| composite.c | ||
| divider.c | ||
| dpll.c | ||
| dpll3xxx.c | ||
| dpll44xx.c | ||
| fapll.c | ||
| fixed-factor.c | ||
| gate.c | ||
| interface.c | ||
| Kconfig | ||
| Makefile | ||
| mux.c | ||