mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Arnd Bergmann <arnd@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: mt6363: select CONFIG_IRQ_DOMAIN
Date: Tue, 26 May 2026 12:24:39 +0200	[thread overview]
Message-ID: <963068ab-6d87-4e5f-b6bc-de1b27b7f621@collabora.com> (raw)
In-Reply-To: <20260526102003.2527570-1-arnd@kernel.org>

On 5/26/26 12:19, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> When build-testing this driver without CONFIG_IRQ_DOMAIN causes
> a compile-time error:
> 
> drivers/regulator/mt6363-regulator.c: In function 'mt6363_regulator_probe':
> drivers/regulator/mt6363-regulator.c:884:18: error: implicit declaration of function 'irq_find_host' [-Wimplicit-function-declaration]
>    884 |         domain = irq_find_host(interrupt_parent);
>        |                  ^~~~~~~~~~~~~
> drivers/regulator/mt6363-regulator.c:884:16: error: assignment to 'struct irq_domain *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
>    884 |         domain = irq_find_host(interrupt_parent);
>        |                ^
> drivers/regulator/mt6363-regulator.c:896:30: error: implicit declaration of function 'irq_create_fwspec_mapping'; did you mean 'irq_create_of_mapping'? [-Wimplicit-function-declaration]
>    896 |                 info->virq = irq_create_fwspec_mapping(&fwspec);
>        |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
>        |                              irq_create_of_mapping
> 
> This is rather hard to trigger because so many other drivers
> enable IRQ_DOMAIN already, but I ran into this on an s390
> randconfig build.
> 
> Ensure this is always enabled using a Kconfig 'select IRQ_DOMAIN'
> entry, as we do for all other users of this.
> 
> Fixes: 3c36965df808 ("regulator: Add support for MediaTek MT6363 SPMI PMIC Regulators")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>


  reply	other threads:[~2026-05-26 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26 10:19 Arnd Bergmann
2026-05-26 10:24 ` AngeloGioacchino Del Regno [this message]
2026-05-26 14:17 ` Mark Brown

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=963068ab-6d87-4e5f-b6bc-de1b27b7f621@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.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®