Buildresult: linux-next/m68k-allmodconfig/m68k-gcc8 built on Feb 18 2021, 00:42
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 18 2021, 00:42
Duration:
0:19:32.770972
Builder:
blade46
Revision:
Add linux-next specific files for 20210217 (
cd560d8023bf73c94d755908c8d4a0994dd1ec34)
Target:
linux-next/m68k-allmodconfig/m68k-gcc8
Branch:
linux-next
Compiler:
m68k-gcc8
(m68k-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible warnings (135)
arch/m68k/mvme147/config.c:172:2: warning: #warning check me! [-Wcpp] #warning check me! arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:33:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] fs/btrfs/ref-verify.c:221:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] fs/btrfs/ref-verify.c:225:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] drivers/gpu/drm/rockchip/cdn-dp-core.c:1124:12: warning: 'cdn_dp_resume' defined but not used [-Wunused-function] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/ethernet/8390/lib8390.c:995:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:957:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:857:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:512:13: warning: '__ei_poll' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:303:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:257:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:233:12: warning: '__ei_close' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:204:12: warning: '__ei_open' defined but not used [-Wunused-function] drivers/net/wireless/ath/ath11k/qmi.c:1690:8: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! drivers/net/wireless/ath/ath11k/qmi.c:1690:8: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Full Log
# git rev-parse -q --verify cd560d8023bf73c94d755908c8d4a0994dd1ec34^{commit} cd560d8023bf73c94d755908c8d4a0994dd1ec34 already have revision, skipping fetch # git checkout -q -f -B kisskb cd560d8023bf73c94d755908c8d4a0994dd1ec34 # git clean -qxdf # < git log -1 # commit cd560d8023bf73c94d755908c8d4a0994dd1ec34 # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Wed Feb 17 23:39:21 2021 +1100 # # Add linux-next specific files for 20210217 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 cd560d8023bf73c94d755908c8d4a0994dd1ec34 # < make -s -j 32 ARCH=m68k O=/kisskb/build/linux-next_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=m68k O=/kisskb/build/linux-next_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 32 ARCH=m68k O=/kisskb/build/linux-next_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 32 ARCH=m68k O=/kisskb/build/linux-next_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:172:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/fs/btrfs/super.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/ctree.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/extent-tree.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/tty/rocket.c:58: /kisskb/src/drivers/tty/rocket_int.h: In function 'sOutB': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:355:76: note: in expansion of macro 'out_8' #define outb_p(val, port) ((port) < 1024 ? isa_rom_outb_p((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/tty/rocket_int.h:46:2: note: in expansion of macro 'outb_p' outb_p(value, port); ^~~~~~ /kisskb/src/drivers/tty/rocket_int.h: In function 'sOutW': /kisskb/src/arch/m68k/include/asm/raw_io.h:33:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (addr)) = cpu_to_le16(w)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:357:76: note: in expansion of macro 'out_le16' #define outw_p(val, port) ((port) < 1024 ? isa_rom_outw_p((val), (port)) : out_le16((port), (val))) ^~~~~~~~ /kisskb/src/drivers/tty/rocket_int.h:54:2: note: in expansion of macro 'outw_p' outw_p(value, port); ^~~~~~ /kisskb/src/drivers/tty/rocket_int.h: In function 'sInB': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:348:60: note: in expansion of macro 'in_8' #define inb_p(port) ((port) < 1024 ? isa_rom_inb_p(port) : in_8(port)) ^~~~ /kisskb/src/drivers/tty/rocket_int.h:68:9: note: in expansion of macro 'inb_p' return inb_p(port); ^~~~~ In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:13, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:528, from /kisskb/src/include/linux/bitops.h:32, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/tty/rocket.c:49: /kisskb/src/drivers/tty/rocket_int.h: In function 'sInW': /kisskb/src/arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (addr)); __v; }) ^ /kisskb/src/include/uapi/linux/swab.h:105:32: note: in definition of macro '__swab16' (__builtin_constant_p((__u16)(x)) ? \ ^ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' #define le16_to_cpu __le16_to_cpu ^~~~~~~~~~~~~ /kisskb/src/arch/m68k/include/asm/io_mm.h:350:60: note: in expansion of macro 'in_le16' #define inw_p(port) ((port) < 1024 ? isa_rom_inw_p(port) : in_le16(port)) ^~~~~~~ /kisskb/src/drivers/tty/rocket_int.h:73:9: note: in expansion of macro 'inw_p' return inw_p(port); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (addr)); __v; }) ^ /kisskb/src/include/uapi/linux/swab.h:15:12: note: in definition of macro '___constant_swab16' (((__u16)(x) & (__u16)0x00ffU) << 8) | \ ^ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16' #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) ^~~~~~~~ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' #define le16_to_cpu __le16_to_cpu ^~~~~~~~~~~~~ /kisskb/src/arch/m68k/include/asm/io_mm.h:350:60: note: in expansion of macro 'in_le16' #define inw_p(port) ((port) < 1024 ? isa_rom_inw_p(port) : in_le16(port)) ^~~~~~~ /kisskb/src/drivers/tty/rocket_int.h:73:9: note: in expansion of macro 'inw_p' return inw_p(port); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (addr)); __v; }) ^ /kisskb/src/include/uapi/linux/swab.h:16:12: note: in definition of macro '___constant_swab16' (((__u16)(x) & (__u16)0xff00U) >> 8))) ^ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:36:26: note: in expansion of macro '__swab16' #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) ^~~~~~~~ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' #define le16_to_cpu __le16_to_cpu ^~~~~~~~~~~~~ /kisskb/src/arch/m68k/include/asm/io_mm.h:350:60: note: in expansion of macro 'in_le16' #define inw_p(port) ((port) < 1024 ? isa_rom_inw_p(port) : in_le16(port)) ^~~~~~~ /kisskb/src/drivers/tty/rocket_int.h:73:9: note: in expansion of macro 'inw_p' return inw_p(port); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:26:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (addr)); __v; }) ^ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' #define le16_to_cpu __le16_to_cpu ^~~~~~~~~~~~~ /kisskb/src/arch/m68k/include/asm/io_mm.h:350:60: note: in expansion of macro 'in_le16' #define inw_p(port) ((port) < 1024 ? isa_rom_inw_p(port) : in_le16(port)) ^~~~~~~ /kisskb/src/drivers/tty/rocket_int.h:73:9: note: in expansion of macro 'inw_p' return inw_p(port); ^~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/ctree.h:9, from /kisskb/src/fs/btrfs/print-tree.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/err.h:5, from /kisskb/src/fs/btrfs/root-tree.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/ctree.h:9, from /kisskb/src/fs/btrfs/dir-item.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bio.h:8, from /kisskb/src/fs/btrfs/file-item.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/ctree.h:9, from /kisskb/src/fs/btrfs/inode-item.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/disk-io.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/transaction.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/arch/m68k/include/asm/irqflags.h:6, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/arch/m68k/include/asm/atomic.h:6, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/include/crypto/hash.h:11, from /kisskb/src/fs/btrfs/inode.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/file.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/tree-defrag.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/err.h:5, from /kisskb/src/fs/btrfs/extent_map.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/sysfs.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/unaligned/access_ok.h:5, from /kisskb/src/arch/m68k/include/asm/unaligned.h:18, from /kisskb/src/fs/btrfs/struct-funcs.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/init.h:5, from /kisskb/src/fs/btrfs/xattr.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/btrfs/ordered-data.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/build_bug.h:5, from /kisskb/src/include/linux/bits.h:22, from /kisskb/src/include/linux/bitops.h:6, from /kisskb/src/fs/btrfs/extent_io.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:12: /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c: In function 'byteblaster_write': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:20:2: note: in expansion of macro 'outb' outb((u8)data, (u16)(port + 0x378)); ^~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c: In function 'byteblaster_read': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:56: note: in expansion of macro 'in_8' #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) ^~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:26:9: note: in expansion of macro 'inb' data = inb((u16)(port + 0x378)); ^~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/volumes.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/err.h:5, from /kisskb/src/include/linux/kthread.h:5, from /kisskb/src/fs/btrfs/async-thread.c:7: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/fs/btrfs/ioctl.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/locking.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/ctree.h:9, from /kisskb/src/fs/btrfs/orphan.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/export.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/tree-log.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/fs/btrfs/free-space-cache.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bio.h:8, from /kisskb/src/fs/btrfs/zstd.c:8: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/fs/btrfs/compression.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/delayed-ref.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/fs/btrfs/scrub.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/btrfs/delayed-inode.c:7: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/relocation.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/reada.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/btrfs/ulist.c:7: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/backref.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/qgroup.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/send.c:7: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/dev-replace.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/raid56.c:7: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:6, from /kisskb/src/include/linux/uuid.h:12, from /kisskb/src/fs/btrfs/uuid-tree.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/hashtable.h:10, from /kisskb/src/fs/btrfs/props.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/fs/btrfs/free-space-tree.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/error-injection.h:5, from /kisskb/src/fs/btrfs/tree-checker.c:20: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/misc.h:6, from /kisskb/src/fs/btrfs/space-info.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/misc.h:6, from /kisskb/src/fs/btrfs/block-rsv.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/ctree.h:9, from /kisskb/src/fs/btrfs/delalloc-space.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/misc.h:6, from /kisskb/src/fs/btrfs/block-group.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/timex.h:61, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/jiffies.h:10, from /kisskb/src/fs/btrfs/discard.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/fs/btrfs/reflink.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/btrfs/subpage.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/acl.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/check-integrity.c:78: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/build_bug.h:5, from /kisskb/src/include/linux/bits.h:22, from /kisskb/src/include/linux/bitops.h:6, from /kisskb/src/fs/btrfs/zoned.c:3: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/ref-verify.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/btrfs/tests/free-space-tests.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/btrfs/tests/extent-buffer-tests.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/tests/btrfs-tests.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ /kisskb/src/fs/btrfs/ref-verify.c: At top level: /kisskb/src/fs/btrfs/ref-verify.c:221:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __save_stack_trace(struct ref_action *ra) ^~~~~~ /kisskb/src/fs/btrfs/ref-verify.c:225:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] static void inline __print_stack_trace(struct btrfs_fs_info *fs_info, ^~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/fs/btrfs/tests/extent-io-tests.c:6: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/tests/../ctree.h:9, from /kisskb/src/fs/btrfs/tests/inode-tests.c:8: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/tests/../ctree.h:9, from /kisskb/src/fs/btrfs/tests/qgroup-tests.c:8: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/tests/../ctree.h:9, from /kisskb/src/fs/btrfs/tests/free-space-tree-tests.c:8: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:5, from /kisskb/src/arch/m68k/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/fs/btrfs/tests/../ctree.h:9, from /kisskb/src/fs/btrfs/tests/extent-map-tests.c:8: /kisskb/src/include/linux/scatterlist.h: In function 'sg_set_buf': /kisskb/src/arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra] #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) ^~ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON' BUG_ON(!virt_addr_valid(buf)); ^~~~~~ /kisskb/src/include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid' BUG_ON(!virt_addr_valid(buf)); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/rockchip/cdn-dp-core.c:1124:12: warning: 'cdn_dp_resume' defined but not used [-Wunused-function] static int cdn_dp_resume(struct device *dev) ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/include/linux/blkdev.h:14, from /kisskb/src/drivers/scsi/ppa.c:15: /kisskb/src/drivers/scsi/ppa.c: In function 'ppa_byte_out': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/ppa.h:137:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/ppa.c:245:3: note: in expansion of macro 'w_dtr' w_dtr(base, *buffer++); ^~~~~ /kisskb/src/drivers/scsi/ppa.c: In function 'ppa_byte_in': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:56: note: in expansion of macro 'in_8' #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) ^~~~ /kisskb/src/drivers/scsi/ppa.h:129:40: note: in expansion of macro 'inb' #define r_dtr(x) (unsigned char)inb((x)) ^~~ /kisskb/src/drivers/scsi/ppa.c:257:15: note: in expansion of macro 'r_dtr' *buffer++ = r_dtr(base); ^~~~~ /kisskb/src/drivers/scsi/ppa.c: In function 'ppa_d_pulse': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/ppa.h:137:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/ppa.c:379:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, b); ^~~~~ /kisskb/src/drivers/scsi/ppa.c: In function 'ppa_c_pulse': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/ppa.h:137:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/ppa.c:399:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, b); ^~~~~ /kisskb/src/drivers/scsi/ppa.c: In function 'ppa_select': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/ppa.h:137:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/ppa.c:436:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, (1 << target)); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/ppa.h:137:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/ppa.c:439:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0x80); /* This is NOT the initator */ ^~~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/include/linux/blkdev.h:14, from /kisskb/src/drivers/scsi/imm.c:15: /kisskb/src/drivers/scsi/imm.c: In function 'imm_negotiate': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:248:2: note: in expansion of macro 'w_dtr' w_dtr(base, mode); ^~~~~ /kisskb/src/drivers/scsi/imm.c: In function 'imm_byte_out': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:304:3: note: in expansion of macro 'w_dtr' w_dtr(base, *buffer++); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:306:3: note: in expansion of macro 'w_dtr' w_dtr(base, *buffer++); ^~~~~ /kisskb/src/drivers/scsi/imm.c: In function 'imm_byte_in': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:56: note: in expansion of macro 'in_8' #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) ^~~~ /kisskb/src/drivers/scsi/imm.h:122:40: note: in expansion of macro 'inb' #define r_dtr(x) (unsigned char)inb((x)) ^~~ /kisskb/src/drivers/scsi/imm.c:342:15: note: in expansion of macro 'r_dtr' *buffer++ = r_dtr(base); ^~~~~ /kisskb/src/drivers/scsi/imm.c: In function 'imm_cpp': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:462:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0xaa); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:464:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0x55); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:466:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0x00); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:468:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0xff); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:471:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0x87); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:474:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0x78); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:487:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, b); ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:495:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0xff); ^~~~~ /kisskb/src/drivers/scsi/imm.c: In function 'imm_select': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/scsi/imm.h:130:25: note: in expansion of macro 'outb' #define w_dtr(x,y) outb(y, (x)) ^~~~ /kisskb/src/drivers/scsi/imm.c:564:2: note: in expansion of macro 'w_dtr' w_dtr(ppb, 0x80 | (1 << target)); ^~~~~ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/net/ethernet/8390/wd.c:36: /kisskb/src/drivers/net/ethernet/8390/wd.c: In function 'wd_probe1': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:355:76: note: in expansion of macro 'out_8' #define outb_p(val, port) ((port) < 1024 ? isa_rom_outb_p((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/net/ethernet/8390/wd.c:289:4: note: in expansion of macro 'outb_p' outb_p(E8390_NODMA + E8390_STOP, nic_addr); ^~~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/net/ethernet/8390/wd.c:296:4: note: in expansion of macro 'outb' outb(E8390_RREAD+E8390_START, nic_addr); /* Trigger it... */ ^~~~ In file included from /kisskb/src/drivers/net/ethernet/8390/xsurf100.c:48: /kisskb/src/drivers/net/ethernet/8390/lib8390.c:995:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] static struct net_device *____alloc_ei_netdev(int size) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:957:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] static void __ei_set_multicast_list(struct net_device *dev) ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:857:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] static struct net_device_stats *__ei_get_stats(struct net_device *dev) ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:512:13: warning: '__ei_poll' defined but not used [-Wunused-function] static void __ei_poll(struct net_device *dev) ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:303:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] static netdev_tx_t __ei_start_xmit(struct sk_buff *skb, ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:257:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] static void __ei_tx_timeout(struct net_device *dev, unsigned int txqueue) ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:233:12: warning: '__ei_close' defined but not used [-Wunused-function] static int __ei_close(struct net_device *dev) ^~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:204:12: warning: '__ei_open' defined but not used [-Wunused-function] static int __ei_open(struct net_device *dev) ^~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c:10: /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c: In function 'ath11k_qmi_respond_fw_mem_request': /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c:1690:8: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] "qmi req mem_seg[%d] 0x%llx %u %u\n", i, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ab->qmi.target_mem[i].paddr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath11k/debug.h:64:30: note: in definition of macro 'ath11k_dbg' __ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \ ^~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/drivers/block/paride/bpck6.c:30: /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_select': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:56: note: in expansion of macro 'in_8' #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:131:18: note: in expansion of macro 'inb' ppc->org_data = inb(ppc->lpt_addr); ^~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:142:3: note: in expansion of macro 'outb' outb('x', ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:144:2: note: in expansion of macro 'outb' outb('b', ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:145:2: note: in expansion of macro 'outb' outb('p', ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:146:2: note: in expansion of macro 'outb' outb(ppc->ppc_id, ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:147:2: note: in expansion of macro 'outb' outb(~ppc->ppc_id,ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:162:2: note: in expansion of macro 'outb' outb(i, ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:201:2: note: in expansion of macro 'outb' outb(ppc->org_data, ppc->lpt_addr); ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_deselect': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:217:2: note: in expansion of macro 'outb' outb(ppc->org_data, ppc->lpt_addr); ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_send_cmd': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:235:4: note: in expansion of macro 'outb' outb(cmd, ppc->lpt_addr); ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_wr_data_byte': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:266:4: note: in expansion of macro 'outb' outb(data, ppc->lpt_addr); ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_rd_data_byte': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:56: note: in expansion of macro 'in_8' #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:329:11: note: in expansion of macro 'inb' data = inb(ppc->lpt_addr); ^~~ /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_rd_data_blk': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:56: note: in expansion of macro 'in_8' #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) ^~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:430:15: note: in expansion of macro 'inb' *data++ = inb(ppc->lpt_addr); ^~~ /kisskb/src/drivers/block/paride/ppc6lnx.c: In function 'ppc6_wr_data_blk': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:537:5: note: in expansion of macro 'outb' outb(*data++, ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:560:4: note: in expansion of macro 'outb' outb(last, ppc->lpt_addr); ^~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/block/paride/ppc6lnx.c:575:6: note: in expansion of macro 'outb' outb(this, ppc->lpt_addr); ^~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/hwmon/sch56xx-common.c:13: /kisskb/src/drivers/hwmon/sch56xx-common.c: In function 'sch56xx_send_cmd': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/hwmon/sch56xx-common.c:132:2: note: in expansion of macro 'outb' outb(0x01, addr); /* Write 01h to the Host-to-EC register */ ^~~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/hwmon/smsc47b397.c:29: /kisskb/src/drivers/hwmon/smsc47b397.c: In function 'smsc47b397_read_value': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/hwmon/smsc47b397.c:111:2: note: in expansion of macro 'outb' outb(reg, data->addr); ^~~~ /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c:10: /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c: In function 'ath11k_qmi_respond_fw_mem_request': /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c:1690:8: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] "qmi req mem_seg[%d] 0x%llx %u %u\n", i, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ab->qmi.target_mem[i].paddr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath11k/debug.h:64:30: note: in definition of macro 'ath11k_dbg' __ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \ ^~~ In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/hwmon/sch56xx-common.c:13: /kisskb/src/drivers/hwmon/sch56xx-common.c: In function 'sch56xx_send_cmd': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) ^~~~~ /kisskb/src/drivers/hwmon/sch56xx-common.c:132:2: note: in expansion of macro 'outb' outb(0x01, addr); /* Write 01h to the Host-to-EC register */ ^~~~ Completed OK # rm -rf /kisskb/build/linux-next_m68k-allmodconfig_m68k-gcc8 # Build took: 0:19:32.770972
© Michael Ellerman 2006-2018.