Re: [PATCH] Input: add switch event(SW_COVER_ATTACHED)
From: kernel test robot
Date: Sun Nov 01 2020 - 06:28:47 EST
Hi HyungJae,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on input/next]
[also build test ERROR on linus/master linux/master v5.10-rc1 next-20201030]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/HyungJae-Im/Input-add-switch-event-SW_COVER_ATTACHED/20201030-140340
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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/0b49228f266d7c09d3a85cc94357ac0e11f4f2ef
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review HyungJae-Im/Input-add-switch-event-SW_COVER_ATTACHED/20201030-140340
git checkout 0b49228f266d7c09d3a85cc94357ac0e11f4f2ef
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> drivers/input/cover_detect.c:17:10: fatal error: linux/wakelock.h: No such file or directory
17 | #include <linux/wakelock.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
vim +17 drivers/input/cover_detect.c
> 17 #include <linux/wakelock.h>
18
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip