# git rev-parse -q --verify d0ee23f9d78be5531c4b055ea424ed0b489dfe9b^{commit} d0ee23f9d78be5531c4b055ea424ed0b489dfe9b already have revision, skipping fetch # git checkout -q -f -B kisskb d0ee23f9d78be5531c4b055ea424ed0b489dfe9b # git clean -qxdf # < git log -1 # commit d0ee23f9d78be5531c4b055ea424ed0b489dfe9b # Author: Nathan Chancellor # Date: Mon Sep 13 15:09:00 2021 -0700 # # tools: compiler-gcc.h: Guard error attribute use with __has_attribute # # When building objtool with HOSTCC=clang, there are several errors along # the lines of # # orc_dump.c:201:28: error: unknown attribute 'error' ignored [-Werror,-Wunknown-attributes] # # This occurs after commit 4e59869aa655 ("compiler-gcc.h: drop checks for # older GCC versions"), which removed the GCC_VERSION gating. The removed # version check just so happened to prevent __compiletime_error() from # being defined with clang because it pretends to be GCC 4.2.1 for # compatibility but the error attribute was not added to clang until # 14.0.0. # # Commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h # mutually exclusive") and commit a3f8a30f3f00 ("Compiler Attributes: use # feature checks instead of version checks") refactored the handling of # attributes in the main kernel to avoid situations like this but that # refactoring has never been done for the tools directory. # # Refactoring is a rather large undertaking and this has never been an # issue before so instead, just guard the definition of # __compiletime_error() with __has_attribute() so that there are no more # errors. # # Fixes: 4e59869aa655 ("compiler-gcc.h: drop checks for older GCC versions") # Signed-off-by: Nathan Chancellor # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 d0ee23f9d78be5531c4b055ea424ed0b489dfe9b # < make -s -j 120 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.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 120 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 120 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 120 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.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:174:2: error: #warning check me! [-Werror=cpp] 174 | #warning check me! | ^~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/m68k/mvme147/config.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/m68k/mvme147] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:439:2: error: #warning check me! [-Werror=cpp] 439 | #warning check me! | ^~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/m68k/mvme16x/config.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/m68k/mvme16x] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: arch/m68k] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/rockchip/cdn-dp-core.c:1126:12: error: 'cdn_dp_resume' defined but not used [-Werror=unused-function] 1126 | static int cdn_dp_resume(struct device *dev) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/gpu/drm/rockchip/cdn-dp-core.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu/drm/rockchip] Error 2 make[4]: *** Waiting for unfinished jobs.... 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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:9: note: in expansion of macro 'outb' 20 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 20 | ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) | ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:62: note: in expansion of macro 'in_8' 347 | #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) | ^~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:26:16: note: in expansion of macro 'inb' 26 | data = inb((u16)(port + 0x378)); | ^~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/misc/altera-stapl/altera-lpt.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/misc/altera-stapl] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/misc] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu] Error 2 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:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:248:9: note: in expansion of macro 'w_dtr' 248 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:304:17: note: in expansion of macro 'w_dtr' 304 | w_dtr(base, *buffer++); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:306:17: note: in expansion of macro 'w_dtr' 306 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 20 | ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) | ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:62: note: in expansion of macro 'in_8' 347 | #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' 122 | #define r_dtr(x) (unsigned char)inb((x)) | ^~~ /kisskb/src/drivers/scsi/imm.c:342:29: note: in expansion of macro 'r_dtr' 342 | *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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:462:9: note: in expansion of macro 'w_dtr' 462 | w_dtr(ppb, 0xaa); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:464:9: note: in expansion of macro 'w_dtr' 464 | w_dtr(ppb, 0x55); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:466:9: note: in expansion of macro 'w_dtr' 466 | w_dtr(ppb, 0x00); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:468:9: note: in expansion of macro 'w_dtr' 468 | w_dtr(ppb, 0xff); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:471:9: note: in expansion of macro 'w_dtr' 471 | w_dtr(ppb, 0x87); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:474:9: note: in expansion of macro 'w_dtr' 474 | w_dtr(ppb, 0x78); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:487:9: note: in expansion of macro 'w_dtr' 487 | w_dtr(ppb, b); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:495:9: note: in expansion of macro 'w_dtr' 495 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 130 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/imm.c:564:9: note: in expansion of macro 'w_dtr' 564 | w_dtr(ppb, 0x80 | (1 << target)); | ^~~~~ 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:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 137 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/ppa.c:245:17: note: in expansion of macro 'w_dtr' 245 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 20 | ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) | ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:62: note: in expansion of macro 'in_8' 347 | #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' 129 | #define r_dtr(x) (unsigned char)inb((x)) | ^~~ /kisskb/src/drivers/scsi/ppa.c:257:29: note: in expansion of macro 'r_dtr' 257 | *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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 137 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/ppa.c:379:9: note: in expansion of macro 'w_dtr' 379 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 137 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/ppa.c:399:9: note: in expansion of macro 'w_dtr' 399 | 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: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 137 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/ppa.c:436:9: note: in expansion of macro 'w_dtr' 436 | w_dtr(ppb, (1 << target)); | ^~~~~ /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #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' 354 | #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' 137 | #define w_dtr(x,y) outb(y, (x)) | ^~~~ /kisskb/src/drivers/scsi/ppa.c:439:9: note: in expansion of macro 'w_dtr' 439 | w_dtr(ppb, 0x80); /* This is NOT the initator */ | ^~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/scsi/imm.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/scsi/ppa.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/scsi] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 # Build took: 0:03:50.684150