tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-4.19
head: 757911b8764abcd090275bcc6bb53309b6089c4f
commit: 114432dc7c87923b95696344b7cddc960eea7826 [30/43] gfs2: Another gfs2_walk_metadata
fix
config: s390-randconfig-r013-20200517 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390-linux-gnu
git checkout 114432dc7c87923b95696344b7cddc960eea7826
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
static inline int __atomic_cmpxchg(int *ptr, int old, int new)
^
In file included from block/elevator.c:26:
In file included from include/linux/fs.h:6:
In file included from include/linux/wait_bit.h:8:
In file included from include/linux/wait.h:9:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:81:
arch/s390/include/asm/preempt.h:38:38: warning: passing '__u32 *' (aka
'unsigned int *') to parameter of type 'int *' converts between pointers
to integer types with different sign [-Wpointer-sign]
__atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/atomic_ops.h:31:1: note: passing argument to parameter 'ptr'
here
__ATOMIC_OPS(__atomic_and, int, "lan")
^
arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
__ATOMIC_OP(op_name, op_type, op_string, "n") ^
arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
static inline op_type op_name(op_type val, op_type *ptr)
^
In file included from block/elevator.c:26:
In file included from include/linux/fs.h:6:
In file included from include/linux/wait_bit.h:8:
In file included from include/linux/wait.h:9:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:81:
arch/s390/include/asm/preempt.h:43:36: warning: passing '__u32 *' (aka
'unsigned int *') to parameter of type 'int *' converts between pointers
to integer types with different sign [-Wpointer-sign]
__atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/atomic_ops.h:32:1: note: passing argument to parameter 'ptr'
here
__ATOMIC_OPS(__atomic_or, int, "lao")
^
arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
__ATOMIC_OP(op_name, op_type, op_string, "n") ^
arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
static inline op_type op_name(op_type val, op_type *ptr)
^
In file included from block/elevator.c:26:
In file included from include/linux/fs.h:6:
In file included from include/linux/wait_bit.h:8:
In file included from include/linux/wait.h:9:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:81:
arch/s390/include/asm/preempt.h:54:27: warning: passing '__u32 *' (aka
'unsigned int *') to parameter of type 'int *' converts between pointers
to integer types with different sign [-Wpointer-sign]
__atomic_add_const(val, &S390_lowcore.preempt_count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/atomic_ops.h:56:1: note: passing argument to parameter 'ptr'
here
__ATOMIC_CONST_OPS(__atomic_add_const, int, "asi")
^
arch/s390/include/asm/atomic_ops.h:53:2: note: expanded from macro
'__ATOMIC_CONST_OPS'
__ATOMIC_CONST_OP(op_name, op_type, op_string, "n") ^
arch/s390/include/asm/atomic_ops.h:44:50: note: expanded from macro
'__ATOMIC_CONST_OP'
static inline void op_name(op_type val, op_type *ptr)
^
In file included from block/elevator.c:26:
In file included from include/linux/fs.h:6:
In file included from include/linux/wait_bit.h:8:
In file included from include/linux/wait.h:9:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:81:
arch/s390/include/asm/preempt.h:56:21: warning: passing '__u32 *' (aka
'unsigned int *') to parameter of type 'int *' converts between pointers
to integer types with different sign [-Wpointer-sign]
__atomic_add(val, &S390_lowcore.preempt_count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/atomic_ops.h:30:1: note: passing argument to parameter 'ptr'
here
__ATOMIC_OPS(__atomic_add, int, "laa")
^
arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
__ATOMIC_OP(op_name, op_type, op_string, "n") ^
arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
static inline op_type op_name(op_type val, op_type *ptr)
^
In file included from block/elevator.c:26:
In file included from include/linux/fs.h:6:
In file included from include/linux/wait_bit.h:8:
In file included from include/linux/wait.h:9:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:81:
arch/s390/include/asm/preempt.h:66:26: warning: passing '__u32 *' (aka
'unsigned int *') to parameter of type 'int *' converts between pointers
to integer types with different sign [-Wpointer-sign]
return __atomic_add(-1, &S390_lowcore.preempt_count) == 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/atomic_ops.h:30:1: note: passing argument to parameter 'ptr'
here
__ATOMIC_OPS(__atomic_add, int, "laa")
^
arch/s390/include/asm/atomic_ops.h:27:2: note: expanded from macro '__ATOMIC_OPS'
__ATOMIC_OP(op_name, op_type, op_string, "n") ^
arch/s390/include/asm/atomic_ops.h:14:53: note: expanded from macro '__ATOMIC_OP'
static inline op_type op_name(op_type val, op_type *ptr)
^
In file included from block/elevator.c:38:
In file included from include/linux/blk-cgroup.h:17:
In file included from include/linux/cgroup.h:28:
include/linux/cgroup-defs.h:470:16: warning: field 'cgrp' with variable sized type
'struct cgroup' not at the end of a struct or class is a GNU extension
[-Wgnu-variable-sized-type-not-at-end]
struct cgroup cgrp;
^
13 warnings generated.
/tmp/elevator-357159.s: Assembler messages:
> /tmp/elevator-357159.s:5604: Error: bad expression
> /tmp/elevator-357159.s:5604: Error: junk at end of line, first unrecognized character
is `r'
/tmp/elevator-357159.s:6072: Error: bad expression
/tmp/elevator-357159.s:6072: Error: junk at end of line, first unrecognized character is
`r'
clang-11: error: assembler command failed with exit code 1 (use -v to see invocation)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org