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

From: Mark Brown <[email-masked]>
Date: Tue, 7 Oct 2025 13:04:03 +0100

Hi all,

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

/tmp/next/build/drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c: In function 'mdp_probe':
/tmp/next/build/drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:297:41: error: implicit declaration of function 'cmdq_get_shift_pa' [-Wimplicit-function-declaration]
  297 |                 mdp->cmdq_shift_pa[i] = cmdq_get_shift_pa(mdp->cmdq_clt[i]->chan);
      |                                         ^~~~~~~~~~~~~~~~~
make[8]: *** [/tmp/next/build/scripts/Makefile.build:287: drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.o] Error 1
make[7]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers/media/platform/mediatek/mdp3] Error 2
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers/media/platform/mediatek] Error 2
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers/media/platform] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers/media] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/next/build/scripts/Makefile.build:556: drivers] Error 2
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
18.77user 674.76system 0:08.77elapsed 7908%CPU (0avgtext+0avgdata 173604maxresident)k
0inputs+0outputs (6major+965196minor)pagefaults 0swaps

Caused by commit

  58e172b23fe2f ("mailbox: mtk-cmdq: Remove unused cmdq_get_shift_pa()")

I have used the version from 20251006 instead.