tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 389e4b950d00e1d7114ba0fbb166da3ac7450c7c
commit: f26de98cf129ea8bdec32dc3202bb97da09e462e [1/11] UPSTREAM: Bluetooth: L2CAP: add
support for waiting disconnection resp
config: s390-randconfig-r021-20200607 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
e429cffd4f228f70c1d9df0e5d77c08590dd9766)
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 f26de98cf129ea8bdec32dc3202bb97da09e462e
# 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 <<):
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : ^
include/uapi/linux/swab.h:19:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x000000ffUL) << 24) | ^
In file included from drivers/scsi/ufs/ufshcd.c:45:
In file included from drivers/scsi/ufs/ufshcd.h:44:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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:20:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x0000ff00UL) << 8) | ^
In file included from drivers/scsi/ufs/ufshcd.c:45:
In file included from drivers/scsi/ufs/ufshcd.h:44:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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:21:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | ^
In file included from drivers/scsi/ufs/ufshcd.c:45:
In file included from drivers/scsi/ufs/ufshcd.h:44:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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 drivers/scsi/ufs/ufshcd.c:45:
In file included from drivers/scsi/ufs/ufshcd.h:44:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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 drivers/scsi/ufs/ufshcd.c:45:
In file included from drivers/scsi/ufs/ufshcd.h:44:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:503: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:513: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:523: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:585: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:593: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:601: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:610: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:619: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:628:21: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
20 warnings generated.
/tmp/ufshcd-873203.s: Assembler messages:
> /tmp/ufshcd-873203.s:6274: Error: bad expression
> /tmp/ufshcd-873203.s:6274: Error: junk at end of line, first unrecognized character
is `r'
/tmp/ufshcd-873203.s:7526: Error: bad expression
/tmp/ufshcd-873203.s:7526: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:8446: Error: bad expression
/tmp/ufshcd-873203.s:8446: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:11562: Error: bad expression
/tmp/ufshcd-873203.s:11562: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:12011: Error: bad expression
/tmp/ufshcd-873203.s:12011: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:18468: Error: bad expression
/tmp/ufshcd-873203.s:18468: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:19023: Error: bad expression
/tmp/ufshcd-873203.s:19023: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:25573: Error: bad expression
/tmp/ufshcd-873203.s:25573: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:25941: Error: bad expression
/tmp/ufshcd-873203.s:25941: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:26476: Error: bad expression
/tmp/ufshcd-873203.s:26476: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:28419: Error: bad expression
/tmp/ufshcd-873203.s:28419: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:29165: Error: bad expression
/tmp/ufshcd-873203.s:29165: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:30388: Error: bad expression
/tmp/ufshcd-873203.s:30388: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:31833: Error: bad expression
/tmp/ufshcd-873203.s:31833: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:33780: Error: bad expression
/tmp/ufshcd-873203.s:33780: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:55826: Error: bad expression
/tmp/ufshcd-873203.s:55826: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:55966: Error: bad expression
/tmp/ufshcd-873203.s:55966: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:56387: Error: bad expression
/tmp/ufshcd-873203.s:56387: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:57005: Error: bad expression
/tmp/ufshcd-873203.s:57005: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:60569: Error: bad expression
/tmp/ufshcd-873203.s:60569: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:60658: Error: bad expression
/tmp/ufshcd-873203.s:60658: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:61454: Error: bad expression
/tmp/ufshcd-873203.s:61454: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:70921: Error: bad expression
/tmp/ufshcd-873203.s:70921: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:78125: Error: bad expression
/tmp/ufshcd-873203.s:78125: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:79192: Error: bad expression
/tmp/ufshcd-873203.s:79192: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:81475: Error: bad expression
/tmp/ufshcd-873203.s:81475: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:90101: Error: bad expression
/tmp/ufshcd-873203.s:90101: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:90438: Error: bad expression
/tmp/ufshcd-873203.s:90438: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:103219: Error: bad expression
/tmp/ufshcd-873203.s:103219: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:104104: Error: bad expression
/tmp/ufshcd-873203.s:104104: Error: junk at end of line, first unrecognized character is
`r'
/tmp/ufshcd-873203.s:104159: Error: bad expression
/tmp/ufshcd-873203.s:104159: 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)
--
In file included from kernel/trace/trace.c:18:
In file included from include/linux/writeback.h:14:
In file included from include/linux/blk-cgroup.h:21:
In file included from include/linux/blkdev.h:28:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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:21:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | ^
In file included from kernel/trace/trace.c:18:
In file included from include/linux/writeback.h:14:
In file included from include/linux/blk-cgroup.h:21:
In file included from include/linux/blkdev.h:28:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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 kernel/trace/trace.c:18:
In file included from include/linux/writeback.h:14:
In file included from include/linux/blk-cgroup.h:21:
In file included from include/linux/blkdev.h:28:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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 kernel/trace/trace.c:18:
In file included from include/linux/writeback.h:14:
In file included from include/linux/blk-cgroup.h:21:
In file included from include/linux/blkdev.h:28:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:503: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:513: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:523: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:585: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:593: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:601: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:610: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:619: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:628:21: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
kernel/trace/trace.c:8383:21: warning: no previous prototype for function
'trace_array_create' [-Wmissing-prototypes]
struct trace_array *trace_array_create(const char *name)
^
kernel/trace/trace.c:8383:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
struct trace_array *trace_array_create(const char *name)
^
static
kernel/trace/trace.c:8505:5: warning: no previous prototype for function
'trace_array_destroy' [-Wmissing-prototypes]
int trace_array_destroy(struct trace_array *tr)
^
kernel/trace/trace.c:8505:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int trace_array_destroy(struct trace_array *tr)
^
static
22 warnings generated.
/tmp/trace-497441.s: Assembler messages:
> /tmp/trace-497441.s:15275: Error: bad expression
> /tmp/trace-497441.s:15275: Error: junk at end of line, first unrecognized character
is `r'
/tmp/trace-497441.s:17322: Error: bad expression
/tmp/trace-497441.s:17322: 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)
--
In file included from drivers/media/common/videobuf2/videobuf2-core.c:29:
In file included from include/media/videobuf2-core.h:18:
In file included from include/linux/dma-buf.h:18:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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:20:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x0000ff00UL) << 8) | ^
In file included from drivers/media/common/videobuf2/videobuf2-core.c:29:
In file included from include/media/videobuf2-core.h:18:
In file included from include/linux/dma-buf.h:18:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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:21:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | ^
In file included from drivers/media/common/videobuf2/videobuf2-core.c:29:
In file included from include/media/videobuf2-core.h:18:
In file included from include/linux/dma-buf.h:18:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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 drivers/media/common/videobuf2/videobuf2-core.c:29:
In file included from include/media/videobuf2-core.h:18:
In file included from include/linux/dma-buf.h:18:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492: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 drivers/media/common/videobuf2/videobuf2-core.c:29:
In file included from include/media/videobuf2-core.h:18:
In file included from include/linux/dma-buf.h:18:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:503: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:513: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:523: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:585: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:593: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:601: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:610: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:619: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:628:21: warning: performing pointer arithmetic on a null pointer
has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
20 warnings generated.
/tmp/videobuf2-core-756701.s: Assembler messages:
/tmp/videobuf2-core-756701.s:12537: Error: bad expression
> /tmp/videobuf2-core-756701.s:12537: Error: junk at end of line,
first unrecognized character is `r'
/tmp/videobuf2-core-756701.s:17771: Error:
bad expression
/tmp/videobuf2-core-756701.s:17771: Error: junk at end of line, first unrecognized
character is `r'
/tmp/videobuf2-core-756701.s:18788: Error: bad expression
/tmp/videobuf2-core-756701.s:18788: Error: junk at end of line, first unrecognized
character is `r'
/tmp/videobuf2-core-756701.s:22432: Error: bad expression
/tmp/videobuf2-core-756701.s:22432: 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