linux-next: build warning after merge of the mailbox tree
Hi all,
After merging the mailbox tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
In file included from drivers/mailbox/mailbox-mpfs.c:19:include/soc/microchip/mpfs.h:43:12: warning: 'mpfs_blocking_transaction' defined but not used [-Wunused-function]
43 | static int mpfs_blocking_transaction(struct mpfs_sys_controller *mpfs_client, void *msg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Introduced by commit
de5473936808 ("mbox: add polarfire soc system controller mailbox")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
Hi all,
After merging the mailbox tree, today's linux-next build (
x86_64allmodconfig) produced this warning:In file included from
drivers/mailbox/mailbox-mpfs.c:19:include/soc/microchip/mpfs.h:43:12: warning: 'mpfs_blocking_transaction' defined but not used [-Wunused-function]
43 | static int mpfs_blocking_transaction(structmpfs_sys_controller*mpfs_client, void *msg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 5 lines
Introduced by commit
de5473936808("mbox: add polarfire soc system controller mailbox")-- Cheers, Stephen Rothwell
Hi,
That function is defined for services using the mailbox, and since currently none exist it is redundant. I will move it to another patch series that adds the services and resubmit this series.
Thanks,
Conor.