public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	0day robot <lkp@intel.com>
Subject: include/linux/input.h:256:2: error: #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
Date: Fri, 5 Nov 2021 11:54:40 +0800	[thread overview]
Message-ID: <202111051127.8mDVq8Sp-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3077 bytes --]

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20211105-015602/Kieran-Bingham/arm64-dts-renesas-r8a779a0-falcon-cpu-Add-SW46-switch-support/20211025-210557
head:   ee2f237110e65ac76c12b958ba928a3f18940b8a
commit: ee2f237110e65ac76c12b958ba928a3f18940b8a Input: add 'safe' user switch codes
date:   10 hours ago
config: openrisc-randconfig-r036-20211105 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/ee2f237110e65ac76c12b958ba928a3f18940b8a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20211105-015602/Kieran-Bingham/arm64-dts-renesas-r8a779a0-falcon-cpu-Add-SW46-switch-support/20211025-210557
        git checkout ee2f237110e65ac76c12b958ba928a3f18940b8a
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash drivers/input/touchscreen/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/input/touchscreen/ad7879.c:25:
>> include/linux/input.h:256:2: error: #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
     256 | #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
         |  ^~~~~
--
   In file included from drivers/input/touchscreen/stmpe-ts.c:16:
>> include/linux/input.h:256:2: error: #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
     256 | #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
         |  ^~~~~
   drivers/input/touchscreen/stmpe-ts.c:371:34: warning: 'stmpe_ts_ids' defined but not used [-Wunused-const-variable=]
     371 | static const struct of_device_id stmpe_ts_ids[] = {
         |                                  ^~~~~~~~~~~~
--
   In file included from drivers/input/touchscreen/wdt87xx_i2c.c:13:
>> include/linux/input.h:256:2: error: #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
     256 | #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
         |  ^~~~~
   drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used [-Wunused-const-variable=]
    1166 | static const struct acpi_device_id wdt87xx_acpi_id[] = {
         |                                    ^~~~~~~~~~~~~~~


vim +256 include/linux/input.h

ddc5d3414593e4 Dmitry Torokhov 2006-04-26  254  
ddc5d3414593e4 Dmitry Torokhov 2006-04-26  255  #if SW_MAX != INPUT_DEVICE_ID_SW_MAX
ddc5d3414593e4 Dmitry Torokhov 2006-04-26 @256  #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
ddc5d3414593e4 Dmitry Torokhov 2006-04-26  257  #endif
ddc5d3414593e4 Dmitry Torokhov 2006-04-26  258  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36467 bytes --]

                 reply	other threads:[~2021-11-05  3:55 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=202111051127.8mDVq8Sp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    /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