[vfs:work.siginfo 3/6] include/uapi/asm-generic/siginfo.h:311:16: error: redefinition of 'struct sigevent'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.siginfo
head:   d3091fc945d942ed10ae55f9e2ad213a5522df50
commit: df68b2b108ebe645ef385f5b371fb9f651465176 [3/6] switch mips to generic siginfo
config: m32r-m32104ut_defconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout df68b2b108ebe645ef385f5b371fb9f651465176
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   In file included from ./arch/m32r/include/generated/uapi/asm/siginfo.h:1:0,
                    from include/uapi/linux/signal.h:5,
                    from include/linux/signal_types.h:9,
                    from include/linux/sched.h:26,
                    from include/linux/nsproxy.h:5,
                    from include/linux/user_namespace.h:5,
                    from include/linux/fsnotify_backend.h:19,
                    from fs/notify/inotify/inotify_user.c:27:
   include/uapi/asm-generic/siginfo.h:331:2: error: #endif without #if
    #endif /* _UAPI_ASM_GENERIC_SIGINFO_H */
     ^~~~~
   In file included from ./arch/m32r/include/generated/uapi/asm/siginfo.h:1:0,
                    from include/linux/syscalls.h:78,
                    from fs/notify/inotify/inotify_user.c:35:
>> include/uapi/asm-generic/siginfo.h:311:16: error: redefinition of 'struct sigevent'
    typedef struct sigevent {
                   ^~~~~~~~
   In file included from ./arch/m32r/include/generated/uapi/asm/siginfo.h:1:0,
                    from include/uapi/linux/signal.h:5,
                    from include/linux/signal_types.h:9,
                    from include/linux/sched.h:26,
                    from include/linux/nsproxy.h:5,
                    from include/linux/user_namespace.h:5,
                    from include/linux/fsnotify_backend.h:19,
                    from fs/notify/inotify/inotify_user.c:27:
   include/uapi/asm-generic/siginfo.h:311:16: note: originally defined here
    typedef struct sigevent {
                   ^~~~~~~~
   In file included from ./arch/m32r/include/generated/uapi/asm/siginfo.h:1:0,
                    from include/linux/syscalls.h:78,
                    from fs/notify/inotify/inotify_user.c:35:
>> include/uapi/asm-generic/siginfo.h:324:3: error: conflicting types for 'sigevent_t'
    } sigevent_t;
      ^~~~~~~~~~
   In file included from ./arch/m32r/include/generated/uapi/asm/siginfo.h:1:0,
                    from include/uapi/linux/signal.h:5,
                    from include/linux/signal_types.h:9,
                    from include/linux/sched.h:26,
                    from include/linux/nsproxy.h:5,
                    from include/linux/user_namespace.h:5,
                    from include/linux/fsnotify_backend.h:19,
                    from fs/notify/inotify/inotify_user.c:27:
   include/uapi/asm-generic/siginfo.h:324:3: note: previous declaration of 'sigevent_t' was here
    } sigevent_t;
      ^~~~~~~~~~
   In file included from ./arch/m32r/include/generated/uapi/asm/siginfo.h:1:0,
                    from include/linux/syscalls.h:78,
                    from fs/notify/inotify/inotify_user.c:35:
   include/uapi/asm-generic/siginfo.h:331:2: error: #endif without #if
    #endif /* _UAPI_ASM_GENERIC_SIGINFO_H */
     ^~~~~

vim +311 include/uapi/asm-generic/siginfo.h


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

:::::: TO: David Howells <dhowells@xxxxxxxxxx>
:::::: CC: David Howells <dhowells@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux