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]
Date:   Mon, 28 Nov 2022 08:59:08 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sean Young <sean@...s.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        linux-media@...r.kernel.org
Subject: drivers/media/rc/ir-rx51.c:294:34: warning: 'ir_rx51_match' defined
 but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b7b275e60bcd5f89771e865a8239325f86d9927d
commit: b9e1486e0e4b5e0fc0cde214ceecec8a5734f620 media: rc-core: do not depend on MEDIA_SUPPORT
date:   5 years ago
config: x86_64-buildonly-randconfig-r001-20221128
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b9e1486e0e4b5e0fc0cde214ceecec8a5734f620
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b9e1486e0e4b5e0fc0cde214ceecec8a5734f620
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash LDFLAGS=-z max-page-size=0x200000  drivers/i2c/muxes/ drivers/media/rc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/media/rc/ir-rx51.c:294:34: warning: 'ir_rx51_match' defined but not used [-Wunused-const-variable=]
    static const struct of_device_id ir_rx51_match[] = {
                                     ^~~~~~~~~~~~~
   arch/x86/include/asm/bitops.h: Assembler messages:
   arch/x86/include/asm/bitops.h:224: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   arch/x86/include/asm/bitops.h:224: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'


vim +/ir_rx51_match +294 drivers/media/rc/ir-rx51.c

c332e8472d7db6 Timo Kokkonen   2012-08-10  293  
a92def1becf33e Sean Young      2016-12-19 @294  static const struct of_device_id ir_rx51_match[] = {
b5406176989da6 Ivaylo Dimitrov 2016-06-22  295  	{
b5406176989da6 Ivaylo Dimitrov 2016-06-22  296  		.compatible = "nokia,n900-ir",
b5406176989da6 Ivaylo Dimitrov 2016-06-22  297  	},
b5406176989da6 Ivaylo Dimitrov 2016-06-22  298  	{},
b5406176989da6 Ivaylo Dimitrov 2016-06-22  299  };
a92def1becf33e Sean Young      2016-12-19  300  MODULE_DEVICE_TABLE(of, ir_rx51_match);
b5406176989da6 Ivaylo Dimitrov 2016-06-22  301  

:::::: The code at line 294 was first introduced by commit
:::::: a92def1becf33e91fc460c7ae575aa9210ba8f40 [media] ir-rx51: port to rc-core

:::::: TO: Sean Young <sean@...s.org>
:::::: CC: Mauro Carvalho Chehab <mchehab@...pensource.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (111092 bytes)

Powered by blists - more mailing lists