All of lore.kernel.org
 help / color / mirror / Atom feed
* [mmotm:master 192/212] include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
@ 2018-06-08  2:06 kbuild test robot
  2018-06-11  0:01 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-06-08  2:06 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild-all, Linux Memory Management List, Souptick Joarder,
	Johannes Weiner

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   7393732bae530daa27567988b91d16ecfeef6c62
commit: b1a8bfbadbcb79644ccdd5f9cd370caa63cb1fa7 [192/212] linux-next-git-rejects
config: i386-randconfig-s0-201822-CONFIG_DEBUG_INFO_REDUCED (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout b1a8bfbadbcb79644ccdd5f9cd370caa63cb1fa7
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/asm-generic/int-ll64.h:11:0,
                    from include/uapi/asm-generic/types.h:7,
                    from arch/x86/include/uapi/asm/types.h:5,
                    from include/uapi/linux/types.h:5,
                    from include/linux/types.h:6,
                    from net/ipv4/ipconfig.c:36:
>> include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
    typedef __signed__ char __s8;
    ^~~~~~~
   In file included from include/uapi/asm-generic/types.h:7:0,
                    from arch/x86/include/uapi/asm/types.h:5,
                    from include/uapi/linux/types.h:5,
                    from include/linux/types.h:6,
                    from net/ipv4/ipconfig.c:36:
>> include/asm-generic/int-ll64.h:16:9: error: unknown type name '__s8'
    typedef __s8  s8;
            ^~~~
   In file included from include/linux/quota.h:42:0,
                    from include/linux/fs.h:231,
                    from include/linux/net.h:27,
                    from include/linux/skbuff.h:29,
                    from include/net/net_namespace.h:35,
                    from include/linux/inet.h:46,
                    from net/ipv4/ipconfig.c:45:
>> include/uapi/linux/dqblk_xfs.h:54:2: error: unknown type name '__s8'
     __s8  d_version; /* version of this structure */
     ^~~~
   include/uapi/linux/dqblk_xfs.h:55:2: error: unknown type name '__s8'
     __s8  d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */
     ^~~~
   include/uapi/linux/dqblk_xfs.h:156:2: error: unknown type name '__s8'
     __s8  qs_version; /* version number for future changes */
     ^~~~
   include/uapi/linux/dqblk_xfs.h:158:2: error: unknown type name '__s8'
     __s8  qs_pad;  /* unused */
     ^~~~
   include/uapi/linux/dqblk_xfs.h:200:2: error: unknown type name '__s8'
     __s8   qs_version; /* version for future changes */
     ^~~~
   In file included from include/linux/ethtool.h:18:0,
                    from include/linux/netdevice.h:41,
                    from include/linux/inetdevice.h:10,
                    from net/ipv4/ipconfig.c:46:
>> include/uapi/linux/ethtool.h:1834:2: error: unknown type name '__s8'
     __s8 link_mode_masks_nwords;
     ^~~~
   In file included from include/linux/netdevice.h:52:0,
                    from include/linux/inetdevice.h:10,
                    from net/ipv4/ipconfig.c:46:
>> include/uapi/linux/if_bonding.h:107:2: error: unknown type name '__s8'
     __s8 link;
     ^~~~
   include/uapi/linux/if_bonding.h:108:2: error: unknown type name '__s8'
     __s8 state;
     ^~~~
   In file included from include/linux/sunrpc/clnt.h:28:0,
                    from include/linux/nfs_fs.h:32,
                    from net/ipv4/ipconfig.c:59:
>> include/net/ipv6.h:299:2: error: unknown type name '__s8'
     __s8  dontfrag;
     ^~~~

vim +20 include/uapi/asm-generic/int-ll64.h

8a1ab315 David Howells 2012-10-04  13  
8a1ab315 David Howells 2012-10-04  14  #ifndef __ASSEMBLY__
8a1ab315 David Howells 2012-10-04  15  /*
8a1ab315 David Howells 2012-10-04  16   * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
8a1ab315 David Howells 2012-10-04  17   * header files exported to user space
8a1ab315 David Howells 2012-10-04  18   */
8a1ab315 David Howells 2012-10-04  19  
8a1ab315 David Howells 2012-10-04 @20  typedef __signed__ char __s8;
8a1ab315 David Howells 2012-10-04  21  typedef unsigned char __u8;
8a1ab315 David Howells 2012-10-04  22  

:::::: The code at line 20 was first introduced by commit
:::::: 8a1ab3155c2ac7fbe5f2038d6e26efeb607a1498 UAPI: (Scripted) Disintegrate include/asm-generic

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

---
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: 28333 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mmotm:master 192/212] include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
  2018-06-08  2:06 [mmotm:master 192/212] include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' kbuild test robot
@ 2018-06-11  0:01 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2018-06-11  0:01 UTC (permalink / raw)
  To: kbuild test robot, Andrew Morton
  Cc: kbuild-all, Linux Memory Management List, Souptick Joarder,
	Johannes Weiner, LKML, netdev

On 06/07/2018 07:06 PM, kbuild test robot wrote:
> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   7393732bae530daa27567988b91d16ecfeef6c62
> commit: b1a8bfbadbcb79644ccdd5f9cd370caa63cb1fa7 [192/212] linux-next-git-rejects
> config: i386-randconfig-s0-201822-CONFIG_DEBUG_INFO_REDUCED (attached as .config)
> compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
> reproduce:
>         git checkout b1a8bfbadbcb79644ccdd5f9cd370caa63cb1fa7
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from include/asm-generic/int-ll64.h:11:0,
>                     from include/uapi/asm-generic/types.h:7,
>                     from arch/x86/include/uapi/asm/types.h:5,
>                     from include/uapi/linux/types.h:5,
>                     from include/linux/types.h:6,
>                     from net/ipv4/ipconfig.c:36:
>>> include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
>     typedef __signed__ char __s8;
>     ^~~~~~~

The problem here was that net/ipv4/ipconfig.c begins like this:

q// SPDX-License-Identifier: GPL-2.0

Did anyone fix that?


-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-11  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-08  2:06 [mmotm:master 192/212] include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' kbuild test robot
2018-06-11  0:01 ` Randy Dunlap

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.