diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-08-21 12:03:30 +0200 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-08-28 04:06:41 +0200 |
| commit | 797dcf32256f2705cfcc8cceb08cb95c15e227f3 (patch) | |
| tree | 72b5fbbb19448eeaf74425170c3f4bdb308cdd75 /scripts/objdiff | |
| parent | 3cae804dd2a459b18a130f4f97d9d8598eb862b4 (diff) | |
| download | linux-next-797dcf32256f2705cfcc8cceb08cb95c15e227f3.tar.gz linux-next-797dcf32256f2705cfcc8cceb08cb95c15e227f3.zip | |
i2c: bcm2835: 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: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/9f82f37e6d6c069cd44326bcd5e5a2a8069a13a9.1787239980.git.geert+renesas@glider.be
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
