summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2026-08-21 10:53:37 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2026-09-01 09:13:40 +0200
commit26e80ec751c87f437650a2f9eed5ef3ec436bf0b (patch)
treedcc8fa129e342345c0d7415a4c1a0ff6b7fd7398 /include
parentf93dfd5fe16bff1d5d86e1906d728ed18c681164 (diff)
clk: renesas: Make sure clk_init_data is fully initialized
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. Make sure all members are fully initialized, to avoid such bugs, and to prevent future breakage when converting drivers to a different method for specifying the parents. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Brian Masney <bmasney@redhat.com> Link: https://patch.msgid.link/b3473adc50c71aec5bc5f7ce6f5cda1727e26635.1787239813.git.geert+renesas@glider.be
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions