diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-08-21 10:52:25 +0200 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-10-03 00:42:12 +0200 |
| commit | c842922f5ff229c9df2a2be56327c36aced7a3a7 (patch) | |
| tree | 4a312fc5bf19dc375f55dd34fef40f61e779ec24 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 968c438e7d28a2905571502ef103d06bd6c2c4ab (diff) | |
soc/tegra: pmc: 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>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
