All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] soc/tegra: fuse: Fix unsupported SoC init path and log formatting
@ 2026-08-04 12:19 Jinhui Guo
  2026-08-04 12:19 ` [PATCH 1/2] soc/tegra: fuse: Return -ENODEV for unsupported legacy SoCs Jinhui Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jinhui Guo @ 2026-08-04 12:19 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, linux-tegra
  Cc: linux-kernel, Kartik Rajput, Jinhui Guo

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-05  7:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 12:19 [PATCH 0/2] soc/tegra: fuse: Fix unsupported SoC init path and log formatting Jinhui Guo
2026-08-04 12:19 ` [PATCH 1/2] soc/tegra: fuse: Return -ENODEV for unsupported legacy SoCs Jinhui Guo
2026-08-05  7:40   ` Thierry Reding
2026-08-04 12:19 ` [PATCH 2/2] soc/tegra: fuse: Add missing newline to APBMISC error message Jinhui Guo
2026-08-05  7:47 ` (subset) [PATCH 0/2] soc/tegra: fuse: Fix unsupported SoC init path and log formatting Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.