# git rev-parse -q --verify 5ee88057889bbca5f5bb96031b62b3756b33e164^{commit} 5ee88057889bbca5f5bb96031b62b3756b33e164 already have revision, skipping fetch # git checkout -q -f -B kisskb 5ee88057889bbca5f5bb96031b62b3756b33e164 # git clean -qxdf # < git log -1 # commit 5ee88057889bbca5f5bb96031b62b3756b33e164 # Merge: cdaed110311d c8f6364f35f3 # Author: Linus Torvalds # Date: Thu Jan 14 20:10:06 2021 -0800 # # Merge tag 'drm-fixes-2021-01-15' of git://anongit.freedesktop.org/drm/drm # # Pull drm fixes from Dave Airlie: # "Regular fixes for rc4, a bunch of fixes across i915, amdgpu and # nouveau here, along with a couple of TTM fixes, and dma-buf and one # core pageflip/modifier interaction fix. # # One notable i915 fix is a HSW GT1 regression fix that has been # outstanding for quite a while. (Thanks to Matt Turner for kicking # Intel into getting it fixed). # # dma-buf: # - Fix a memory leak in CMAV heap # # core: # - Fix format check for legacy pageflips # # ttm: # - Pass correct address to dma_mapping_error() # - Use mutex in pool shrinker # # i915: # - Allow the sysadmin to override security mitigations # - Restore clear-residual mitigations for ivb/byt # - Limit VFE threads based on GT # - GVT: fix vfio edid and full display detection # - Fix DSI DSC power refcounting # - Fix LPT CPU mode backlight takeover # - Disable RPM wakeref assertions during driver shutdown # - Fix DSI sequence sleeps # # amdgpu: # - Update repo location in MAINTAINERS # - Add some new renoir PCI IDs # - Revert CRC UAPI changes # - Revert OLED display fix which cases clocking problems for some systems # - Misc vangogh fixes # - GFX fix for sienna cichlid # - DCN1.0 fix for pipe split # - Fix incorrect PSP command # # amdkfd: # - Fix possible out of bounds read in vcrat creation # # nouveau: # - irq handling fix # - expansion ROM fix # - hw init dpcd disable # - aux semaphore owner field fix # - vram heap sizing fix # - notifier at 0 is valid fix" # # * tag 'drm-fixes-2021-01-15' of git://anongit.freedesktop.org/drm/drm: (37 commits) # drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0 # drm/nouveau/mmu: fix vram heap sizing # drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields # drm/nouveau/i2c/gk110-: disable hw-initiated dpcd reads # drm/nouveau/i2c/gk110: split out from i2c/gk104 # drm/nouveau/privring: ack interrupts the same way as RM # drm/nouveau/bios: fix issue shadowing expansion ROMs # drm/amd/display: Fix to be able to stop crc calculation # Revert "drm/amd/display: Expose new CRC window property" # Revert "drm/amdgpu/disply: fix documentation warnings in display manager" # Revert "drm/amd/display: Fix unused variable warning" # drm/amdgpu: set power brake sequence # drm/amdgpu: add new device id for Renior # drm/amdgpu: add green_sardine device id (v2) # drm/amdgpu: fix vram type and bandwidth error for DDR5 and DDR4 # drm/amdgpu/gfx10: add updated GOLDEN_TSC_COUNT_UPPER/LOWER register offsets for VGH # drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu() # Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel" # drm/amd/display: disable dcn10 pipe split by default # drm/amd/display: Add a missing DCN3.01 API mapping # ... # < /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 5ee88057889bbca5f5bb96031b62b3756b33e164 # < make -s -j 8 ARCH=m68k O=/kisskb/build/linus_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 8 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 8 ARCH=m68k O=/kisskb/build/linus_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! ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c:437:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ 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); ^~~~~ /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/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/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)); ^~~~~ 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) ^~~~~~~~~ /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/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); ^~~~ Completed OK # rm -rf /kisskb/build/linus_m68k-allmodconfig_m68k-gcc8 # Build took: 0:20:03.348769