linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the mailbox tree
@ 2021-06-21  5:57 Stephen Rothwell
  2021-06-21 14:11 ` Conor.Dooley
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2021-06-21  5:57 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Conor Dooley, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: build warning after merge of the mailbox tree
  2021-06-21  5:57 linux-next: build warning after merge of the mailbox tree Stephen Rothwell
@ 2021-06-21 14:11 ` Conor.Dooley
  0 siblings, 0 replies; 2+ messages in thread
From: Conor.Dooley @ 2021-06-21 14:11 UTC (permalink / raw)
  To: sfr, jaswinder.singh; +Cc: linux-kernel, linux-next

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-21 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21  5:57 linux-next: build warning after merge of the mailbox tree Stephen Rothwell
2021-06-21 14:11 ` Conor.Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).