[usb:usb-testing 43/96] drivers/usb/host/ehci-hcd.c:312:13: warning: 'unlink_empty_async_suspended' declared 'static' but never defined

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
head:   379d3d33c83b667b0edad0110693567306463882
commit: 8df0d77d8ce065ef536676fb4e1f36bfbf1dd809 [43/96] USB: EHCI: improvements to unlink_empty_async_suspended()
config: openrisc-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 8df0d77d8ce065ef536676fb4e1f36bfbf1dd809
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:312:13: warning: 'unlink_empty_async_suspended' declared 'static' but never defined

vim +312 drivers/usb/host/ehci-hcd.c

^1da177e Linus Torvalds    2005-04-16  296  	/* then disable anything that's still active */
c4f34764 Alan Stern        2012-07-11  297  	spin_lock_irq(&ehci->lock);
3d9545cc Alan Stern        2012-04-23  298  	ehci->command &= ~(CMD_ASE | CMD_PSE);
3d9545cc Alan Stern        2012-04-23  299  	ehci_writel(ehci, ehci->command, &ehci->regs->command);
c4f34764 Alan Stern        2012-07-11  300  	spin_unlock_irq(&ehci->lock);
^1da177e Linus Torvalds    2005-04-16  301  
^1da177e Linus Torvalds    2005-04-16  302  	/* hardware can take 16 microframes to turn off ... */
2f3a6b86 Manjunath Goudar  2013-06-13  303  	ehci_handshake(ehci, &ehci->regs->status, STS_ASS | STS_PSS, 0,
2f3a6b86 Manjunath Goudar  2013-06-13  304  			16 * 125);
^1da177e Linus Torvalds    2005-04-16  305  }
^1da177e Linus Torvalds    2005-04-16  306  
^1da177e Linus Torvalds    2005-04-16  307  /*-------------------------------------------------------------------------*/
^1da177e Linus Torvalds    2005-04-16  308  
f96fba0d Alan Stern        2016-01-25  309  static void end_iaa_cycle(struct ehci_hcd *ehci);
07d29b63 Alan Stern        2007-12-11  310  static void end_unlink_async(struct ehci_hcd *ehci);
32830f20 Alan Stern        2012-07-11  311  static void unlink_empty_async(struct ehci_hcd *ehci);
2a40f324 Alan Stern        2013-03-15 @312  static void unlink_empty_async_suspended(struct ehci_hcd *ehci);
7d12e780 David Howells     2006-10-05  313  static void ehci_work(struct ehci_hcd *ehci);
df202255 Alan Stern        2012-07-11  314  static void start_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh);
df202255 Alan Stern        2012-07-11  315  static void end_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh);
11a7e594 Michael Grzeschik 2014-10-13  316  static int ehci_port_power(struct ehci_hcd *ehci, int portnum, bool enable);
^1da177e Linus Torvalds    2005-04-16  317  
d58b4bcc Alan Stern        2012-07-11  318  #include "ehci-timer.c"
^1da177e Linus Torvalds    2005-04-16  319  #include "ehci-hub.c"
^1da177e Linus Torvalds    2005-04-16  320  #include "ehci-mem.c"

:::::: The code at line 312 was first introduced by commit
:::::: 2a40f324541ee61c22146214349c2ce9f5c30bcf USB: EHCI: fix regression during bus resume

:::::: TO: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


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

  Powered by Linux