mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/iio/accel/da280.c:181:36: warning: 'da280_acpi_match' defined but not used
@ 2023-02-14 14:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-14 14:21 UTC (permalink / raw)
  To: Luke Ross; +Cc: oe-kbuild-all, linux-kernel, Jonathan Cameron

Hi Luke,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f6feea56f66d34259c4222fa02e8171c4f2673d1
commit: 4c42bef0d3a1dd1a04d1f42c079f461cc1b139bc iio:accel:da280: Linx 820 Windows tablet has a da280 mapped via ACPI
date:   5 years ago
config: i386-buildonly-randconfig-r002-20230213 (https://download.01.org/0day-ci/archive/20230214/202302142222.vVU0E4eu-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4c42bef0d3a1dd1a04d1f42c079f461cc1b139bc
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4c42bef0d3a1dd1a04d1f42c079f461cc1b139bc
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash M=drivers/iio/accel

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302142222.vVU0E4eu-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/iio/accel/da280.c:181:36: warning: 'da280_acpi_match' defined but not used [-Wunused-const-variable=]
     181 | static const struct acpi_device_id da280_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~


vim +/da280_acpi_match +181 drivers/iio/accel/da280.c

   180	
 > 181	static const struct acpi_device_id da280_acpi_match[] = {
   182		{"MIRAACC", da280},
   183		{},
   184	};
   185	MODULE_DEVICE_TABLE(acpi, da280_acpi_match);
   186	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-14 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 14:21 drivers/iio/accel/da280.c:181:36: warning: 'da280_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®