Re: linux-next: build warning after merge of the mailbox tree

From: Conor.Dooley
Date: Mon Jun 21 2021 - 10:11:13 EST


On 21/06/2021 06:57, Stephen Rothwell wrote:
> 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")
>
> -- 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.