Subject: linux-next: build failure after merge of the mailbox tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 21 Jul 2025 13:13:48 +1000

Hi all,

After merging the mailbox tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/mailbox/mtk-tinysys-mailbox.c: In function 'mtk_tinysys_mhu_mbox_startup':
drivers/mailbox/mtk-tinysys-mailbox.c:95:9: error: implicit declaration of function 'irq_clear_status_flags' [-Wimplicit-function-declaration]
   95 |         irq_clear_status_flags(priv->irq, IRQ_NOAUTOEN);
      |         ^~~~~~~~~~~~~~~~~~~~~~
drivers/mailbox/mtk-tinysys-mailbox.c:95:43: error: 'IRQ_NOAUTOEN' undeclared (first use in this function); did you mean 'IRQF_NO_AUTOEN'?
   95 |         irq_clear_status_flags(priv->irq, IRQ_NOAUTOEN);
      |                                           ^~~~~~~~~~~~
      |                                           IRQF_NO_AUTOEN
drivers/mailbox/mtk-tinysys-mailbox.c:95:43: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

  43a9f5ab3d17 ("mailbox: Add MediaTek TinySYS MHU-like Mailbox")

Forgot to include linux/irq.h ...

I have used the mailbox tree from next-20250718 for today.

-- 
Cheers,
Stephen Rothwell