diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2025-01-16 21:22:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-17 14:54:36 +0300 |
commit | eaeee4225dba30bef4d424bdf134a07b7f423e8b (patch) | |
tree | 086851ef783d5b9fa043fecd9bc6a81f1035dbe7 /scripts/gdb/linux/utils.py | |
parent | 39d0be87438a0cc29151898c7fba24b43f2f3df8 (diff) | |
download | linux-eaeee4225dba30bef4d424bdf134a07b7f423e8b.tar.xz |
serial: sh-sci: Drop __initdata macro for port_cfg
The port_cfg object is used by serial_console_write(), which serves as
the write function for the earlycon device. Marking port_cfg as __initdata
causes it to be freed after kernel initialization, resulting in earlycon
becoming unavailable thereafter. Remove the __initdata macro from port_cfg
to resolve this issue.
Fixes: 0b0cced19ab1 ("serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support")
Cc: stable@vger.kernel.org
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Fixes: 0b0cced19ab15c9e ("serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support")
Link: https://lore.kernel.org/r/20250116182249.3828577-2-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions