[PATCH 0/2] soc/tegra: fuse: Fix unsupported SoC init path and log formatting

"Jinhui Guo" <[email protected]>
Newsgroups gmane.linux.ports.tegra,gmane.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.