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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to