Content-Type: multipart/mixed; boundary="===============0697272789260278826==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 4/5] platform/chrome: cros_kbd_led_backlight: support OF match Date: Tue, 15 Feb 2022 01:19:38 +0800 Message-ID: <202202142320.uQhUtcwm-lkp@intel.com> In-Reply-To: <20220214053646.3088298-5-tzungbi@google.com> List-Id: --===============0697272789260278826== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Tzung-Bi, Thank you for the patch! Yet something to improve: [auto build test ERROR on chrome-platform/for-next] [also build test ERROR on robh/for-next lee-mfd/for-mfd-next v5.17-rc4 next= -20220214] [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/Tzung-Bi-Shih/platform-chr= ome-cros_kbd_led_backlight-add-EC-PWM-backend/20220214-133805 base: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/lin= ux.git for-next config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220= 214/202202142320.uQhUtcwm-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/8f5fc05563b71136a2ab6f2cb= 5a068a152267965 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tzung-Bi-Shih/platform-chrome-cros= _kbd_led_backlight-add-EC-PWM-backend/20220214-133805 git checkout 8f5fc05563b71136a2ab6f2cb5a068a152267965 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash drivers/plat= form/chrome/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/platform/chrome/cros_kbd_led_backlight.c:168:34: error: 'keyboar= d_led_of_match' defined but not used [-Werror=3Dunused-const-variable=3D] 168 | static const struct of_device_id keyboard_led_of_match[] =3D { | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/keyboard_led_of_match +168 drivers/platform/chrome/cros_kbd_led_backl= ight.c 167 = > 168 static const struct of_device_id keyboard_led_of_match[] =3D { 169 { 170 .compatible =3D "google,cros-kbd-led-backlight", 171 }, 172 {} 173 }; 174 MODULE_DEVICE_TABLE(of, keyboard_led_of_match); 175 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0697272789260278826==--