* [intel-linux-intel-lts:5.10/yocto 44/8373] drivers/usb/typec/ccg/hpi.c:500:36: warning: unused variable 'ccg_hpi_acpi_match'
@ 2021-06-08 14:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-08 14:10 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2332 bytes --]
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/64b3d759e43185dd628b5474ade8d8488d043c25
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@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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36749 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-08 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 14:10 [intel-linux-intel-lts:5.10/yocto 44/8373] drivers/usb/typec/ccg/hpi.c:500:36: warning: unused variable 'ccg_hpi_acpi_match' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.