tree:
https://github.com/intel/linux-intel-lts.git 5.10/yocto
head: 4c7b560468a13c89c9ef45855297f384be254e91
commit: 64b3d759e43185dd628b5474ade8d8488d043c25 [44/8373] usb: typec: Driver for Cypress
CCG USB Power Delivery Controllers
config: arm-randconfig-r031-20210608 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
d32cc150feb72f315a5bbd34f92e7beca21a50da)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/intel/linux-intel-lts/commit/64b3d759e43185dd628b5474a...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.10/yocto
git checkout 64b3d759e43185dd628b5474ade8d8488d043c25
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/usb/typec/ccg/hpi.c:173:1: warning: unused function 'hpi_block_read'
[-Wunused-function]
hpi_block_read(struct ccg_hpi *hpi, u16 reg, void *val, size_t len)
^
drivers/usb/typec/ccg/hpi.c:183:19: warning: unused function 'hpi_write16'
[-Wunused-function]
static inline int hpi_write16(struct ccg_hpi *hpi, u16 reg, u16 val)
^
> drivers/usb/typec/ccg/hpi.c:500:36: warning: unused variable
'ccg_hpi_acpi_match' [-Wunused-const-variable]
static const struct
acpi_device_id ccg_hpi_acpi_match[] = {
^
3 warnings generated.
vim +/ccg_hpi_acpi_match +500 drivers/usb/typec/ccg/hpi.c
499
500 static const struct acpi_device_id ccg_hpi_acpi_match[] = {
501 { "INTC1030", },
502 { "INTC1031", },
503 { }
504 };
505 MODULE_DEVICE_TABLE(acpi, ccg_hpi_acpi_match);
506
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org