Re: [PATCH 3/4] counter: Add character device interface

From: kbuild test robot
Date: Thu Apr 30 2020 - 23:01:30 EST


Hi William,

I love your patch! Yet something to improve:

[auto build test ERROR on stm32/stm32-next]
[cannot apply to linus/master linux/master v5.7-rc3 next-20200430]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/William-Breathitt-Gray/Introduce-the-Counter-character-device-interface/20200430-051734
base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next
config: x86_64-randconfig-d003-20200501 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from <command-line>:32:0:
>> ./usr/include/linux/counter.h:22:2: error: unknown type name 'size_t'
size_t num_signals;
^~~~~~
./usr/include/linux/counter.h:23:2: error: unknown type name 'size_t'
size_t num_counts;
^~~~~~
./usr/include/linux/counter.h:24:2: error: unknown type name 'size_t'
size_t num_ext;
^~~~~~
./usr/include/linux/counter.h:35:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:39:2: error: unknown type name 'size_t'
size_t num_ext;
^~~~~~
./usr/include/linux/counter.h:50:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:51:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:53:2: error: unknown type name 'size_t'
size_t num_actions;
^~~~~~
./usr/include/linux/counter.h:54:2: error: unknown type name 'size_t'
size_t signal_index;
^~~~~~
./usr/include/linux/counter.h:67:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:71:2: error: unknown type name 'size_t'
size_t num_functions;
^~~~~~
./usr/include/linux/counter.h:72:2: error: unknown type name 'size_t'
size_t num_synapses;
^~~~~~
./usr/include/linux/counter.h:73:2: error: unknown type name 'size_t'
size_t num_ext;
^~~~~~
./usr/include/linux/counter.h:86:2: error: unknown type name 'size_t'
size_t owner_index;
^~~~~~
./usr/include/linux/counter.h:87:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:99:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:110:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:121:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:133:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:134:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:146:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:147:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:160:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:161:2: error: unknown type name 'size_t'
size_t synapse_index;
^~~~~~
./usr/include/linux/counter.h:162:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:176:2: error: unknown type name 'size_t'
size_t owner_index;
^~~~~~
./usr/include/linux/counter.h:177:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
>> ./usr/include/linux/counter.h:179:2: error: unknown type name 'bool'
bool data;
^~~~
./usr/include/linux/counter.h:191:2: error: unknown type name 'size_t'
size_t owner_index;
^~~~~~
./usr/include/linux/counter.h:192:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:206:2: error: unknown type name 'size_t'
size_t owner_index;
^~~~~~
./usr/include/linux/counter.h:207:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:221:2: error: unknown type name 'size_t'
size_t owner_index;
^~~~~~
./usr/include/linux/counter.h:222:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:224:2: error: unknown type name 'size_t'
size_t enum_index;
^~~~~~
./usr/include/linux/counter.h:237:2: error: unknown type name 'size_t'
size_t owner_index;
^~~~~~
./usr/include/linux/counter.h:238:2: error: unknown type name 'size_t'
size_t ext_index;
^~~~~~
./usr/include/linux/counter.h:239:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:251:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:252:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:264:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:265:2: error: unknown type name 'size_t'
size_t index;
^~~~~~
./usr/include/linux/counter.h:278:2: error: unknown type name 'size_t'
size_t count_index;
^~~~~~
./usr/include/linux/counter.h:279:2: error: unknown type name 'size_t'
size_t ext_index;
^~~~~~
./usr/include/linux/counter.h:280:2: error: unknown type name 'size_t'
size_t index;
^~~~~~

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

Attachment: .config.gz
Description: application/gzip