[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202006301056.8ppxjF2q%lkp@intel.com>
Date: Tue, 30 Jun 2020 10:20:04 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: drivers/usb/gadget/udc/lpc32xx_udc.c:1928:6: warning: no previous
prototype for 'udc_send_in_zlp'
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: 792e559e94bc88a281b10568e99fc469fc28a34d udc: lpc32xx: fix 64-bit compiler warning
date: 9 months ago
config: c6x-randconfig-r004-20200630 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 792e559e94bc88a281b10568e99fc469fc28a34d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'ubuf' not described in 'ci_port_test_write'
drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'count' not described in 'ci_port_test_write'
drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'ppos' not described in 'ci_port_test_write'
drivers/usb/chipidea/debug.c:122: warning: Function parameter or member 's' not described in 'ci_qheads_show'
drivers/usb/chipidea/debug.c:122: warning: Function parameter or member 'data' not described in 'ci_qheads_show'
drivers/usb/chipidea/debug.c:154: warning: Function parameter or member 's' not described in 'ci_requests_show'
drivers/usb/chipidea/debug.c:154: warning: Function parameter or member 'data' not described in 'ci_requests_show'
drivers/phy/phy-core.c:1045: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register'
drivers/phy/phy-core.c:1092: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister'
drivers/usb/class/cdc-wdm.c:961: warning: Function parameter or member 'manage_power' not described in 'usb_cdc_wdm_register'
/tmp/ccChThg0.s: Assembler messages:
/tmp/ccChThg0.s:1341: Warning: ignoring changed section attributes for .far
drivers/usb/phy/phy.c:98: warning: Function parameter or member 'work' not described in 'usb_phy_notify_charger_work'
drivers/usb/phy/phy.c:161: warning: Function parameter or member 'nb' not described in 'usb_phy_get_charger_type'
drivers/usb/phy/phy.c:161: warning: Function parameter or member 'state' not described in 'usb_phy_get_charger_type'
drivers/usb/phy/phy.c:161: warning: Function parameter or member 'data' not described in 'usb_phy_get_charger_type'
drivers/usb/phy/phy.c:183: warning: Function parameter or member 'usb_phy' not described in 'usb_phy_set_charger_current'
drivers/usb/phy/phy.c:183: warning: Function parameter or member 'mA' not described in 'usb_phy_set_charger_current'
drivers/usb/phy/phy.c:233: warning: Function parameter or member 'usb_phy' not described in 'usb_phy_get_charger_current'
drivers/usb/phy/phy.c:233: warning: Function parameter or member 'min' not described in 'usb_phy_get_charger_current'
drivers/usb/phy/phy.c:233: warning: Function parameter or member 'max' not described in 'usb_phy_get_charger_current'
drivers/usb/phy/phy.c:270: warning: Function parameter or member 'usb_phy' not described in 'usb_phy_set_charger_state'
drivers/usb/phy/phy.c:270: warning: Function parameter or member 'state' not described in 'usb_phy_set_charger_state'
drivers/usb/phy/phy.c:416: warning: Function parameter or member 'dev' not described in 'devm_usb_get_phy'
drivers/usb/phy/phy.c:416: warning: Function parameter or member 'type' not described in 'devm_usb_get_phy'
drivers/usb/phy/phy.c:445: warning: Function parameter or member 'type' not described in 'usb_get_phy'
drivers/usb/phy/phy.c:489: warning: Function parameter or member 'dev' not described in 'devm_usb_get_phy_by_node'
drivers/usb/phy/phy.c:489: warning: Function parameter or member 'node' not described in 'devm_usb_get_phy_by_node'
drivers/usb/phy/phy.c:489: warning: Function parameter or member 'nb' not described in 'devm_usb_get_phy_by_node'
drivers/usb/phy/phy.c:547: warning: Function parameter or member 'dev' not described in 'devm_usb_get_phy_by_phandle'
drivers/usb/phy/phy.c:547: warning: Function parameter or member 'phandle' not described in 'devm_usb_get_phy_by_phandle'
drivers/usb/phy/phy.c:547: warning: Function parameter or member 'index' not described in 'devm_usb_get_phy_by_phandle'
drivers/usb/phy/phy.c:579: warning: Function parameter or member 'dev' not described in 'devm_usb_put_phy'
drivers/usb/phy/phy.c:579: warning: Function parameter or member 'phy' not described in 'devm_usb_put_phy'
drivers/usb/phy/phy.c:616: warning: Function parameter or member 'type' not described in 'usb_add_phy'
drivers/usb/phy/phy.c:710: warning: Function parameter or member 'event' not described in 'usb_phy_set_event'
drivers/usb/misc/adutux.c:117: warning: Function parameter or member 'dev' not described in 'adu_abort_transfers'
drivers/usb/misc/adutux.c:652: warning: Function parameter or member 'interface' not described in 'adu_probe'
drivers/usb/misc/adutux.c:652: warning: Function parameter or member 'id' not described in 'adu_probe'
drivers/usb/misc/adutux.c:761: warning: Function parameter or member 'interface' not described in 'adu_disconnect'
drivers/usb/host/ehci-platform.c:347:36: warning: 'ehci_acpi_match' defined but not used [-Wunused-const-variable=]
347 | static const struct acpi_device_id ehci_acpi_match[] = {
| ^~~~~~~~~~~~~~~
drivers/usb/gadget/udc/core.c:25: warning: Incorrect use of kernel-doc format: * struct usb_udc - describes one usb device controller
drivers/usb/gadget/udc/core.c:36: warning: cannot understand function prototype: 'struct usb_udc '
drivers/usb/gadget/udc/core.c:890: warning: Function parameter or member 'ep' not described in 'usb_gadget_giveback_request'
drivers/usb/gadget/udc/core.c:890: warning: Function parameter or member 'req' not described in 'usb_gadget_giveback_request'
drivers/usb/gadget/udc/core.c:1087: warning: Function parameter or member 'udc' not described in 'usb_gadget_udc_stop'
drivers/usb/gadget/udc/core.c:1087: warning: Excess function parameter 'gadget' description in 'usb_gadget_udc_stop'
drivers/usb/gadget/udc/core.c:1087: warning: Excess function parameter 'driver' description in 'usb_gadget_udc_stop'
drivers/usb/host/oxu210hp-hcd.c: In function 'submit_async':
drivers/usb/host/oxu210hp-hcd.c:2040:19: warning: variable 'qtd' set but not used [-Wunused-but-set-variable]
2040 | struct ehci_qtd *qtd;
| ^~~
In file included from drivers/usb/misc/ftdi-elan.c:80:
drivers/usb/misc/../host/ohci.h:165:18: warning: 'cc_to_error' defined but not used [-Wunused-const-variable=]
165 | static const int cc_to_error [16] = {
| ^~~~~~~~~~~
/tmp/ccAnJN37.s: Assembler messages:
/tmp/ccAnJN37.s:7476: Warning: ignoring changed section attributes for .far
drivers/usb/chipidea/udc.c:80: warning: Function parameter or member 'ci' not described in 'hw_device_state'
drivers/usb/chipidea/udc.c:100: warning: Function parameter or member 'ci' not described in 'hw_ep_flush'
drivers/usb/chipidea/udc.c:121: warning: Function parameter or member 'ci' not described in 'hw_ep_disable'
drivers/usb/chipidea/udc.c:136: warning: Function parameter or member 'ci' not described in 'hw_ep_enable'
drivers/usb/chipidea/udc.c:170: warning: Function parameter or member 'ci' not described in 'hw_ep_get_halt'
drivers/usb/chipidea/udc.c:185: warning: Function parameter or member 'ci' not described in 'hw_ep_prime'
drivers/usb/chipidea/udc.c:215: warning: Function parameter or member 'ci' not described in 'hw_ep_set_halt'
drivers/usb/chipidea/udc.c:238: warning: Function parameter or member 'ci' not described in 'hw_port_is_high_speed'
drivers/usb/chipidea/udc.c:251: warning: Function parameter or member 'ci' not described in 'hw_test_and_clear_complete'
drivers/usb/chipidea/udc.c:263: warning: Function parameter or member 'ci' not described in 'hw_test_and_clear_intr_active'
drivers/usb/chipidea/udc.c:277: warning: Function parameter or member 'ci' not described in 'hw_test_and_clear_setup_guard'
drivers/usb/chipidea/udc.c:288: warning: Function parameter or member 'ci' not described in 'hw_test_and_set_setup_guard'
drivers/usb/chipidea/udc.c:300: warning: Function parameter or member 'ci' not described in 'hw_usb_set_address'
drivers/usb/chipidea/udc.c:312: warning: Function parameter or member 'ci' not described in 'hw_usb_reset'
drivers/usb/chipidea/udc.c:547: warning: Function parameter or member 'hwreq' not described in '_hardware_dequeue'
drivers/usb/chipidea/udc.c:547: warning: Excess function parameter 'gadget' description in '_hardware_dequeue'
drivers/usb/chipidea/udc.c:1228: warning: Function parameter or member 'ep' not described in 'ep_enable'
drivers/usb/chipidea/udc.c:1228: warning: Function parameter or member 'desc' not described in 'ep_enable'
drivers/usb/chipidea/udc.c:1295: warning: Function parameter or member 'ep' not described in 'ep_disable'
drivers/usb/chipidea/udc.c:1335: warning: Function parameter or member 'ep' not described in 'ep_alloc_request'
drivers/usb/chipidea/udc.c:1335: warning: Function parameter or member 'gfp_flags' not described in 'ep_alloc_request'
drivers/usb/chipidea/udc.c:1356: warning: Function parameter or member 'ep' not described in 'ep_free_request'
drivers/usb/chipidea/udc.c:1356: warning: Function parameter or member 'req' not described in 'ep_free_request'
drivers/usb/chipidea/udc.c:1390: warning: Function parameter or member 'ep' not described in 'ep_queue'
drivers/usb/chipidea/udc.c:1390: warning: Function parameter or member 'req' not described in 'ep_queue'
drivers/usb/chipidea/udc.c:1390: warning: Function parameter or member 'gfp_flags' not described in 'ep_queue'
drivers/usb/chipidea/udc.c:1414: warning: Function parameter or member 'ep' not described in 'ep_dequeue'
drivers/usb/chipidea/udc.c:1414: warning: Function parameter or member 'req' not described in 'ep_dequeue'
drivers/usb/chipidea/udc.c:1458: warning: Function parameter or member 'ep' not described in 'ep_set_halt'
drivers/usb/chipidea/udc.c:1458: warning: Function parameter or member 'value' not described in 'ep_set_halt'
drivers/usb/chipidea/udc.c:1468: warning: Function parameter or member 'ep' not described in 'ep_set_wedge'
drivers/usb/chipidea/udc.c:1488: warning: Function parameter or member 'ep' not described in 'ep_fifo_flush'
drivers/usb/chipidea/udc.c:1512: warning: cannot understand function prototype: 'const struct usb_ep_ops usb_ep_ops = '
drivers/usb/chipidea/udc.c:1665: warning: cannot understand function prototype: 'const struct usb_gadget_ops usb_gadget_ops = '
drivers/usb/chipidea/udc.c:1824: warning: Function parameter or member 'gadget' not described in 'ci_udc_stop'
drivers/usb/chipidea/udc.c:1858: warning: Function parameter or member 'ci' not described in 'udc_irq'
drivers/usb/chipidea/udc.c:1990: warning: Function parameter or member 'ci' not described in 'ci_hdrc_gadget_destroy'
drivers/usb/chipidea/udc.c:2039: warning: Function parameter or member 'ci' not described in 'ci_hdrc_gadget_init'
drivers/usb/gadget/function/u_serial.c:535: warning: Function parameter or member 'port' not described in 'gs_start_io'
drivers/usb/gadget/function/u_serial.c:535: warning: Excess function parameter 'dev' description in 'gs_start_io'
>> drivers/usb/gadget/udc/lpc32xx_udc.c:1928:6: warning: no previous prototype for 'udc_send_in_zlp' [-Wmissing-prototypes]
1928 | void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
| ^~~~~~~~~~~~~~~
>> drivers/usb/gadget/udc/lpc32xx_udc.c:1942:6: warning: no previous prototype for 'udc_handle_eps' [-Wmissing-prototypes]
1942 | void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
| ^~~~~~~~~~~~~~
drivers/usb/gadget/udc/mv_udc_core.c:56:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
56 | static const char driver_desc[] = DRIVER_DESC;
| ^~~~~~~~~~~
drivers/usb/misc/ldusb.c:191: warning: Function parameter or member 'dev' not described in 'ld_usb_abort_transfers'
drivers/usb/misc/ldusb.c:207: warning: Function parameter or member 'dev' not described in 'ld_usb_delete'
drivers/usb/misc/ldusb.c:223: warning: Function parameter or member 'urb' not described in 'ld_usb_interrupt_in_callback'
drivers/usb/misc/ldusb.c:284: warning: Function parameter or member 'urb' not described in 'ld_usb_interrupt_out_callback'
drivers/usb/misc/ldusb.c:304: warning: Function parameter or member 'inode' not described in 'ld_usb_open'
drivers/usb/misc/ldusb.c:304: warning: Function parameter or member 'file' not described in 'ld_usb_open'
drivers/usb/misc/ldusb.c:375: warning: Function parameter or member 'inode' not described in 'ld_usb_release'
drivers/usb/misc/ldusb.c:375: warning: Function parameter or member 'file' not described in 'ld_usb_release'
drivers/usb/misc/ldusb.c:420: warning: Function parameter or member 'file' not described in 'ld_usb_poll'
drivers/usb/misc/ldusb.c:420: warning: Function parameter or member 'wait' not described in 'ld_usb_poll'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'file' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'buffer' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'count' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'ppos' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'file' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'buffer' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'count' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'ppos' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:651: warning: Function parameter or member 'intf' not described in 'ld_usb_probe'
drivers/usb/misc/ldusb.c:651: warning: Function parameter or member 'id' not described in 'ld_usb_probe'
drivers/usb/misc/ldusb.c:755: warning: Function parameter or member 'intf' not described in 'ld_usb_disconnect'
drivers/usb/core/sysfs.c: In function 'usb_create_sysfs_intf_files':
drivers/usb/core/sysfs.c:1266:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
1266 | ; /* We don't actually care if the function fails. */
| ^
In file included from drivers/usb/host/isp1362-hcd.c:96:
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGALTTMR' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:199:1: note: in expansion of macro 'ISP1362_REG'
199 | ISP1362_REG(OTGALTTMR, 0x6C, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGTIMER' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:198:1: note: in expansion of macro 'ISP1362_REG'
198 | ISP1362_REG(OTGTIMER, 0x6A, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGINTENB' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:197:1: note: in expansion of macro 'ISP1362_REG'
197 | ISP1362_REG(OTGINTENB, 0x69, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGINT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:196:1: note: in expansion of macro 'ISP1362_REG'
196 | ISP1362_REG(OTGINT, 0x68, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGSTATUS' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:195:1: note: in expansion of macro 'ISP1362_REG'
195 | ISP1362_REG(OTGSTATUS, 0x67, REG_WIDTH_16, REG_ACCESS_R);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGCONTROL' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:194:1: note: in expansion of macro 'ISP1362_REG'
194 | ISP1362_REG(OTGCONTROL, 0x62, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCATLPORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:183:1: note: in expansion of macro 'ISP1362_REG'
183 | ISP1362_REG(HCATLPORT, 0x44, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCINTLPORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:175:1: note: in expansion of macro 'ISP1362_REG'
175 | ISP1362_REG(HCINTLPORT, 0x43, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCISTL1PORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:171:1: note: in expansion of macro 'ISP1362_REG'
171 | ISP1362_REG(HCISTL1PORT, 0x42, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCISTL0PORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:170:1: note: in expansion of macro 'ISP1362_REG'
170 | ISP1362_REG(HCISTL0PORT, 0x40, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCINTDIS' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:77:1: note: in expansion of macro 'ISP1362_REG'
77 | ISP1362_REG(HCINTDIS, 0x05, REG_WIDTH_32, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/storage/alauda.c: In function 'alauda_check_media':
drivers/usb/storage/alauda.c:456:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
456 | int rc;
--
drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'ubuf' not described in 'ci_port_test_write'
drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'count' not described in 'ci_port_test_write'
drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'ppos' not described in 'ci_port_test_write'
drivers/usb/chipidea/debug.c:122: warning: Function parameter or member 's' not described in 'ci_qheads_show'
drivers/usb/chipidea/debug.c:122: warning: Function parameter or member 'data' not described in 'ci_qheads_show'
drivers/usb/chipidea/debug.c:154: warning: Function parameter or member 's' not described in 'ci_requests_show'
drivers/usb/chipidea/debug.c:154: warning: Function parameter or member 'data' not described in 'ci_requests_show'
drivers/phy/phy-core.c:1045: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register'
drivers/phy/phy-core.c:1092: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister'
drivers/usb/class/cdc-wdm.c:961: warning: Function parameter or member 'manage_power' not described in 'usb_cdc_wdm_register'
/tmp/ccChThg0.s: Assembler messages:
/tmp/ccChThg0.s:1341: Warning: ignoring changed section attributes for .far
drivers/usb/phy/phy.c:98: warning: Function parameter or member 'work' not described in 'usb_phy_notify_charger_work'
drivers/usb/phy/phy.c:161: warning: Function parameter or member 'nb' not described in 'usb_phy_get_charger_type'
drivers/usb/phy/phy.c:161: warning: Function parameter or member 'state' not described in 'usb_phy_get_charger_type'
drivers/usb/phy/phy.c:161: warning: Function parameter or member 'data' not described in 'usb_phy_get_charger_type'
drivers/usb/phy/phy.c:183: warning: Function parameter or member 'usb_phy' not described in 'usb_phy_set_charger_current'
drivers/usb/phy/phy.c:183: warning: Function parameter or member 'mA' not described in 'usb_phy_set_charger_current'
drivers/usb/phy/phy.c:233: warning: Function parameter or member 'usb_phy' not described in 'usb_phy_get_charger_current'
drivers/usb/phy/phy.c:233: warning: Function parameter or member 'min' not described in 'usb_phy_get_charger_current'
drivers/usb/phy/phy.c:233: warning: Function parameter or member 'max' not described in 'usb_phy_get_charger_current'
drivers/usb/phy/phy.c:270: warning: Function parameter or member 'usb_phy' not described in 'usb_phy_set_charger_state'
drivers/usb/phy/phy.c:270: warning: Function parameter or member 'state' not described in 'usb_phy_set_charger_state'
drivers/usb/phy/phy.c:416: warning: Function parameter or member 'dev' not described in 'devm_usb_get_phy'
drivers/usb/phy/phy.c:416: warning: Function parameter or member 'type' not described in 'devm_usb_get_phy'
drivers/usb/phy/phy.c:445: warning: Function parameter or member 'type' not described in 'usb_get_phy'
drivers/usb/phy/phy.c:489: warning: Function parameter or member 'dev' not described in 'devm_usb_get_phy_by_node'
drivers/usb/phy/phy.c:489: warning: Function parameter or member 'node' not described in 'devm_usb_get_phy_by_node'
drivers/usb/phy/phy.c:489: warning: Function parameter or member 'nb' not described in 'devm_usb_get_phy_by_node'
drivers/usb/phy/phy.c:547: warning: Function parameter or member 'dev' not described in 'devm_usb_get_phy_by_phandle'
drivers/usb/phy/phy.c:547: warning: Function parameter or member 'phandle' not described in 'devm_usb_get_phy_by_phandle'
drivers/usb/phy/phy.c:547: warning: Function parameter or member 'index' not described in 'devm_usb_get_phy_by_phandle'
drivers/usb/phy/phy.c:579: warning: Function parameter or member 'dev' not described in 'devm_usb_put_phy'
drivers/usb/phy/phy.c:579: warning: Function parameter or member 'phy' not described in 'devm_usb_put_phy'
drivers/usb/phy/phy.c:616: warning: Function parameter or member 'type' not described in 'usb_add_phy'
drivers/usb/phy/phy.c:710: warning: Function parameter or member 'event' not described in 'usb_phy_set_event'
drivers/usb/misc/adutux.c:117: warning: Function parameter or member 'dev' not described in 'adu_abort_transfers'
drivers/usb/misc/adutux.c:652: warning: Function parameter or member 'interface' not described in 'adu_probe'
drivers/usb/misc/adutux.c:652: warning: Function parameter or member 'id' not described in 'adu_probe'
drivers/usb/misc/adutux.c:761: warning: Function parameter or member 'interface' not described in 'adu_disconnect'
drivers/usb/host/ehci-platform.c:347:36: warning: 'ehci_acpi_match' defined but not used [-Wunused-const-variable=]
347 | static const struct acpi_device_id ehci_acpi_match[] = {
| ^~~~~~~~~~~~~~~
drivers/usb/gadget/udc/core.c:25: warning: Incorrect use of kernel-doc format: * struct usb_udc - describes one usb device controller
drivers/usb/gadget/udc/core.c:36: warning: cannot understand function prototype: 'struct usb_udc '
drivers/usb/gadget/udc/core.c:890: warning: Function parameter or member 'ep' not described in 'usb_gadget_giveback_request'
drivers/usb/gadget/udc/core.c:890: warning: Function parameter or member 'req' not described in 'usb_gadget_giveback_request'
drivers/usb/gadget/udc/core.c:1087: warning: Function parameter or member 'udc' not described in 'usb_gadget_udc_stop'
drivers/usb/gadget/udc/core.c:1087: warning: Excess function parameter 'gadget' description in 'usb_gadget_udc_stop'
drivers/usb/gadget/udc/core.c:1087: warning: Excess function parameter 'driver' description in 'usb_gadget_udc_stop'
drivers/usb/host/oxu210hp-hcd.c: In function 'submit_async':
drivers/usb/host/oxu210hp-hcd.c:2040:19: warning: variable 'qtd' set but not used [-Wunused-but-set-variable]
2040 | struct ehci_qtd *qtd;
| ^~~
In file included from drivers/usb/misc/ftdi-elan.c:80:
drivers/usb/misc/../host/ohci.h:165:18: warning: 'cc_to_error' defined but not used [-Wunused-const-variable=]
165 | static const int cc_to_error [16] = {
| ^~~~~~~~~~~
/tmp/ccAnJN37.s: Assembler messages:
/tmp/ccAnJN37.s:7476: Warning: ignoring changed section attributes for .far
drivers/usb/chipidea/udc.c:80: warning: Function parameter or member 'ci' not described in 'hw_device_state'
drivers/usb/chipidea/udc.c:100: warning: Function parameter or member 'ci' not described in 'hw_ep_flush'
drivers/usb/chipidea/udc.c:121: warning: Function parameter or member 'ci' not described in 'hw_ep_disable'
drivers/usb/chipidea/udc.c:136: warning: Function parameter or member 'ci' not described in 'hw_ep_enable'
drivers/usb/chipidea/udc.c:170: warning: Function parameter or member 'ci' not described in 'hw_ep_get_halt'
drivers/usb/chipidea/udc.c:185: warning: Function parameter or member 'ci' not described in 'hw_ep_prime'
drivers/usb/chipidea/udc.c:215: warning: Function parameter or member 'ci' not described in 'hw_ep_set_halt'
drivers/usb/chipidea/udc.c:238: warning: Function parameter or member 'ci' not described in 'hw_port_is_high_speed'
drivers/usb/chipidea/udc.c:251: warning: Function parameter or member 'ci' not described in 'hw_test_and_clear_complete'
drivers/usb/chipidea/udc.c:263: warning: Function parameter or member 'ci' not described in 'hw_test_and_clear_intr_active'
drivers/usb/chipidea/udc.c:277: warning: Function parameter or member 'ci' not described in 'hw_test_and_clear_setup_guard'
drivers/usb/chipidea/udc.c:288: warning: Function parameter or member 'ci' not described in 'hw_test_and_set_setup_guard'
drivers/usb/chipidea/udc.c:300: warning: Function parameter or member 'ci' not described in 'hw_usb_set_address'
drivers/usb/chipidea/udc.c:312: warning: Function parameter or member 'ci' not described in 'hw_usb_reset'
drivers/usb/chipidea/udc.c:547: warning: Function parameter or member 'hwreq' not described in '_hardware_dequeue'
drivers/usb/chipidea/udc.c:547: warning: Excess function parameter 'gadget' description in '_hardware_dequeue'
drivers/usb/chipidea/udc.c:1228: warning: Function parameter or member 'ep' not described in 'ep_enable'
drivers/usb/chipidea/udc.c:1228: warning: Function parameter or member 'desc' not described in 'ep_enable'
drivers/usb/chipidea/udc.c:1295: warning: Function parameter or member 'ep' not described in 'ep_disable'
drivers/usb/chipidea/udc.c:1335: warning: Function parameter or member 'ep' not described in 'ep_alloc_request'
drivers/usb/chipidea/udc.c:1335: warning: Function parameter or member 'gfp_flags' not described in 'ep_alloc_request'
drivers/usb/chipidea/udc.c:1356: warning: Function parameter or member 'ep' not described in 'ep_free_request'
drivers/usb/chipidea/udc.c:1356: warning: Function parameter or member 'req' not described in 'ep_free_request'
drivers/usb/chipidea/udc.c:1390: warning: Function parameter or member 'ep' not described in 'ep_queue'
drivers/usb/chipidea/udc.c:1390: warning: Function parameter or member 'req' not described in 'ep_queue'
drivers/usb/chipidea/udc.c:1390: warning: Function parameter or member 'gfp_flags' not described in 'ep_queue'
drivers/usb/chipidea/udc.c:1414: warning: Function parameter or member 'ep' not described in 'ep_dequeue'
drivers/usb/chipidea/udc.c:1414: warning: Function parameter or member 'req' not described in 'ep_dequeue'
drivers/usb/chipidea/udc.c:1458: warning: Function parameter or member 'ep' not described in 'ep_set_halt'
drivers/usb/chipidea/udc.c:1458: warning: Function parameter or member 'value' not described in 'ep_set_halt'
drivers/usb/chipidea/udc.c:1468: warning: Function parameter or member 'ep' not described in 'ep_set_wedge'
drivers/usb/chipidea/udc.c:1488: warning: Function parameter or member 'ep' not described in 'ep_fifo_flush'
drivers/usb/chipidea/udc.c:1512: warning: cannot understand function prototype: 'const struct usb_ep_ops usb_ep_ops = '
drivers/usb/chipidea/udc.c:1665: warning: cannot understand function prototype: 'const struct usb_gadget_ops usb_gadget_ops = '
drivers/usb/chipidea/udc.c:1824: warning: Function parameter or member 'gadget' not described in 'ci_udc_stop'
drivers/usb/chipidea/udc.c:1858: warning: Function parameter or member 'ci' not described in 'udc_irq'
drivers/usb/chipidea/udc.c:1990: warning: Function parameter or member 'ci' not described in 'ci_hdrc_gadget_destroy'
drivers/usb/chipidea/udc.c:2039: warning: Function parameter or member 'ci' not described in 'ci_hdrc_gadget_init'
drivers/usb/gadget/function/u_serial.c:535: warning: Function parameter or member 'port' not described in 'gs_start_io'
drivers/usb/gadget/function/u_serial.c:535: warning: Excess function parameter 'dev' description in 'gs_start_io'
>> drivers/usb/gadget/udc/lpc32xx_udc.c:1928:6: warning: no previous prototype for 'udc_send_in_zlp' [-Wmissing-prototypes]
1928 | void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
| ^~~~~~~~~~~~~~~
>> drivers/usb/gadget/udc/lpc32xx_udc.c:1942:6: warning: no previous prototype for 'udc_handle_eps' [-Wmissing-prototypes]
1942 | void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
| ^~~~~~~~~~~~~~
drivers/usb/gadget/udc/mv_udc_core.c:56:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
56 | static const char driver_desc[] = DRIVER_DESC;
| ^~~~~~~~~~~
drivers/usb/misc/ldusb.c:191: warning: Function parameter or member 'dev' not described in 'ld_usb_abort_transfers'
drivers/usb/misc/ldusb.c:207: warning: Function parameter or member 'dev' not described in 'ld_usb_delete'
drivers/usb/misc/ldusb.c:223: warning: Function parameter or member 'urb' not described in 'ld_usb_interrupt_in_callback'
drivers/usb/misc/ldusb.c:284: warning: Function parameter or member 'urb' not described in 'ld_usb_interrupt_out_callback'
drivers/usb/misc/ldusb.c:304: warning: Function parameter or member 'inode' not described in 'ld_usb_open'
drivers/usb/misc/ldusb.c:304: warning: Function parameter or member 'file' not described in 'ld_usb_open'
drivers/usb/misc/ldusb.c:375: warning: Function parameter or member 'inode' not described in 'ld_usb_release'
drivers/usb/misc/ldusb.c:375: warning: Function parameter or member 'file' not described in 'ld_usb_release'
drivers/usb/misc/ldusb.c:420: warning: Function parameter or member 'file' not described in 'ld_usb_poll'
drivers/usb/misc/ldusb.c:420: warning: Function parameter or member 'wait' not described in 'ld_usb_poll'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'file' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'buffer' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'count' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:445: warning: Function parameter or member 'ppos' not described in 'ld_usb_read'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'file' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'buffer' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'count' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:527: warning: Function parameter or member 'ppos' not described in 'ld_usb_write'
drivers/usb/misc/ldusb.c:651: warning: Function parameter or member 'intf' not described in 'ld_usb_probe'
drivers/usb/misc/ldusb.c:651: warning: Function parameter or member 'id' not described in 'ld_usb_probe'
drivers/usb/misc/ldusb.c:755: warning: Function parameter or member 'intf' not described in 'ld_usb_disconnect'
drivers/usb/core/sysfs.c: In function 'usb_create_sysfs_intf_files':
drivers/usb/core/sysfs.c:1266:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
1266 | ; /* We don't actually care if the function fails. */
| ^
In file included from drivers/usb/host/isp1362-hcd.c:96:
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGALTTMR' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:199:1: note: in expansion of macro 'ISP1362_REG'
199 | ISP1362_REG(OTGALTTMR, 0x6C, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGTIMER' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:198:1: note: in expansion of macro 'ISP1362_REG'
198 | ISP1362_REG(OTGTIMER, 0x6A, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGINTENB' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:197:1: note: in expansion of macro 'ISP1362_REG'
197 | ISP1362_REG(OTGINTENB, 0x69, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGINT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:196:1: note: in expansion of macro 'ISP1362_REG'
196 | ISP1362_REG(OTGINT, 0x68, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGSTATUS' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:195:1: note: in expansion of macro 'ISP1362_REG'
195 | ISP1362_REG(OTGSTATUS, 0x67, REG_WIDTH_16, REG_ACCESS_R);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_OTGCONTROL' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:194:1: note: in expansion of macro 'ISP1362_REG'
194 | ISP1362_REG(OTGCONTROL, 0x62, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCATLPORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:183:1: note: in expansion of macro 'ISP1362_REG'
183 | ISP1362_REG(HCATLPORT, 0x44, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCINTLPORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:175:1: note: in expansion of macro 'ISP1362_REG'
175 | ISP1362_REG(HCINTLPORT, 0x43, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCISTL1PORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:171:1: note: in expansion of macro 'ISP1362_REG'
171 | ISP1362_REG(HCISTL1PORT, 0x42, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCISTL0PORT' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:170:1: note: in expansion of macro 'ISP1362_REG'
170 | ISP1362_REG(HCISTL0PORT, 0x40, REG_WIDTH_16, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/host/isp1362.h:59:22: warning: 'ISP1362_REG_HCINTDIS' defined but not used [-Wunused-const-variable=]
59 | static isp1362_reg_t ISP1362_REG_##name = addr
| ^~~~~~~~~~~~
drivers/usb/host/isp1362.h:77:1: note: in expansion of macro 'ISP1362_REG'
77 | ISP1362_REG(HCINTDIS, 0x05, REG_WIDTH_32, REG_ACCESS_RW);
| ^~~~~~~~~~~
drivers/usb/storage/alauda.c: In function 'alauda_check_media':
drivers/usb/storage/alauda.c:456:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
456 | int rc;
..
vim +/udc_send_in_zlp +1928 drivers/usb/gadget/udc/lpc32xx_udc.c
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1926
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1927 /* Send a ZLP on a non-0 IN EP */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 @1928 void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1929 {
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1930 /* Clear EP status */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1931 udc_clearep_getsts(udc, ep->hwep_num);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1932
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1933 /* Send ZLP via FIFO mechanism */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1934 udc_write_hwep(udc, ep->hwep_num, NULL, 0);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1935 }
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1936
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1937 /*
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1938 * Handle EP completion for ZLP
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1939 * This function will only be called when a delayed ZLP needs to be sent out
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1940 * after a DMA transfer has filled both buffers.
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1941 */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 @1942 void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1943 {
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1944 u32 epstatus;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1945 struct lpc32xx_request *req;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1946
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1947 if (ep->hwep_num <= 0)
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1948 return;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1949
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1950 uda_clear_hwepint(udc, ep->hwep_num);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1951
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1952 /* If this interrupt isn't enabled, return now */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1953 if (!(udc->enabled_hwepints & (1 << ep->hwep_num)))
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1954 return;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1955
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1956 /* Get endpoint status */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1957 epstatus = udc_clearep_getsts(udc, ep->hwep_num);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1958
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1959 /*
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1960 * This should never happen, but protect against writing to the
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1961 * buffer when full.
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1962 */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1963 if (epstatus & EP_SEL_F)
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1964 return;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1965
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1966 if (ep->is_in) {
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1967 udc_send_in_zlp(udc, ep);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1968 uda_disable_hwepint(udc, ep->hwep_num);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1969 } else
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1970 return;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1971
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1972 /* If there isn't a request waiting, something went wrong */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1973 req = list_entry(ep->queue.next, struct lpc32xx_request, queue);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1974 if (req) {
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1975 done(ep, req, 0);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1976
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1977 /* Start another request if ready */
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1978 if (!list_empty(&ep->queue)) {
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1979 if (ep->is_in)
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1980 udc_ep_in_req_dma(udc, ep);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1981 else
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1982 udc_ep_out_req_dma(udc, ep);
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1983 } else
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1984 ep->req_pending = 0;
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1985 }
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1986 }
24a28e4283510d drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1987
:::::: The code at line 1928 was first introduced by commit
:::::: 24a28e4283510dcd58890379a42b8a7d3201d9d3 USB: gadget driver for LPC32xx
:::::: TO: Roland Stigge <stigge@...com.de>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (32763 bytes)
Powered by blists - more mailing lists