Re: [PATCH v3 05/16] Platform: OLPC: Add XO-1.75 EC driver

From: kbuild test robot
Date: Tue Jan 08 2019 - 01:23:36 EST


Hi Lubomir,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.0-rc1 next-20190107]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Lubomir-Rintel/Add-support-for-OLPC-XO-1-75-Embedded-Controller/20190108-114514
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> drivers/platform/olpc/olpc-xo175-ec.c:26:10: fatal error: asm/system_misc.h: No such file or directory
#include <asm/system_misc.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.

coccinelle warnings: (new ones prefixed by >>)

>> drivers/platform/olpc/olpc-xo175-ec.c:496:5-13: WARNING: Unsigned expression compared with zero: nr_bytes < 0

vim +26 drivers/platform/olpc/olpc-xo175-ec.c

> 26 #include <asm/system_misc.h>
27

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip