The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Pengpeng Hou <hppiscas@163.com>
Cc: rafael@kernel.org,  daniel.lezcano@kernel.org,
	 rui.zhang@intel.com, lukasz.luba@arm.com,
	 linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] thermal: armada: select REGMAP_MMIO
Date: Wed, 02 Dec 2026 13:14:09 +0100	[thread overview]
Message-ID: <87ecbznalq.fsf@bootlin.com> (raw)
In-Reply-To: <20261130130142.78229-1-hppiscas@163.com> (Pengpeng Hou's message of "Mon, 30 Nov 2026 21:01:42 +0800")

On 30/11/2026 at 21:01:42 +08, Pengpeng Hou <hppiscas@163.com> wrote:

> armada_thermal.c initializes an MMIO regmap using
> devm_regmap_init_mmio(), but ARMADA_THERMAL does not select
> REGMAP_MMIO. The driver can therefore be enabled without the
> required register-transport implementation and fail to build.
>
> Select REGMAP_MMIO 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: 3d4e51844a4e ("thermal: armada: convert driver to syscon register accesses")
> Signed-off-by: Pengpeng Hou <hppiscas@163.com>

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

      reply	other threads:[~2026-12-02 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 13:01 [PATCH] thermal: armada: select REGMAP_MMIO Pengpeng Hou
2026-12-02 12:14 ` Miquel Raynal [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=87ecbznalq.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=daniel.lezcano@kernel.org \
    --cc=hppiscas@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    /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