oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luke Ross <luke@lukeross.name>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: drivers/iio/accel/da280.c:181:36: warning: 'da280_acpi_match' defined but not used
Date: Tue, 14 Feb 2023 22:21:54 +0800	[thread overview]
Message-ID: <202302142222.vVU0E4eu-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-02-14 14:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202302142222.vVU0E4eu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@lukeross.name \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).