Re: [PATCH 1/4] usb: xhci: fix build warning - missing prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Feb 2019, Greg KH wrote:

> On Wed, Feb 20, 2019 at 07:50:52PM +0200, Mathias Nyman wrote:
> > From: Jean-Philippe Menil <jpmenil@xxxxxxxxx>
> > 
> > Fix build warning when building drivers/usb/host/xhci-mem.o due to missing
> > prototype for xhci_free_virt_devices_depth_first.
> 
> There is no normal "build warning", this is a sparse fixup, right?
> 
> 

Hi Greg,

this is a build warning, at least with W=1 :

drivers/usb/host/xhci-mem.c:936:6: warning: no previous prototype for 
ʽxhci_free_virt_devices_depth_firstʼ [-Wmissing-prototypes]
 void xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int 
slot_id)

Regards,

Jean-Philippe

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux