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: <202205100503.4rgeEuvV-lkp@intel.com>
Date:   Tue, 10 May 2022 05:37:28 +0800
From:   kernel test robot <lkp@...el.com>
To:     Vitor Soares <vitor.soares@...opsys.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Boris Brezillon <bbrezillon@...nel.org>
Subject: drivers/i3c/master/dw-i3c-master.c:1198:34: warning:
 'dw_i3c_master_of_match' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9be9ed2612b5aedb52a2c240edb1630b6b743cb6
commit: 1dd728f5d4d4b8b53196c1e0fcf86bbaaee39cef i3c: master: Add driver for Synopsys DesignWare IP
date:   3 years, 5 months ago
config: i386-randconfig-r026-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100503.4rgeEuvV-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1dd728f5d4d4b8b53196c1e0fcf86bbaaee39cef
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 1dd728f5d4d4b8b53196c1e0fcf86bbaaee39cef
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/crypto/ drivers/i3c/master/ drivers/rtc/

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/i3c/master/dw-i3c-master.c: In function 'dw_i3c_master_priv_xfers':
   drivers/i3c/master/dw-i3c-master.c:837:38: warning: comparison is always false due to limited range of data type [-Wtype-limits]
     837 |                 if (i3c_xfers[i].len > COMMAND_PORT_ARG_DATA_LEN_MAX)
         |                                      ^
   drivers/i3c/master/dw-i3c-master.c: In function 'dw_i3c_master_i2c_xfers':
   drivers/i3c/master/dw-i3c-master.c:973:38: warning: comparison is always false due to limited range of data type [-Wtype-limits]
     973 |                 if (i2c_xfers[i].len > COMMAND_PORT_ARG_DATA_LEN_MAX)
         |                                      ^
   drivers/i3c/master/dw-i3c-master.c: In function 'dw_i3c_master_bus_init':
   drivers/i3c/master/dw-i3c-master.c:597:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
     597 |                 if (ret)
         |                    ^
   drivers/i3c/master/dw-i3c-master.c:599:9: note: here
     599 |         case I3C_BUS_MODE_PURE:
         |         ^~~~
   At top level:
>> drivers/i3c/master/dw-i3c-master.c:1198:34: warning: 'dw_i3c_master_of_match' defined but not used [-Wunused-const-variable=]
    1198 | static const struct of_device_id dw_i3c_master_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~


vim +/dw_i3c_master_of_match +1198 drivers/i3c/master/dw-i3c-master.c

  1197	
> 1198	static const struct of_device_id dw_i3c_master_of_match[] = {
  1199		{ .compatible = "snps,dw-i3c-master-1.00a", },
  1200		{},
  1201	};
  1202	MODULE_DEVICE_TABLE(of, dw_i3c_master_of_match);
  1203	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ