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-20200917]
[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-r004-20200917 (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-mt6323.c:474:34: warning: unused variable
'mt6323_led_dt_match' [-Wunused-const-variable]
static const struct
of_device_id mt6323_led_dt_match[] = {
^
1 warning generated.
--
> drivers/leds/leds-pwm.c:183:34: warning: unused variable
'of_pwm_leds_match' [-Wunused-const-variable]
static const struct
of_device_id of_pwm_leds_match[] = {
^
1 warning generated.
--
> drivers/leds/leds-sgm3140.c:292:34: warning: unused variable
'sgm3140_dt_match' [-Wunused-const-variable]
static const struct
of_device_id sgm3140_dt_match[] = {
^
1 warning generated.
#
https://github.com/0day-ci/linux/commit/a98b683b6c841e96d2f36f884f12d6c8d...
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 a98b683b6c841e96d2f36f884f12d6c8ded65713
vim +/mt6323_led_dt_match +474 drivers/leds/leds-mt6323.c
216ec6cc4c1939 Sean Wang 2017-03-20 473
216ec6cc4c1939 Sean Wang 2017-03-20 @474 static const struct of_device_id
mt6323_led_dt_match[] = {
216ec6cc4c1939 Sean Wang 2017-03-20 475 { .compatible = "mediatek,mt6323-led"
},
216ec6cc4c1939 Sean Wang 2017-03-20 476 {},
216ec6cc4c1939 Sean Wang 2017-03-20 477 };
216ec6cc4c1939 Sean Wang 2017-03-20 478 MODULE_DEVICE_TABLE(of, mt6323_led_dt_match);
216ec6cc4c1939 Sean Wang 2017-03-20 479
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org