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

kbuild test robot lkp at intel.com
Sat Nov 19 18:06:32 UTC 2016


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: i386-randconfig-x006-201647 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

>> drivers/staging/speakup/synth.c:1:2: error: stray '#' in program
    w#include <linux/types.h>
     ^
>> drivers/staging/speakup/synth.c:1:1: error: unknown type name 'w'
    w#include <linux/types.h>
    ^
>> drivers/staging/speakup/synth.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    w#include <linux/types.h>
              ^
   In file included from drivers/staging/speakup/synth.c:2:0:
   include/linux/ctype.h: In function '__tolower':
>> include/linux/ctype.h:20:22: error: '_ctype' undeclared (first use in this function)
    #define __ismask(x) (_ctype[(int)(unsigned char)(x)])
                         ^
>> include/linux/ctype.h:35:22: note: in expansion of macro '__ismask'
    #define isupper(c) ((__ismask(c)&(_U)) != 0)
                         ^~~~~~~~
>> include/linux/ctype.h:43:6: note: in expansion of macro 'isupper'
     if (isupper(c))
         ^~~~~~~
   include/linux/ctype.h:20:22: note: each undeclared identifier is reported only once for each function it appears in
    #define __ismask(x) (_ctype[(int)(unsigned char)(x)])
                         ^
>> include/linux/ctype.h:35:22: note: in expansion of macro '__ismask'
    #define isupper(c) ((__ismask(c)&(_U)) != 0)
                         ^~~~~~~~
>> include/linux/ctype.h:43:6: note: in expansion of macro 'isupper'
     if (isupper(c))
         ^~~~~~~
   include/linux/ctype.h: In function '__toupper':
>> include/linux/ctype.h:20:22: error: '_ctype' undeclared (first use in this function)
    #define __ismask(x) (_ctype[(int)(unsigned char)(x)])
                         ^
   include/linux/ctype.h:30:22: note: in expansion of macro '__ismask'
    #define islower(c) ((__ismask(c)&(_L)) != 0)
                         ^~~~~~~~
>> include/linux/ctype.h:50:6: note: in expansion of macro 'islower'
     if (islower(c))
         ^~~~~~~

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 31755 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20161120/0239927a/attachment-0001.bin>


More information about the devel mailing list