diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-08-21 12:08:05 +0200 |
|---|---|---|
| committer | Iwona Winiarska <iwona.winiarska@intel.com> | 2026-09-25 22:19:32 +0200 |
| commit | fa7602b14d8962e847afb0dcedea064d36bbdb98 (patch) | |
| tree | c97668f458c51b8ae7a2ae5f511a89152bb0a177 /tools/lib/python/kdoc/python_version.py | |
| parent | 93f51579e7df248780214094418f205253383cc5 (diff) | |
peci: controller: aspeed: 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: Iwona Winiarska <iwona.winiarska@intel.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Link: https://lore.kernel.org/r/48aa77c45e109f78ccd806bc3b7bf380c5bc5e71.1787240145.git.geert+renesas@glider.be
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
