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:   Thu, 23 Nov 2023 15:16:52 +0800
From:   kernel test robot <lkp@...el.com>
To:     Robert Jones <rjones@...eworks.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>
Subject: drivers/iio/imu/fxos8700_spi.c:34:36: warning: 'fxos8700_acpi_match'
 defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9b6de136b5f0158c60844f85286a593cb70fb364
commit: 84e5ddd5c46ea3bf0cad670da32028994cad5936 iio: imu: Add support for the FXOS8700 IMU
date:   4 years, 1 month ago
config: x86_64-buildonly-randconfig-001-20231012 (https://download.01.org/0day-ci/archive/20231123/202311231427.vEQAuxvI-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231123/202311231427.vEQAuxvI-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311231427.vEQAuxvI-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/iio/imu/fxos8700_spi.c:34:36: warning: 'fxos8700_acpi_match' defined but not used [-Wunused-const-variable=]
      34 | static const struct acpi_device_id fxos8700_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~


vim +/fxos8700_acpi_match +34 drivers/iio/imu/fxos8700_spi.c

    33	
  > 34	static const struct acpi_device_id fxos8700_acpi_match[] = {
    35		{"FXOS8700", 0},
    36		{ }
    37	};
    38	MODULE_DEVICE_TABLE(acpi, fxos8700_acpi_match);
    39	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ