From: Matti Vaittinen <mazziesaccount@gmail.com>
To: Pengpeng Hou <hppiscas@163.com>, sre@kernel.org
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] power: supply: bd99954: select REGMAP_I2C
Date: Tue, 1 Dec 2026 09:40:05 +0200 [thread overview]
Message-ID: <37d5e08a-42ab-4a81-9745-2b856f856afe@gmail.com> (raw)
In-Reply-To: <20261130124436.74649-1-hppiscas@163.com>
On 30/11/2026 14:44, Pengpeng Hou wrote:
> bd99954-charger.c initializes an I2C regmap using
> devm_regmap_init_i2c(), but CHARGER_BD99954 does not select
> REGMAP_I2C. The driver can therefore be enabled without the required
> register-transport implementation and fail to build.
>
> Select REGMAP_I2C so the backend is enabled at the linkage level
> required by this consumer, rather than relying on another driver to
> pull it in.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: 0902f8366491 ("power: supply: Support ROHM bd99954 charger")
> Signed-off-by: Pengpeng Hou <hppiscas@163.com>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductor
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
prev parent reply other threads:[~2026-12-01 7:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 12:44 Pengpeng Hou
2026-12-01 7:40 ` Matti Vaittinen [this message]
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=37d5e08a-42ab-4a81-9745-2b856f856afe@gmail.com \
--to=mazziesaccount@gmail.com \
--cc=hppiscas@163.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@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®