[PATCH 0/2] soc/tegra: fuse: Fix unsupported SoC init path and log formatting
"Jinhui Guo" <[email protected]> Tue, 4 Aug 2026 20:19:08 +0800
| Newsgroups | org.kernel.vger.linux-tegra,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi, This series contains two small fixes for the Tegra fuse driver. Patch 1 fixes the legacy initialization path used on 32-bit ARM systems when no FUSE device tree node is present. If the detected chip ID is not supported, the current code only emits a warning and then continues with fuse->soc left as NULL. This can lead to a NULL pointer dereference when fuse->soc->init(fuse) is called later. Return -ENODEV from the default case to stop initialization immediately. Patch 2 adds a missing trailing newline to an APBMISC error message in tegra_acpi_init_apbmisc(), so the kernel log remains properly formatted. Jinhui Guo (2): soc/tegra: fuse: Return -ENODEV for unsupported legacy SoCs soc/tegra: fuse: Add missing newline to APBMISC error message drivers/soc/tegra/fuse/fuse-tegra.c | 2 +- drivers/soc/tegra/fuse/tegra-apbmisc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.20.1