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

From: Mark Brown <[email-masked]>
Date: Mon, 6 Oct 2025 12:54:07 +0100

Hi all,

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

/tmp/next/build/drivers/mailbox/mailbox.c: In function 'fw_mbox_index_xlate':
/tmp/next/build/drivers/mailbox/mailbox.c:494:15: error: 'const struct fwnode_reference_args' has no member named 'args_count'
  494 |         if (sp->args_count < 1 || ind >= mbox->num_chans)
      |               ^~
make[5]: *** [/tmp/next/build/scripts/Makefile.build:287: drivers/mailbox/mailbox.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers/mailbox] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/next/build/Makefile:2011: .] Error 2
make[1]: *** [/tmp/next/build/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2
Command exited with non-zero status 2
2388.97user 520.10system 0:21.52elapsed 13514%CPU (0avgtext+0avgdata 323276maxresident)k
0inputs+0outputs (1008major+37863234minor)pagefaults 0swaps

Caused by commit

  c889daa5a773 ("mailbox: Prevent out-of-bounds access in of_mbox_index_xlate()")

I have used the version from 20251003 instead.