mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Arnd Bergmann <arnd@arndb.de>,
	Anna-Maria Behnsen <anna-maria@linutronix.de>,
	Shivamurthy Shastri <shivamurthy.shastri@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] irqchip: irq-msi-lib: fix build with PCI disabled
Date: Thu, 10 Jul 2025 09:10:15 +0100	[thread overview]
Message-ID: <86ikk0a2l4.wl-maz@kernel.org> (raw)
In-Reply-To: <20250710080021.2303640-1-arnd@kernel.org>

On Thu, 10 Jul 2025 09:00:12 +0100,
Arnd Bergmann <arnd@kernel.org> wrote:
> 
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The armada-370-xp irqchip fails in some randconfig builds because
> of a missing declaration:
> 
> In file included from drivers/irqchip/irq-armada-370-xp.c:23:
> include/linux/irqchip/irq-msi-lib.h:25:39: error: 'struct msi_domain_info' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> 
> Add a forward declaration for the msi_domain_info structure.
> 
> Fixes: e51b27438a10 ("irqchip: Make irq-msi-lib.h globally available")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  include/linux/irqchip/irq-msi-lib.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/irqchip/irq-msi-lib.h b/include/linux/irqchip/irq-msi-lib.h
> index dd8d1d138544..224ac28e88d7 100644
> --- a/include/linux/irqchip/irq-msi-lib.h
> +++ b/include/linux/irqchip/irq-msi-lib.h
> @@ -17,6 +17,7 @@
>  
>  #define MATCH_PLATFORM_MSI	BIT(DOMAIN_BUS_PLATFORM_MSI)
>  
> +struct msi_domain_info;
>  int msi_lib_irq_domain_select(struct irq_domain *d, struct irq_fwspec *fwspec,
>  			      enum irq_domain_bus_token bus_token);
>  

Acked-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.

  reply	other threads:[~2025-07-10  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-10  8:00 Arnd Bergmann
2025-07-10  8:10 ` Marc Zyngier [this message]
2025-07-10 21:56 ` [tip: irq/urgent] irqchip/irq-msi-lib: Fix " tip-bot2 for Arnd Bergmann

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=86ikk0a2l4.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=anna-maria@linutronix.de \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shivamurthy.shastri@linutronix.de \
    --cc=tglx@linutronix.de \
    /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®