This occurs with the new gcc-7 tool chain

make ARCH=x86 CROSS_COMPILE= KERNELVERSION=4.11.0-13-generic 
CONFIG_DEBUG_SECTION_MISMATCH=y KBUILD_BUILD_VERSION="19" LOCALVERSION= 
localver-extra= CFLAGS_MODULE="-DPKG_ABI=13" -C 
/home/king/build/artful/debian/build/build-generic/spl/module -j4
make[1]: Entering directory 
'/home/king/build/artful/debian/build/build-generic/spl/module'
make -C /home/king/build/artful/debian/build/build-generic SUBDIRS=`pwd`  
O=/home/king/build/artful/debian/build/build-generic CONFIG_SPL=m modules
make[2]: Entering directory '/home/king/build/artful/debian/build/build-generic'
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-ctl.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-proc.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-kmem.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-kmem.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-kmem-cache.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-vmem.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-thread.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-taskq.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-random.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-taskq.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-mutex.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.o
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h: In 
function ‘spl_rw_set_owner’:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:55:32:
 error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                ^
/home/king/build/artful/include/linux/spinlock.h:205:34: note: in definition of 
macro ‘raw_spin_lock_irqsave’
   flags = _raw_spin_lock_irqsave(lock); \
                                  ^~~~
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:55:46:
 note: in expansion of macro ‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^~~~~~~~~~~~~~~~~
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:55:9:
 note: in expansion of macro ‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:286:40: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                        ^~~~~~~~~~~~~~
In file included from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:30:0,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:57:37:
 error: passing argument 1 of ‘spin_unlock_irqrestore’ from incompatible 
pointer type [-Werror=incompatible-pointer-types]
         spl_rwsem_unlock_irqrestore(&SEM(rwp)->wait_lock, flags);
                                     ^
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:56:69:
 note: in definition of macro ‘spl_rwsem_unlock_irqrestore’
 #define spl_rwsem_unlock_irqrestore(lk, fl)  spin_unlock_irqrestore(lk, fl)
                                                                     ^~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:352:29: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned 
long flags)
                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h: In 
function ‘spl_rw_clear_owner’:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:65:32:
 error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                ^
/home/king/build/artful/include/linux/spinlock.h:205:34: note: in definition of 
macro ‘raw_spin_lock_irqsave’
   flags = _raw_spin_lock_irqsave(lock); \
                                  ^~~~
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:55:46:
 note: in expansion of macro ‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^~~~~~~~~~~~~~~~~
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:65:9:
 note: in expansion of macro ‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:286:40: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                        ^~~~~~~~~~~~~~
In file included from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:30:0,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:67:37:
 error: passing argument 1 of ‘spin_unlock_irqrestore’ from incompatible 
pointer type [-Werror=incompatible-pointer-types]
         spl_rwsem_unlock_irqrestore(&SEM(rwp)->wait_lock, flags);
                                     ^
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:56:69:
 note: in definition of macro ‘spl_rwsem_unlock_irqrestore’
 #define spl_rwsem_unlock_irqrestore(lk, fl)  spin_unlock_irqrestore(lk, fl)
                                                                     ^~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:352:29: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned 
long flags)
                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h: In 
function ‘rw_owner’:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:76:32:
 error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                ^
/home/king/build/artful/include/linux/spinlock.h:205:34: note: in definition of 
macro ‘raw_spin_lock_irqsave’
   flags = _raw_spin_lock_irqsave(lock); \
                                  ^~~~
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:55:46:
 note: in expansion of macro ‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^~~~~~~~~~~~~~~~~
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:76:9:
 note: in expansion of macro ‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:286:40: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                        ^~~~~~~~~~~~~~
In file included from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:30:0,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:78:37:
 error: passing argument 1 of ‘spin_unlock_irqrestore’ from incompatible 
pointer type [-Werror=incompatible-pointer-types]
         spl_rwsem_unlock_irqrestore(&SEM(rwp)->wait_lock, flags);
                                     ^
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:56:69:
 note: in definition of macro ‘spl_rwsem_unlock_irqrestore’
 #define spl_rwsem_unlock_irqrestore(lk, fl)  spin_unlock_irqrestore(lk, fl)
                                                                     ^~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/sysmacros.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/types.h:29,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:352:29: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned 
long flags)
                             ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/home/king/build/artful/scripts/Makefile.build:294: recipe for target 
'/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.o'
 failed
make[6]: *** 
[/home/king/build/artful/debian/build/build-generic/spl/module/spl/spl-rwlock.o]
 Error 1
make[6]: *** Waiting for unfinished jobs....
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-condvar.o
/home/king/build/artful/scripts/Makefile.build:567: recipe for target 
'/home/king/build/artful/debian/build/build-generic/spl/module/spl' failed
make[5]: *** 
[/home/king/build/artful/debian/build/build-generic/spl/module/spl] Error 2
make[5]: *** Waiting for unfinished jobs....
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-thread.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-time.o
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h: In 
function ‘spl_rw_set_owner’:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:55:32:
 error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                ^
/home/king/build/artful/include/linux/spinlock.h:205:34: note: in definition of 
macro ‘raw_spin_lock_irqsave’
   flags = _raw_spin_lock_irqsave(lock); \
                                  ^~~~
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:55:46:
 note: in expansion of macro ‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^~~~~~~~~~~~~~~~~
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:55:9:
 note: in expansion of macro ‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:286:40: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                        ^~~~~~~~~~~~~~
In file included from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:30:0,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:28:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:57:37:
 error: passing argument 1 of ‘spin_unlock_irqrestore’ from incompatible 
pointer type [-Werror=incompatible-pointer-types]
         spl_rwsem_unlock_irqrestore(&SEM(rwp)->wait_lock, flags);
                                     ^
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:56:69:
 note: in definition of macro ‘spl_rwsem_unlock_irqrestore’
 #define spl_rwsem_unlock_irqrestore(lk, fl)  spin_unlock_irqrestore(lk, fl)
                                                                     ^~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:352:29: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned 
long flags)
                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h: In 
function ‘spl_rw_clear_owner’:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:65:32:
 error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                ^
/home/king/build/artful/include/linux/spinlock.h:205:34: note: in definition of 
macro ‘raw_spin_lock_irqsave’
   flags = _raw_spin_lock_irqsave(lock); \
                                  ^~~~
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:55:46:
 note: in expansion of macro ‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^~~~~~~~~~~~~~~~~
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:65:9:
 note: in expansion of macro ‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:286:40: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                        ^~~~~~~~~~~~~~
In file included from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:30:0,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:28:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:67:37:
 error: passing argument 1 of ‘spin_unlock_irqrestore’ from incompatible 
pointer type [-Werror=incompatible-pointer-types]
         spl_rwsem_unlock_irqrestore(&SEM(rwp)->wait_lock, flags);
                                     ^
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:56:69:
 note: in definition of macro ‘spl_rwsem_unlock_irqrestore’
 #define spl_rwsem_unlock_irqrestore(lk, fl)  spin_unlock_irqrestore(lk, fl)
                                                                     ^~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:352:29: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned 
long flags)
                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h: In 
function ‘rw_owner’:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:76:32:
 error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                ^
/home/king/build/artful/include/linux/spinlock.h:205:34: note: in definition of 
macro ‘raw_spin_lock_irqsave’
   flags = _raw_spin_lock_irqsave(lock); \
                                  ^~~~
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:55:46:
 note: in expansion of macro ‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^~~~~~~~~~~~~~~~~
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:76:9:
 note: in expansion of macro ‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:286:40: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                        ^~~~~~~~~~~~~~
In file included from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:30:0,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:28:
/home/king/build/artful/debian/build/build-generic/spl/include/sys/rwlock.h:78:37:
 error: passing argument 1 of ‘spin_unlock_irqrestore’ from incompatible 
pointer type [-Werror=incompatible-pointer-types]
         spl_rwsem_unlock_irqrestore(&SEM(rwp)->wait_lock, flags);
                                     ^
/home/king/build/artful/debian/build/build-generic/spl/include/linux/rwsem_compat.h:56:69:
 note: in definition of macro ‘spl_rwsem_unlock_irqrestore’
 #define spl_rwsem_unlock_irqrestore(lk, fl)  spin_unlock_irqrestore(lk, fl)
                                                                     ^~
In file included from /home/king/build/artful/include/linux/seqlock.h:35:0,
                 from /home/king/build/artful/include/linux/time.h:5,
                 from /home/king/build/artful/include/linux/stat.h:18,
                 from /home/king/build/artful/include/linux/module.h:10,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/include/sys/random.h:28,
                 from 
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.c:27:
/home/king/build/artful/include/linux/spinlock.h:352:29: note: expected 
‘spinlock_t * {aka struct spinlock *}’ but argument is of type ‘raw_spinlock_t 
* {aka struct raw_spinlock *}’
 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned 
long flags)
                             ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-vnode.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-kobj.o
  CC [M]  
/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-atomic.o
cc1: some warnings being treated as errors
/home/king/build/artful/scripts/Makefile.build:294: recipe for target 
'/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.o'
 failed
make[6]: *** 
[/home/king/build/artful/debian/build/build-generic/spl/module/splat/splat-rwlock.o]
 Error 1
make[6]: *** Waiting for unfinished jobs....
/home/king/build/artful/scripts/Makefile.build:567: recipe for target 
'/home/king/build/artful/debian/build/build-generic/spl/module/splat' failed
make[5]: *** 
[/home/king/build/artful/debian/build/build-generic/spl/module/splat] Error 2
/home/king/build/artful/Makefile:1526: recipe for target 
'_module_/home/king/build/artful/debian/build/build-generic/spl/module' failed
make[4]: *** 
[_module_/home/king/build/artful/debian/build/build-generic/spl/module] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[2]: *** [__sub-make] Error 2
make[2]: Leaving directory '/home/king/build/artful/debian/build/build-generic'
Makefile:11: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory 
'/home/king/build/artful/debian/build/build-generic/spl/module'
debian/rules.d/2-binary-arch.mk:70: recipe for target 
'/home/king/build/artful/debian/stamps/stamp-build-generic' failed
make: *** [/home/king/build/artful/debian/stamps/stamp-build-generic] Error 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709590

Title:
  linux 4.11.0-13.19 ADT test failure with linux 4.11.0-13.19

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to