Thanks, will fix it in the next version.
On Tue, Feb 15, 2022 at 3:54 AM kernel test robot <lkp(a)intel.com> wrote:
Hi Tzung-Bi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on chrome-platform/for-next]
[also build test WARNING 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-chrome-cr...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git
for-next
config: hexagon-allyesconfig (
https://download.01.org/0day-ci/archive/20220215/202202150337.USCNWPYx-lk...
)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
ea071884b0cc7210b3cc5fe858f0e892a779a23b)
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
#
https://github.com/0day-ci/linux/commit/aea3ce64e967f0980a22b475b6f4aa315...
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 aea3ce64e967f0980a22b475b6f4aa3154fff332
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/platform/chrome/
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/platform/chrome/cros_kbd_led_backlight.c:158:36: warning:
unused variable 'keyboard_led_acpi_match' [-Wunused-const-variable]
static const struct acpi_device_id keyboard_led_acpi_match[] = {
^
1 warning generated.
vim +/keyboard_led_acpi_match +158
drivers/platform/chrome/cros_kbd_led_backlight.c
157
> 158 static const struct acpi_device_id keyboard_led_acpi_match[] = {
159 { "GOOG0002", (kernel_ulong_t)&keyboard_led_drvdata_acpi
},
160 { }
161 };
162 MODULE_DEVICE_TABLE(acpi, keyboard_led_acpi_match);
163
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org