tree:
https://android.googlesource.com/kernel/common android-4.19-stable
head: d8a2d7d9141fa875f4ce185507764d58ba4437ed
commit: 3d88b138f0cbafac10e4eaec4c5377827fe7bd8b [1/3] ANDROID: extcon: Export symbol of
`extcon_get_edev_name`
config: x86_64-defconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
3d8149c2a1228609fd7d7c91a04681304a2f0ca9)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 3d88b138f0cbafac10e4eaec4c5377827fe7bd8b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from drivers/usb/common/common.c:15:
In file included from include/linux/usb/of.h:12:
In file included from include/linux/usb/otg.h:14:
In file included from include/linux/usb/phy.h:13:
> include/linux/extcon.h:316:1: warning: declaration specifier
missing, defaulting to 'int'
EXPORT_SYMBOL_GPU(extcon_get_edev_name);
^
int
> include/linux/extcon.h:316:19: error: a parameter list without
types is only allowed in a function definition
EXPORT_SYMBOL_GPU(extcon_get_edev_name);
^
1 warning and 1 error generated.
vim +316 include/linux/extcon.h
311
312 static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
313 {
314 return NULL;
315 }
316 EXPORT_SYMBOL_GPU(extcon_get_edev_name);
317
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org