* drivers/iio/gyro/bmg160_i2c.c:41:36: warning: 'bmg160_acpi_match' defined but not used
@ 2023-12-10 15:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-10 15:35 UTC (permalink / raw)
To: Markus Pargmann
Cc: oe-kbuild-all, linux-kernel, Jonathan Cameron, Srinivas Pandruvada
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c527f5606aa545233a4d2c6d5c636ed82b8633ef
commit: 13426454b6493a847cebe276fb1ec3a7f1d48d0e iio: bmg160: Separate i2c and core driver
date: 8 years ago
config: m68k-randconfig-c031-20230421 (https://download.01.org/0day-ci/archive/20231210/202312102310.LXEzAWcy-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20231210/202312102310.LXEzAWcy-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312102310.LXEzAWcy-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/kernel.h:11,
from include/linux/list.h:8,
from include/linux/kobject.h:20,
from include/linux/device.h:17,
from include/linux/i2c.h:30,
from drivers/iio/gyro/bmg160_i2c.c:1:
include/linux/log2.h:22:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
22 | int ____ilog2_NaN(void);
| ^~~
>> drivers/iio/gyro/bmg160_i2c.c:41:36: warning: 'bmg160_acpi_match' defined but not used [-Wunused-const-variable=]
41 | static const struct acpi_device_id bmg160_acpi_match[] = {
| ^~~~~~~~~~~~~~~~~
vim +/bmg160_acpi_match +41 drivers/iio/gyro/bmg160_i2c.c
40
> 41 static const struct acpi_device_id bmg160_acpi_match[] = {
42 {"BMG0160", 0},
43 {"BMI055B", 0},
44 {},
45 };
46
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-10 15:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-10 15:35 drivers/iio/gyro/bmg160_i2c.c:41:36: warning: 'bmg160_acpi_match' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®