Re: [PATCH v2 1/5] staging: speakup: synth.c Spaces around operators

From: kbuild test robot
Date: Sat Nov 19 2016 - 13:49:33 EST


Hi Walt,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.9-rc5 next-20161117]
[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/Walt-Feasel/staging-speakup-synth-c-checkpatch-modifications/20161120-013925
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=openrisc

All errors (new ones prefixed by >>):

drivers/staging/speakup/synth.c:1:1: error: stray '#' in program
>> drivers/staging/speakup/synth.c:1:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
In file included from drivers/staging/speakup/synth.c:2:0:
include/linux/ctype.h: In function '__tolower':
include/linux/ctype.h:43:6: error: '_ctype' undeclared (first use in this function)
include/linux/ctype.h:43:6: note: each undeclared identifier is reported only once for each function it appears in
include/linux/ctype.h: In function '__toupper':
include/linux/ctype.h:50:6: error: '_ctype' undeclared (first use in this function)

vim +1 drivers/staging/speakup/synth.c

> 1 w#include <linux/types.h>
2 #include <linux/ctype.h> /* for isdigit() and friends */
3 #include <linux/fs.h>
4 #include <linux/mm.h> /* for verify_area */

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

Attachment: .config.gz
Description: application/gzip