* [linux-next:master 11518/13311] drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table'
@ 2020-12-15 15:35 kernel test robot
2020-12-15 19:26 ` Souptick Joarder
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-12-15 15:35 UTC (permalink / raw)
To: Lubomir Rintel
Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
Dmitry Torokhov
[-- Attachment #1: Type: text/plain, Size: 1992 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9317f948b0b188b8d2fded75957e6d42c460df1b
commit: 3d82a4d736a662e352027686b8a373bf3e70820e [11518/13311] Input: add driver for power button on Dell Wyse 3020
config: powerpc-randconfig-r024-20201215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3d82a4d736a662e352027686b8a373bf3e70820e
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 3d82a4d736a662e352027686b8a373bf3e70820e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
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/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table' [-Wunused-const-variable]
static const struct spi_device_id ariel_pwrbutton_id_table[] = {
^
1 warning generated.
vim +/ariel_pwrbutton_id_table +152 drivers/input/misc/ariel-pwrbutton.c
151
> 152 static const struct spi_device_id ariel_pwrbutton_id_table[] = {
153 { "wyse-ariel-ec-input", 0 },
154 {}
155 };
156 MODULE_DEVICE_TABLE(spi, ariel_pwrbutton_id_table);
157
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30365 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 11518/13311] drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table'
2020-12-15 15:35 [linux-next:master 11518/13311] drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table' kernel test robot
@ 2020-12-15 19:26 ` Souptick Joarder
0 siblings, 0 replies; 2+ messages in thread
From: Souptick Joarder @ 2020-12-15 19:26 UTC (permalink / raw)
To: kernel test robot
Cc: Lubomir Rintel, kbuild-all, clang-built-linux,
Linux Memory Management List, Dmitry Torokhov
On Tue, Dec 15, 2020 at 9:06 PM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 9317f948b0b188b8d2fded75957e6d42c460df1b
> commit: 3d82a4d736a662e352027686b8a373bf3e70820e [11518/13311] Input: add driver for power button on Dell Wyse 3020
> config: powerpc-randconfig-r024-20201215 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
> 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 powerpc cross compiling tool for clang build
> # apt-get install binutils-powerpc-linux-gnu
> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3d82a4d736a662e352027686b8a373bf3e70820e
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout 3d82a4d736a662e352027686b8a373bf3e70820e
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
>
> 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/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table' [-Wunused-const-variable]
> static const struct spi_device_id ariel_pwrbutton_id_table[] = {
> ^
> 1 warning generated.
ariel_pwrbutton_id_table[] is not used. This can be removed if no plan
to use it further.
>
> vim +/ariel_pwrbutton_id_table +152 drivers/input/misc/ariel-pwrbutton.c
>
> 151
> > 152 static const struct spi_device_id ariel_pwrbutton_id_table[] = {
> 153 { "wyse-ariel-ec-input", 0 },
> 154 {}
> 155 };
> 156 MODULE_DEVICE_TABLE(spi, ariel_pwrbutton_id_table);
> 157
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-15 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 15:35 [linux-next:master 11518/13311] drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table' kernel test robot
2020-12-15 19:26 ` Souptick Joarder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox