* [xlnx:xlnx_rebase_v5.4 904/1697] drivers/usb/dwc3/core.h:1421:6: warning: no previous prototype for 'dwc3_set_simple_data'
@ 2021-01-12 19:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-12 19:10 UTC (permalink / raw)
To: Michal Simek; +Cc: Piyush Mehta, kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 3101 bytes --]
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 629150468791671b5fde21363e643e87c5815b17
commit: 3d600fd776cbda29abdea084f7437f7d9102b2a5 [904/1697] usb: dwc3: Add support for removing vbus when suspended
config: m68k-randconfig-r013-20210112 (attached as .config)
compiler: m68k-linux-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
# https://github.com/Xilinx/linux-xlnx/commit/3d600fd776cbda29abdea084f7437f7d9102b2a5
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 3d600fd776cbda29abdea084f7437f7d9102b2a5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/err.h:5,
from include/linux/clk.h:12,
from drivers/usb/dwc3/core.c:11:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/core.c:35:
drivers/usb/dwc3/core.h: At top level:
drivers/usb/dwc3/core.h:1419:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1419 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/core.h:1421:6: warning: no previous prototype for 'dwc3_set_simple_data' [-Wmissing-prototypes]
1421 | void dwc3_set_simple_data(struct dwc3 *dwc)
| ^~~~~~~~~~~~~~~~~~~~
vim +/dwc3_set_simple_data +1421 drivers/usb/dwc3/core.h
1414
1415 #if IS_ENABLED(CONFIG_USB_DWC3_OF_SIMPLE)
1416 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup);
1417 void dwc3_set_simple_data(struct dwc3 *dwc);
1418 #else
1419 void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
1420 { ; }
> 1421 void dwc3_set_simple_data(struct dwc3 *dwc)
1422 { ; }
1423 #endif
1424
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23103 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-12 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 19:10 [xlnx:xlnx_rebase_v5.4 904/1697] drivers/usb/dwc3/core.h:1421:6: warning: no previous prototype for 'dwc3_set_simple_data' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).