lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202009271059.hsLkXkzZ%lkp@intel.com>
Date:   Sun, 27 Sep 2020 10:10:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mauro Carvalho Chehab <mchehab@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: drivers/staging/media/allegro-dvt/allegro-core.c:3142:34: warning:
 unused variable 'allegro_dt_ids'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a1bffa48745afbb54cb4f873bba783b2ae8be042
commit: a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a media: Kconfig: not all V4L2 platform drivers are for camera
date:   6 months ago
config: x86_64-randconfig-a001-20200927 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a83eb048cb9a75da7a07a9d5318bbdbf54885c87)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a
        # 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@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/staging/media/allegro-dvt/allegro-core.c:3142:34: warning: unused variable 'allegro_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id allegro_dt_ids[] = {
                                    ^
   1 warning generated.

vim +/allegro_dt_ids +3142 drivers/staging/media/allegro-dvt/allegro-core.c

f20387dfd065693 Michael Tretter 2019-05-28  3141  
f20387dfd065693 Michael Tretter 2019-05-28 @3142  static const struct of_device_id allegro_dt_ids[] = {
f20387dfd065693 Michael Tretter 2019-05-28  3143  	{ .compatible = "allegro,al5e-1.1" },
f20387dfd065693 Michael Tretter 2019-05-28  3144  	{ /* sentinel */ }
f20387dfd065693 Michael Tretter 2019-05-28  3145  };
f20387dfd065693 Michael Tretter 2019-05-28  3146  

:::::: The code at line 3142 was first introduced by commit
:::::: f20387dfd065693ba7ea2788a2f893bf653c9cb8 media: allegro: add Allegro DVT video IP core driver

:::::: TO: Michael Tretter <m.tretter@...gutronix.de>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>

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

Download attachment ".config.gz" of type "application/gzip" (38395 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ