All of lore.kernel.org
 help / color / mirror / Atom feed
* [regulator:for-5.10 10/21] drivers/regulator/rpi-panel-attiny-regulator.c:196:34: warning: unused variable 'attiny_dt_ids'
@ 2020-08-23 18:24 kernel test robot
  2020-08-24 10:31 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-08-23 18:24 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2076 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.10
head:   23ce1e5c27396e39efabb58714142e8f10ce1f0c
commit: 38573472278da49e2ab588062d88bc2f0c11a325 [10/21] regulator: rpi-panel: Add regulator/backlight driver for RPi panel
config: x86_64-randconfig-a005-20200824 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b587ca93be114d07ec3bf654add97d7872325281)
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
        git checkout 38573472278da49e2ab588062d88bc2f0c11a325
        # 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@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/rpi-panel-attiny-regulator.c:196:34: warning: unused variable 'attiny_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id attiny_dt_ids[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?id=38573472278da49e2ab588062d88bc2f0c11a325
git remote add regulator https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
git fetch --no-tags regulator for-5.10
git checkout 38573472278da49e2ab588062d88bc2f0c11a325
vim +/attiny_dt_ids +196 drivers/regulator/rpi-panel-attiny-regulator.c

   195	
 > 196	static const struct of_device_id attiny_dt_ids[] = {
   197		{ .compatible = "raspberrypi,7inch-touchscreen-panel-regulator" },
   198		{},
   199	};
   200	MODULE_DEVICE_TABLE(of, attiny_dt_ids);
   201	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35522 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [regulator:for-5.10 10/21] drivers/regulator/rpi-panel-attiny-regulator.c:196:34: warning: unused variable 'attiny_dt_ids'
  2020-08-23 18:24 [regulator:for-5.10 10/21] drivers/regulator/rpi-panel-attiny-regulator.c:196:34: warning: unused variable 'attiny_dt_ids' kernel test robot
@ 2020-08-24 10:31 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2020-08-24 10:31 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]

On 8/23/20 8:24 PM, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.10
> head:   23ce1e5c27396e39efabb58714142e8f10ce1f0c
> commit: 38573472278da49e2ab588062d88bc2f0c11a325 [10/21] regulator: rpi-panel: Add regulator/backlight driver for RPi panel
> config: x86_64-randconfig-a005-20200824 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b587ca93be114d07ec3bf654add97d7872325281)
> 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
>         git checkout 38573472278da49e2ab588062d88bc2f0c11a325
>         # 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@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
>>> drivers/regulator/rpi-panel-attiny-regulator.c:196:34: warning: unused variable 'attiny_dt_ids' [-Wunused-const-variable]
>    static const struct of_device_id attiny_dt_ids[] = {
>                                     ^
>    1 warning generated.
> 
> # https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?id=38573472278da49e2ab588062d88bc2f0c11a325
> git remote add regulator https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
> git fetch --no-tags regulator for-5.10
> git checkout 38573472278da49e2ab588062d88bc2f0c11a325
> vim +/attiny_dt_ids +196 drivers/regulator/rpi-panel-attiny-regulator.c
> 
>    195	
>  > 196	static const struct of_device_id attiny_dt_ids[] = {

Let me guess, the bot is building with disabled DT, right ?

Such issues were popping up recently in multiple drivers.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-24 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-23 18:24 [regulator:for-5.10 10/21] drivers/regulator/rpi-panel-attiny-regulator.c:196:34: warning: unused variable 'attiny_dt_ids' kernel test robot
2020-08-24 10:31 ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.