Buildresult: gustavoars/m68k-allmodconfig/m68k-gcc8 built on Jun 16 2020, 06:36
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jun 16 2020, 06:36
Duration:
0:10:53.274284
Builder:
ka3
Revision:
w1: Replace zero-length array with flexible-array (
32ce2a8a7f5fe2767769df42209f8f6e87a405ba)
Target:
gustavoars/m68k-allmodconfig/m68k-gcc8
Branch:
gustavoars
Compiler:
m68k-gcc8
(m68k-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible warnings (96)
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp] #warning check me! arch/m68k/mvme147/config.c:174:2: warning: #warning check me! [-Wcpp] #warning check me! arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp] #warning check me! include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] arch/m68k/include/asm/cmpxchg.h:79:22: warning: value computed is not used [-Wunused-value] 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: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/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: 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:988:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:950:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:850:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:509:13: warning: '__ei_poll' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:300:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:254:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:230:12: warning: '__ei_close' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:201:12: warning: '__ei_open' 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/mailbox/imx-mailbox.c:638:12: warning: 'imx_mu_runtime_resume' defined but not used [-Wunused-function] drivers/mailbox/imx-mailbox.c:629:12: warning: 'imx_mu_runtime_suspend' defined but not used [-Wunused-function] drivers/mailbox/imx-mailbox.c:611:12: warning: 'imx_mu_resume_noirq' defined but not used [-Wunused-function] drivers/mailbox/imx-mailbox.c:601:12: warning: 'imx_mu_suspend_noirq' defined but not used [-Wunused-function] drivers/media/platform/fsl-viu.c:36: warning: "out_be32" redefined drivers/media/platform/fsl-viu.c:37: warning: "in_be32" redefined 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]
Full Log
# git rev-parse -q --verify 32ce2a8a7f5fe2767769df42209f8f6e87a405ba^{commit} 32ce2a8a7f5fe2767769df42209f8f6e87a405ba already have revision, skipping fetch # git checkout -q -f -B kisskb 32ce2a8a7f5fe2767769df42209f8f6e87a405ba # git clean -qxdf # < git log -1 # commit 32ce2a8a7f5fe2767769df42209f8f6e87a405ba # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Thu May 28 09:35:11 2020 -0500 # # w1: Replace zero-length array with flexible-array # # The current codebase makes use of the zero-length array language # extension to the C90 standard, but the preferred mechanism to declare # variable-length types such as these ones is a flexible array member[1][2], # introduced in C99: # # struct foo { # int stuff; # struct boo array[]; # }; # # By making use of the mechanism above, we will get a compiler warning # in case the flexible array does not occur last in the structure, which # will help us prevent some kind of undefined behavior bugs from being # inadvertently introduced[3] to the codebase from now on. # # Also, notice that, dynamic memory allocations won't be affected by # this change: # # "Flexible array members have incomplete type, and so the sizeof operator # may not be applied. As a quirk of the original implementation of # zero-length arrays, sizeof evaluates to zero."[1] # # sizeof(flexible-array-member) triggers a warning because flexible array # members have incomplete type[1]. There are some instances of code in # which the sizeof operator is being incorrectly/erroneously applied to # zero-length arrays and the result is zero. Such instances may be hiding # some bugs. So, this work (flexible-array member conversions) will also # help to get completely rid of those sorts of issues. # # Notice that, currently, more than 250 of these patches have already # been merged into mainline during the last merge window, including # 5.7-rc2. So, in order to make better use of everyone's time, I'm # planning to add this treewide patch to my -next tree and then send a # pull request to Linus for 5.7-rc3 or -rc4, after getting some acks # and/or reviews. # # This treewide patch has been successfully built (on top of v5.7-rc1) for # multiple architectures (arm, arm64, sparc, powerpc, ia64, s390, i386, # nios2, c6x, xtensa, openrisc, mips, parisc, x86_64, riscv, sh, sparc64) # and 82 different configurations with the help of the 0-day CI guys[5]. # # This issue was found with the help of Coccinelle. # # [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html # [2] https://github.com/KSPP/linux/issues/21 # [3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour") # [4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=replace+zero-leng # # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /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 32ce2a8a7f5fe2767769df42209f8f6e87a405ba # < make -s -j 80 ARCH=m68k O=/kisskb/build/gustavoars_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- allmodconfig WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES Depends on [n]: DISCONTIGMEM [=n] || NUMA Selected by [y]: - SINGLE_MEMORY_CHUNK [=y] && MMU [=y] # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 80 ARCH=m68k O=/kisskb/build/gustavoars_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 80 ARCH=m68k O=/kisskb/build/gustavoars_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES Depends on [n]: DISCONTIGMEM [=n] || NUMA Selected by [y]: - SINGLE_MEMORY_CHUNK [=y] && MMU [=y] # make -s -j 80 ARCH=m68k O=/kisskb/build/gustavoars_m68k-allmodconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES Depends on [n]: DISCONTIGMEM [=n] || NUMA Selected by [y]: - SINGLE_MEMORY_CHUNK [=y] && MMU [=y] WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES Depends on [n]: DISCONTIGMEM [=n] || NUMA Selected by [y]: - SINGLE_MEMORY_CHUNK [=y] && MMU [=y] WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES Depends on [n]: DISCONTIGMEM [=n] || NUMA Selected by [y]: - SINGLE_MEMORY_CHUNK [=y] && MMU [=y] /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:174:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ In file included from /kisskb/src/include/linux/printk.h:7, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/kernel/rcu/rcuperf.c:13: /kisskb/src/kernel/rcu/rcuperf.c: In function 'kfree_perf_init': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ /kisskb/src/include/linux/kern_levels.h:9:20: note: in expansion of macro 'KERN_SOH' #define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:318:9: note: in expansion of macro 'KERN_ALERT' printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/kernel/rcu/rcuperf.c:726:2: note: in expansion of macro 'pr_alert' pr_alert("kfree object size=%lu\n", kfree_mult * sizeof(struct kfree_obj)); ^~~~~~~~ /kisskb/src/kernel/rcu/rcuperf.c:726:32: note: format string is defined here pr_alert("kfree object size=%lu\n", kfree_mult * sizeof(struct kfree_obj)); ~~^ %u In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/acct.c:47: /kisskb/src/kernel/acct.c: In function 'acct_pin_kill': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/acct.c:177:2: note: in expansion of macro 'cmpxchg' cmpxchg(&acct->ns->bacct, pin, NULL); ^~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/net/core/filter.c:20: /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/filter.c:3569:4: note: in expansion of macro 'cmpxchg' cmpxchg(&ri->map, map, NULL); ^~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/page_counter.h:5, from /kisskb/src/mm/memcontrol.c:25: /kisskb/src/mm/memcontrol.c: In function '__invalidate_reclaim_iterators': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/mm/memcontrol.c:1137:3: note: in expansion of macro 'cmpxchg' cmpxchg(&iter->position, dead_memcg, NULL); ^~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/nfs/nfs3acl.c:2: /kisskb/src/fs/nfs/nfs3acl.c: In function 'nfs3_abort_get_acl': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:44:2: note: in expansion of macro 'cmpxchg' cmpxchg(p, sentinel, ACL_NOT_CACHED); ^~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:79:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^~~~ 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:13, 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:29, from /kisskb/src/include/linux/kernel.h:12, 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/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/posix_acl.c:15: /kisskb/src/fs/posix_acl.c: In function 'get_acl': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:122:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:148:3: note: in expansion of macro 'cmpxchg' cmpxchg(p, sentinel, ACL_NOT_CACHED); ^~~~~~~ In file included from /kisskb/src/drivers/net/phy/mdio-cavium.c:11: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_set_mode': /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:21:16: note: in expansion of macro 'oct_mdio_readq' smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:24:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_c45_addr': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:39:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:47:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:54:16: note: in expansion of macro 'oct_mdio_readq' smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_read': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:86:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:93:16: note: in expansion of macro 'oct_mdio_readq' smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_write': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:125:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:131:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:138:16: note: in expansion of macro 'oct_mdio_readq' smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_probe': /kisskb/src/drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u64)devm_ioremap(&pdev->dev, mdio_phys, regsize); ^ In file included from /kisskb/src/drivers/net/phy/mdio-octeon.c:14: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:56:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:77:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_remove': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:91:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^~~~~~~~~~~~~~~ /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:13, 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:988: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:950: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:850: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:509: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:300: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:254: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:230: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:201:12: warning: '__ei_open' defined but not used [-Wunused-function] static int __ei_open(struct net_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:13, 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:16, 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:13, 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:16, 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/mailbox/imx-mailbox.c:638:12: warning: 'imx_mu_runtime_resume' defined but not used [-Wunused-function] static int imx_mu_runtime_resume(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mailbox/imx-mailbox.c:629:12: warning: 'imx_mu_runtime_suspend' defined but not used [-Wunused-function] static int imx_mu_runtime_suspend(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mailbox/imx-mailbox.c:611:12: warning: 'imx_mu_resume_noirq' defined but not used [-Wunused-function] static int imx_mu_resume_noirq(struct device *dev) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mailbox/imx-mailbox.c:601:12: warning: 'imx_mu_suspend_noirq' defined but not used [-Wunused-function] static int imx_mu_suspend_noirq(struct device *dev) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/fsl-viu.c:36: warning: "out_be32" redefined #define out_be32(v, a) iowrite32be(a, (void __iomem *)v) 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:13, 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/media/platform/fsl-viu.c:17: /kisskb/src/arch/m68k/include/asm/raw_io.h:32: note: this is the location of the previous definition #define out_be32(addr,l) (void)((*(__force volatile u32 *) (addr)) = (l)) /kisskb/src/drivers/media/platform/fsl-viu.c:37: warning: "in_be32" redefined #define in_be32(a) ioread32be((void __iomem *)a) 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:13, 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/media/platform/fsl-viu.c:17: /kisskb/src/arch/m68k/include/asm/raw_io.h:23: note: this is the location of the previous definition #define in_be32(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/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/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); ^~~~ 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/gustavoars_m68k-allmodconfig_m68k-gcc8 # Build took: 0:10:53.274284
© Michael Ellerman 2006-2018.