From: Pengpeng Hou <hppiscas@163.com>
To: Thierry Reding <thierry.reding@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
Pengpeng Hou <hppiscas@163.com>
Subject: [PATCH] soc/tegra: make SOC_TEGRA_CBB bool
Date: Fri, 4 Dec 2026 10:00:54 +0800 [thread overview]
Message-ID: <179634965406.74470.7747406421500772061@163.com> (raw)
The Tegra CBB option offers a module setting, but its core object is
placed in obj-y and the selected implementations register through
built-in initialization.
Make the option boolean to describe the build that actually exists. This
changes configuration choices, not the hardware error-reporting
protocol.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: b71344221466 ("soc/tegra: cbb: Add CBB 1.0 driver for Tegra194")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
The original patch was prepared with Gemini. Codex assisted with this
review and revision (Assisted-by: gpt 5).
With the ARM64 Tegra194 configuration, a request for SOC_TEGRA_CBB=m
previously resolved to m. With the boolean option its enabled default
resolved to y and an explicit n remained n. This was a Kconfig test
using the kernel dummy cross tools; no target binary was built.
drivers/soc/tegra/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
index 318e7b60434249a9bb57512a847e3ad0aa7c51ac..74f4ae83e47e87bb7a9e951a1a26a8f340bd4693 100644
--- a/drivers/soc/tegra/Kconfig
+++ b/drivers/soc/tegra/Kconfig
@@ -184,7 +184,7 @@ config SOC_TEGRA30_VOLTAGE_COUPLER
depends on REGULATOR
config SOC_TEGRA_CBB
- tristate "Tegra driver to handle error from CBB"
+ bool "Tegra driver to handle error from CBB"
depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
default y
help
base-commit: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
reply other threads:[~2026-12-04 2:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179634965406.74470.7747406421500772061@163.com \
--to=hppiscas@163.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=thierry.reding@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®