[xilinx-xlnx:xlnx_rebase_v5.4 906/1768] drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks'
kernel test robot
lkp at intel.com
Tue Dec 14 17:12:16 PST 2021
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: abafefebd1f1e040eef74e4ab571ea08bf745641
commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1768] usb: dwc3: Correct errors when dwc3 loaded as module
config: i386-randconfig-r006-20211214 (https://download.01.org/0day-ci/archive/20211215/202112150907.Y5RHvtvo-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/Xilinx/linux-xlnx/commit/782658c51bbcd85a39a5d9a51b57224f185d7670
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/usb/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/usb/dwc3/core.c:36:
drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/usb/dwc3/host.c:12:
include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for 'dwc3_host_wakeup_capable' [-Wmissing-prototypes]
22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/host.c:14:
drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
16 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/host.c:12:
include/linux/usb/xhci_pdriver.h:22:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/usb/dwc3/trace.h:19,
from drivers/usb/dwc3/trace.c:11:
drivers/usb/dwc3/core.h:1429:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1429 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/dwc3/core.h:1431:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
1431 | void dwc3_set_simple_data(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1433:6: warning: no previous prototype for 'dwc3_simple_check_quirks' [-Wmissing-prototypes]
1433 | void dwc3_simple_check_quirks(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/trace.h:343,
from drivers/usb/dwc3/trace.c:11:
include/trace/define_trace.h:95:42: fatal error: ./trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
vim +/dwc3_simple_check_quirks +1433 drivers/usb/dwc3/core.h
1420
1421 #if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
1422 int dwc3_enable_hw_coherency(struct device *dev);
1423 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
1424 void dwc3_set_simple_data(struct dwc3 *dwc);
1425 void dwc3_simple_check_quirks(struct dwc3 *dwc);
1426 #else
1427 static inline int dwc3_enable_hw_coherency(struct device *dev)
1428 { return 1; }
> 1429 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
1430 { ; }
1431 void dwc3_set_simple_data(struct dwc3 *dwc)
1432 { ; }
> 1433 void dwc3_simple_check_quirks(struct dwc3 *dwc)
1434 { ; }
1435 #endif
1436
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the linux-arm-kernel
mailing list