tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 0c8c2eaf12587ba14280b4e6388198d0183841ca
commit: 269182567d367e317a1d63ba84756a6542cacd30 [18/20] FROMGIT: Bluetooth: btmrvl_sdio:
Implement prevent_wake
config: s390-randconfig-r006-20200615 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
reproduce (this is a W=1 build):
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 269182567d367e317a1d63ba84756a6542cacd30
# 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: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/blkdev.h:21:
In file included from include/linux/bio.h:28:
In file included from arch/s390/include/asm/io.h:79:
include/asm-generic/io.h:499:45: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro
'__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : ^
include/uapi/linux/swab.h:22:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0xff000000UL) >> 24)))
^
In file included from mm/vmscan.c:30:
In file included from include/linux/blkdev.h:21:
In file included from include/linux/bio.h:28:
In file included from arch/s390/include/asm/io.h:79:
include/asm-generic/io.h:499:45: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro
'__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:120:12: note: expanded from macro '__swab32'
__fswab32(x))
^
In file included from mm/vmscan.c:30:
In file included from include/linux/blkdev.h:21:
In file included from include/linux/bio.h:28:
In file included from arch/s390/include/asm/io.h:79:
include/asm-generic/io.h:510:33: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writeb(value, PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:520:46: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writew(cpu_to_le16(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:530:46: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writel(cpu_to_le32(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:592:20: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
readsb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:600:20: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
readsw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:608:20: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
readsl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:617:21: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:626:21: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:635:21: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
In file included from mm/vmscan.c:66:
In file included from include/trace/events/vmscan.h:597:
In file included from include/trace/define_trace.h:96:
In file included from include/trace/trace_events.h:20:
In file included from include/linux/trace_events.h:7:
In file included from include/linux/trace_seq.h:5:
include/linux/seq_buf.h:35:12: warning: assigning to 'char *' from 'unsigned
char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
s->buffer = buf;
^ ~~~
In file included from mm/vmscan.c:66:
In file included from include/trace/events/vmscan.h:597:
In file included from include/trace/define_trace.h:96:
In file included from include/trace/trace_events.h:20:
In file included from include/linux/trace_events.h:10:
In file included from include/linux/perf_event.h:48:
include/linux/ftrace.h:706:9: warning: calling '__builtin_return_address' with a
nonzero argument is unsafe [-Wframe-address]
addr = CALLER_ADDR1;
^~~~~~~~~~~~
include/linux/ftrace.h:693:38: note: expanded from macro 'CALLER_ADDR1'
#define CALLER_ADDR1 ((unsigned long)ftrace_return_address(1))
^~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/ftrace.h:16:34: note: expanded from macro
'ftrace_return_address'
#define ftrace_return_address(n) __builtin_return_address(n)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/vmscan.c:66:
In file included from include/trace/events/vmscan.h:597:
In file included from include/trace/define_trace.h:96:
In file included from include/trace/trace_events.h:20:
In file included from include/linux/trace_events.h:10:
In file included from include/linux/perf_event.h:48:
include/linux/ftrace.h:709:9: warning: calling '__builtin_return_address' with a
nonzero argument is unsafe [-Wframe-address]
return CALLER_ADDR2;
^~~~~~~~~~~~
include/linux/ftrace.h:694:38: note: expanded from macro 'CALLER_ADDR2'
#define CALLER_ADDR2 ((unsigned long)ftrace_return_address(2))
^~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/ftrace.h:16:34: note: expanded from macro
'ftrace_return_address'
#define ftrace_return_address(n) __builtin_return_address(n)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
35 warnings generated.
/tmp/vmscan-138434.s: Assembler messages:
> /tmp/vmscan-138434.s:13798: Error: bad expression
> /tmp/vmscan-138434.s:13798: Error: junk at end of line, first unrecognized character
is `r'
/tmp/vmscan-138434.s:14765: Error: bad expression
/tmp/vmscan-138434.s:14765: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:18236: Error: bad expression
/tmp/vmscan-138434.s:18236: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:18908: Error: bad expression
/tmp/vmscan-138434.s:18908: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:23797: Error: bad expression
/tmp/vmscan-138434.s:23797: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:24101: Error: bad expression
/tmp/vmscan-138434.s:24101: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:25437: Error: bad expression
/tmp/vmscan-138434.s:25437: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:27800: Error: bad expression
/tmp/vmscan-138434.s:27800: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:30492: Error: bad expression
/tmp/vmscan-138434.s:30492: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:31770: Error: bad expression
/tmp/vmscan-138434.s:31770: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:32658: Error: bad expression
/tmp/vmscan-138434.s:32658: Error: junk at end of line, first unrecognized character is
`r'
/tmp/vmscan-138434.s:35690: Error: bad expression
/tmp/vmscan-138434.s:35690: 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