Hi "Marek,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pavel-linux-leds/for-next]
[also build test WARNING on next-20200918]
[cannot apply to powerpc/next j.anaszewski-leds/for-next v5.9-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Marek-Beh-n/Start-moving-parsing...
base:
git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
config: x86_64-randconfig-a011-20200918 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
0ff28fa6a75617d61b1aeea77463d6a1684c3c89)
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
# 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 warnings (new ones prefixed by >>):
> drivers/leds/leds-ns2.c:329:34: warning: unused variable
'of_ns2_leds_match' [-Wunused-const-variable]
static const struct
of_device_id of_ns2_leds_match[] = {
^
1 warning generated.
#
https://github.com/0day-ci/linux/commit/a01a08dc1961ec2e494b57258544eeb6e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Marek-Beh-n/Start-moving-parsing-of-linux-default-trigger-to-LED-core-a-cleanup-of-LED-drivers/20200918-063850
git checkout a01a08dc1961ec2e494b57258544eeb6e4d01b87
vim +/of_ns2_leds_match +329 drivers/leds/leds-ns2.c
72052fcc102638 Simon Guinot 2012-10-17 328
72052fcc102638 Simon Guinot 2012-10-17 @329 static const struct of_device_id
of_ns2_leds_match[] = {
72052fcc102638 Simon Guinot 2012-10-17 330 { .compatible =
"lacie,ns2-leds", },
72052fcc102638 Simon Guinot 2012-10-17 331 {},
72052fcc102638 Simon Guinot 2012-10-17 332 };
98f9cc7ffcf2cb Luis de Bethencourt 2015-09-01 333 MODULE_DEVICE_TABLE(of,
of_ns2_leds_match);
72052fcc102638 Simon Guinot 2012-10-17 334
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org