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

From: Greg KH <[email-masked]>
Date: Mon, 27 Mar 2023 09:37:21 +0200

On Mon, Mar 27, 2023 at 04:02:32PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the usb tree, today's linux-next build (s390 allmodconfig)
> failed like this:
> 
> drivers/usb/host/xhci-pci.c:91:13: error: 'xhci_msix_sync_irqs' defined but not used [-Werror=unused-function]
> 
> (reported here: http://kisskb.ellerman.id.au/kisskb/buildresult/14902506/)
> 
> Caused by commit
> 
>   9abe15d55dcc ("xhci: Move xhci MSI sync function to to xhci-pci")
> 
> The function is only called if CONFIG_PM is set, but defined
> unconditionally.

Ick.  Mathias, can you make up a patch for this?

thanks,

greg k-h