linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* include/linux/input.h:256:2: error: "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
@ 2021-11-05  3:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-05  3:37 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: llvm, kbuild-all, linux-kernel, 0day robot

[-- Attachment #1: Type: text/plain, Size: 2387 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: arm-randconfig-r026-20211105 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 847a6807332b13f43704327c2d30103ec0347c77)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # 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=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/media/common/siano/

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/media/common/siano/smscoreapi.c:12:
   In file included from drivers/media/common/siano/smscoreapi.h:29:
   In file included from drivers/media/common/siano/smsir.h:17:
>> include/linux/input.h:256:2: error: "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
   #error "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match"
    ^
   1 error generated.


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: 36600 bytes --]

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

only message in thread, other threads:[~2021-11-05  3:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05  3:37 include/linux/input.h:256:2: error: "SW_MAX and INPUT_DEVICE_ID_SW_MAX do not match" 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;
as well as URLs for NNTP newsgroup(s).