All of lore.kernel.org
 help / color / mirror / Atom feed
* [kbuild:int-ll64 2/4] arch/sh/include/asm/types.h:13:9: error: unknown type name 'u16'
@ 2018-05-14 14:59 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-05-14 14:59 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: kbuild-all, linux-kbuild

[-- Attachment #1: Type: text/plain, Size: 7745 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git int-ll64
head:   8325dcf749738c8c9d59c20a152f3ea9a7fe83b7
commit: 0b03fb786010babb910f5be220fd3bacd97f96c5 [2/4] types: move u{8,16,32,64} and s{8,16,32,64} defines to <linux/types.h>
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0b03fb786010babb910f5be220fd3bacd97f96c5
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

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

   In file included from include/uapi/linux/types.h:5:0,
                    from include/linux/types.h:6,
                    from include/linux/page-flags.h:9,
                    from kernel/bounds.c:10:
>> arch/sh/include/asm/types.h:13:9: error: unknown type name 'u16'
    typedef u16 insn_size_t;
            ^~~
>> arch/sh/include/asm/types.h:14:9: error: unknown type name 'u32'
    typedef u32 reg_size_t;
            ^~~
   In file included from include/linux/types.h:6:0,
                    from include/linux/page-flags.h:9,
                    from kernel/bounds.c:10:
>> include/uapi/linux/types.h:29:9: error: unknown type name '__u16'
    typedef __u16 __bitwise __le16;
            ^~~~~
   include/uapi/linux/types.h:30:9: error: unknown type name '__u16'
    typedef __u16 __bitwise __be16;
            ^~~~~
>> include/uapi/linux/types.h:31:9: error: unknown type name '__u32'
    typedef __u32 __bitwise __le32;
            ^~~~~
   include/uapi/linux/types.h:32:9: error: unknown type name '__u32'
    typedef __u32 __bitwise __be32;
            ^~~~~
>> include/uapi/linux/types.h:33:9: error: unknown type name '__u64'
    typedef __u64 __bitwise __le64;
            ^~~~~
   include/uapi/linux/types.h:34:9: error: unknown type name '__u64'
    typedef __u64 __bitwise __be64;
            ^~~~~
   include/uapi/linux/types.h:36:9: error: unknown type name '__u16'
    typedef __u16 __bitwise __sum16;
            ^~~~~
   include/uapi/linux/types.h:37:9: error: unknown type name '__u32'
    typedef __u32 __bitwise __wsum;
            ^~~~~
   In file included from include/linux/page-flags.h:9:0,
                    from kernel/bounds.c:10:
>> include/linux/types.h:13:9: error: unknown type name '__u32'
    typedef __u32 __kernel_dev_t;
            ^~~~~
   include/linux/types.h:20:9: error: unknown type name '__u32'
    typedef __u32   nlink_t;
            ^~~~~
>> include/linux/types.h:95:9: error: unknown type name '__u8'
    typedef __u8   u8;
            ^~~~
>> include/linux/types.h:96:9: error: unknown type name '__s8'
    typedef __s8   s8;
            ^~~~
>> include/linux/types.h:97:9: error: unknown type name '__u16'
    typedef __u16   u16;
            ^~~~~
>> include/linux/types.h:98:9: error: unknown type name '__s16'
    typedef __s16   s16;
            ^~~~~
   include/linux/types.h:99:9: error: unknown type name '__u32'
    typedef __u32   u32;
            ^~~~~
>> include/linux/types.h:100:9: error: unknown type name '__s32'
    typedef __s32   s32;
            ^~~~~
>> include/linux/types.h:101:9: error: unknown type name '__u64'
    typedef __u64   u64;
            ^~~~~
>> include/linux/types.h:102:9: error: unknown type name '__s64'
    typedef __s64   s64;
            ^~~~~
   include/linux/types.h:107:10: error: unknown type name '__u8'
    typedef  __u8  u_int8_t;
             ^~~~
   include/linux/types.h:108:10: error: unknown type name '__s8'
    typedef  __s8  int8_t;
             ^~~~
   include/linux/types.h:109:10: error: unknown type name '__u16'
    typedef  __u16  u_int16_t;
             ^~~~~
   include/linux/types.h:110:10: error: unknown type name '__s16'
    typedef  __s16  int16_t;
             ^~~~~
   include/linux/types.h:111:10: error: unknown type name '__u32'
    typedef  __u32  u_int32_t;
             ^~~~~
   include/linux/types.h:112:10: error: unknown type name '__s32'
    typedef  __s32  int32_t;
             ^~~~~
   include/linux/types.h:116:10: error: unknown type name '__u8'
    typedef  __u8  uint8_t;
             ^~~~
   include/linux/types.h:117:10: error: unknown type name '__u16'
    typedef  __u16  uint16_t;
             ^~~~~
   include/linux/types.h:118:10: error: unknown type name '__u32'
    typedef  __u32  uint32_t;
             ^~~~~
   include/linux/types.h:121:10: error: unknown type name '__u64'
    typedef  __u64  uint64_t;
             ^~~~~
   include/linux/types.h:122:10: error: unknown type name '__u64'
    typedef  __u64  u_int64_t;
             ^~~~~
   include/linux/types.h:123:10: error: unknown type name '__s64'
    typedef  __s64  int64_t;
             ^~~~~
   In file included from include/asm-generic/bug.h:5:0,
                    from arch/sh/include/asm/bug.h:112,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/compiler.h: In function '__read_once_size':
>> include/linux/compiler.h:174:12: error: '__u8' undeclared (first use in this function); did you mean 'u8'?
     case 1: *(__u8 *)res = *(volatile __u8 *)p; break;  \
               ^
>> include/linux/compiler.h:188:2: note: in expansion of macro '__READ_ONCE_SIZE'
     __READ_ONCE_SIZE;
     ^~~~~~~~~~~~~~~~
   include/linux/compiler.h:174:12: note: each undeclared identifier is reported only once for each function it appears in
     case 1: *(__u8 *)res = *(volatile __u8 *)p; break;  \
               ^
>> include/linux/compiler.h:188:2: note: in expansion of macro '__READ_ONCE_SIZE'
     __READ_ONCE_SIZE;
     ^~~~~~~~~~~~~~~~
>> include/linux/compiler.h:174:18: error: expected expression before ')' token
     case 1: *(__u8 *)res = *(volatile __u8 *)p; break;  \
                     ^
>> include/linux/compiler.h:188:2: note: in expansion of macro '__READ_ONCE_SIZE'
     __READ_ONCE_SIZE;
     ^~~~~~~~~~~~~~~~
>> include/linux/compiler.h:175:12: error: '__u16' undeclared (first use in this function); did you mean '__u8'?
     case 2: *(__u16 *)res = *(volatile __u16 *)p; break;  \
               ^
>> include/linux/compiler.h:188:2: note: in expansion of macro '__READ_ONCE_SIZE'
     __READ_ONCE_SIZE;
     ^~~~~~~~~~~~~~~~
   include/linux/compiler.h:175:19: error: expected expression before ')' token
     case 2: *(__u16 *)res = *(volatile __u16 *)p; break;  \
                      ^

vim +/u16 +13 arch/sh/include/asm/types.h

^1da177e include/asm-sh/types.h      Linus Torvalds 2005-04-16  11  
5a4f7c66 include/asm-sh/types.h      Paul Mundt     2007-11-20  12  #ifdef CONFIG_SUPERH32
2bcfffa4 arch/sh/include/asm/types.h Paul Mundt     2009-05-09 @13  typedef u16 insn_size_t;
43bc61d8 arch/sh/include/asm/types.h Paul Mundt     2009-08-15 @14  typedef u32 reg_size_t;
5a4f7c66 include/asm-sh/types.h      Paul Mundt     2007-11-20  15  #else
2bcfffa4 arch/sh/include/asm/types.h Paul Mundt     2009-05-09  16  typedef u32 insn_size_t;
43bc61d8 arch/sh/include/asm/types.h Paul Mundt     2009-08-15  17  typedef u64 reg_size_t;
5a4f7c66 include/asm-sh/types.h      Paul Mundt     2007-11-20  18  #endif
5a4f7c66 include/asm-sh/types.h      Paul Mundt     2007-11-20  19  

:::::: The code at line 13 was first introduced by commit
:::::: 2bcfffa42309b6f73042c62459bf5207762a271d sh: Rename opcode_t to insn_size_t.

:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47737 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-14 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 14:59 [kbuild:int-ll64 2/4] arch/sh/include/asm/types.h:13:9: error: unknown type name 'u16' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.