# git rev-parse -q --verify 5d1904204c99596b50a700f092fe49d78edba400^{commit} 5d1904204c99596b50a700f092fe49d78edba400 already have revision, skipping fetch # git checkout -q -f -B kisskb 5d1904204c99596b50a700f092fe49d78edba400 # git clean -qxdf # git log -1 commit 5d1904204c99596b50a700f092fe49d78edba400 Author: Aaron Lu Date: Thu Nov 10 17:16:33 2016 +0800 mremap: fix race between mremap() and page cleanning Prior to 3.15, there was a race between zap_pte_range() and page_mkclean() where writes to a page could be lost. Dave Hansen discovered by inspection that there is a similar race between move_ptes() and page_mkclean(). We've been able to reproduce the issue by enlarging the race window with a msleep(), but have not been able to hit it without modifying the code. So, we think it's a real issue, but is difficult or impossible to hit in practice. The zap_pte_range() issue is fixed by commit 1cf35d47712d("mm: split 'tlb_flush_mmu()' into tlb flushing and memory freeing parts"). And this patch is to fix the race between page_mkclean() and mremap(). Here is one possible way to hit the race: suppose a process mmapped a file with READ | WRITE and SHARED, it has two threads and they are bound to 2 different CPUs, e.g. CPU1 and CPU2. mmap returned X, then thread 1 did a write to addr X so that CPU1 now has a writable TLB for addr X on it. Thread 2 starts mremaping from addr X to Y while thread 1 cleaned the page and then did another write to the old addr X again. The 2nd write from thread 1 could succeed but the value will get lost. thread 1 thread 2 (bound to CPU1) (bound to CPU2) 1: write 1 to addr X to get a writeable TLB on this CPU 2: mremap starts 3: move_ptes emptied PTE for addr X and setup new PTE for addr Y and then dropped PTL for X and Y 4: page laundering for N by doing fadvise FADV_DONTNEED. When done, pageframe N is deemed clean. 5: *write 2 to addr X 6: tlb flush for addr X 7: munmap (Y, pagesize) to make the page unmapped 8: fadvise with FADV_DONTNEED again to kick the page off the pagecache 9: pread the page from file to verify the value. If 1 is there, it means we have lost the written 2. *the write may or may not cause segmentation fault, it depends on if the TLB is still on the CPU. Please note that this is only one specific way of how the race could occur, it didn't mean that the race could only occur in exact the above config, e.g. more than 2 threads could be involved and fadvise() could be done in another thread, etc. For anonymous pages, they could race between mremap() and page reclaim: THP: a huge PMD is moved by mremap to a new huge PMD, then the new huge PMD gets unmapped/splitted/pagedout before the flush tlb happened for the old huge PMD in move_page_tables() and we could still write data to it. The normal anonymous page has similar situation. To fix this, check for any dirty PTE in move_ptes()/move_huge_pmd() and if any, did the flush before dropping the PTL. If we did the flush for every move_ptes()/move_huge_pmd() call then we do not need to do the flush in move_pages_tables() for the whole range. But if we didn't, we still need to do the whole range flush. Alternatively, we can track which part of the range is flushed in move_ptes()/move_huge_pmd() and which didn't to avoid flushing the whole range in move_page_tables(). But that would require multiple tlb flushes for the different sub-ranges and should be less efficient than the single whole range flush. KBuild test on my Sandybridge desktop doesn't show any noticeable change. v4.9-rc4: real 5m14.048s user 32m19.800s sys 4m50.320s With this commit: real 5m13.888s user 32m19.330s sys 4m51.200s Reported-by: Dave Hansen Signed-off-by: Aaron Lu Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 5d1904204c99596b50a700f092fe49d78edba400 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_microdev_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- microdev_defconfig # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_microdev_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_microdev_defconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/kvm_para.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash UPD include/config/kernel.release CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s Using /home/kisskb/slave/src as source for kernel GEN scripts/mod/devicetable-offsets.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o Generating include/generated/machtypes.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh HOSTLD scripts/mod/modpost :1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/init_task.o UPD include/generated/compile.h CC init/version.o HOSTCC usr/gen_init_cpio AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/io.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/process.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/signal_32.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/time.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/iomap.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/hw_breakpoint.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/ioport.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/perf_callchain.o AS arch/sh/kernel/head_32.o LDS arch/sh/kernel/vsyscall/vsyscall.lds GEN usr/initramfs_data.cpio.gz CC arch/sh/kernel/vsyscall/vsyscall.o AS arch/sh/kernel/vsyscall/vsyscall-note.o AS arch/sh/kernel/vsyscall/vsyscall-trapa.o AS usr/initramfs_data.o LD usr/built-in.o LD arch/sh/boards/built-in.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/mm/cache.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/mm/init.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/mm/consistent.o CC arch/sh/mm/mmap.o CC arch/sh/mm/cache-sh4.o CC arch/sh/mm/flush-sh4.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/gup.o CC arch/sh/mm/fault.o CC arch/sh/kernel/cpu/sh4/probe.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o CC arch/sh/mm/ioremap.o CC arch/sh/boards/mach-microdev/setup.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence CC arch/sh/mm/kmap.o CC arch/sh/boards/mach-microdev/io.o CC arch/sh/boards/mach-microdev/irq.o AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC arch/sh/mm/tlbex_32.o CC arch/sh/mm/pgtable.o CC arch/sh/boards/mach-microdev/fdc37c93xapm.o CC arch/sh/mm/tlbflush_32.o CC arch/sh/kernel/cpu/sh4/fpu.o CC arch/sh/mm/tlb-sh4.o CC arch/sh/kernel/cpu/sh4/softfloat.o CC arch/sh/kernel/cpu/sh4/setup-sh4-202.o CC arch/sh/mm/tlb-urb.o CC arch/sh/mm/hugetlbpage.o CC arch/sh/kernel/cpu/sh4/clock-sh4.o CC arch/sh/mm/uncached.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so SYSCALL arch/sh/kernel/vsyscall/vsyscall-syms.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated [-Wdeprecated-declarations] arch_init_clk_ops(&clk->ops, i); ^ In file included from /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:6:0: /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7:19: note: declared here void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated [-Wdeprecated-declarations] return cpg_clk_init(); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46:25: note: declared here int __init __deprecated cpg_clk_init(void) ^ CC arch/sh/kernel/cpu/sh4/clock-sh4-202.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o LD arch/sh/kernel/cpu/sh4/common.o LD arch/sh/kernel/vsyscall/built-in.o LD init/mounts.o LD arch/sh/boards/mach-microdev/built-in.o LD arch/sh/kernel/cpu/irq/built-in.o LD certs/built-in.o CC kernel/exec_domain.o CC kernel/fork.o CC kernel/softirq.o CC kernel/panic.o CC kernel/cpu.o CC kernel/sysctl.o CC kernel/exit.o CC kernel/sysctl_binary.o CC kernel/user.o CC kernel/capability.o CC kernel/ptrace.o CC kernel/signal.o CC kernel/resource.o CC kernel/extable.o CC kernel/params.o CC kernel/pid.o CC kernel/task_work.o CC kernel/workqueue.o CC kernel/kmod.o CC kernel/sys.o CC kernel/smpboot.o CC kernel/range.o CC mm/mempool.o CC kernel/nsproxy.o CC kernel/async.o CC mm/filemap.o CC mm/page-writeback.o CC kernel/sys_ni.o CC kernel/kthread.o CC mm/oom_kill.o CC mm/maccess.o CC kernel/ksysfs.o CC kernel/cred.o CC kernel/reboot.o CC kernel/notifier.o CC kernel/groups.o CC kernel/ucount.o CC mm/page_alloc.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/clock-sh4-202.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/clock-sh4-202.c:162:2: warning: 'cpg_clk_init' is deprecated [-Wdeprecated-declarations] cpg_clk_init(); ^ In file included from /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/clock-sh4-202.c:17:0: /home/kisskb/slave/src/arch/sh/include/asm/clock.h:11:25: note: declared here int __init __deprecated cpg_clk_init(void); ^ CC kernel/bpf/core.o LD ipc/built-in.o LD init/built-in.o CC kernel/events/ring_buffer.o CC kernel/events/core.o CC kernel/events/callchain.o CC kernel/events/hw_breakpoint.o LD arch/sh/mm/built-in.o CC security/keys/gc.o CC security/keys/key.o CC security/keys/keyring.o LD arch/sh/kernel/cpu/sh4/built-in.o LD arch/sh/kernel/cpu/built-in.o CC security/keys/keyctl.o LD kernel/livepatch/built-in.o LD arch/sh/kernel/built-in.o CC security/keys/permission.o CC mm/readahead.o CC mm/swap.o CC mm/truncate.o CC kernel/irq/irqdesc.o CC kernel/power/qos.o CC crypto/api.o CC kernel/locking/mutex.o CC crypto/cipher.o CC security/keys/process_keys.o CC kernel/printk/printk.o CC fs/open.o CC mm/vmscan.o CC security/keys/request_key.o CC kernel/rcu/update.o CC security/keys/request_key_auth.o CC security/keys/proc.o CC security/keys/user_defined.o CC kernel/futex.o CC kernel/time/time.o CC kernel/time/timer.o CC kernel/sched/core.o CC kernel/up.o CC kernel/uid16.o CC kernel/kallsyms.o CC security/keys/sysctl.o CC kernel/sched/loadavg.o CC kernel/acct.o CC kernel/utsname.o CC kernel/pid_namespace.o CC kernel/utsname_sysctl.o CC kernel/elfcore.o CC kernel/irq_work.o CC mm/shmem.o CC mm/util.o CC crypto/compress.o CC fs/super.o CC fs/file_table.o CC fs/read_write.o /home/kisskb/slave/src/kernel/sched/core.c: In function 'pick_next_task': /home/kisskb/slave/src/kernel/sched/core.c:3292:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC crypto/crypto_wq.o CC crypto/memneq.o CC kernel/time/hrtimer.o CC kernel/time/itimer.o CC kernel/membarrier.o CC crypto/algapi.o CC kernel/memremap.o LD kernel/power/built-in.o CC crypto/scatterwalk.o CC kernel/time/posix-timers.o CC kernel/rcu/sync.o CC kernel/rcu/srcu.o CC kernel/rcu/tree.o CC kernel/sched/clock.o CC kernel/printk/nmi.o CC mm/mmzone.o CC kernel/sched/cputime.o CC kernel/time/posix-cpu-timers.o CC mm/vmstat.o CC kernel/locking/semaphore.o CC kernel/locking/rwsem.o LD security/keys/built-in.o CC kernel/irq/manage.o CC kernel/irq/handle.o CC mm/backing-dev.o CC kernel/irq/spurious.o CC security/commoncap.o CC security/min_addr.o CC kernel/irq/resend.o CC mm/mm_init.o LD kernel/printk/built-in.o CC kernel/irq/chip.o CC fs/char_dev.o CC kernel/time/timekeeping.o CC mm/mmu_context.o CC crypto/proc.o CC mm/percpu.o CC crypto/aead.o CC crypto/ablkcipher.o CC crypto/blkcipher.o CC mm/slab_common.o CC mm/compaction.o CC kernel/sched/idle_task.o CC kernel/time/ntp.o CC mm/vmacache.o CC mm/interval_tree.o CC fs/stat.o CC kernel/locking/percpu-rwsem.o CC kernel/sched/fair.o CC crypto/skcipher.o CC crypto/echainiv.o CC kernel/irq/dummychip.o CC crypto/ahash.o CC mm/list_lru.o CC kernel/time/clocksource.o CC crypto/shash.o CC kernel/locking/rtmutex.o CC mm/workingset.o CC kernel/irq/devres.o CC fs/exec.o CC kernel/sched/rt.o CC crypto/akcipher.o CC kernel/irq/irqdomain.o CC kernel/time/jiffies.o CC kernel/irq/proc.o CC kernel/locking/rwsem-spinlock.o CC kernel/time/timer_list.o CC kernel/sched/deadline.o CC mm/debug.o CC mm/gup.o CC mm/highmem.o LD kernel/bpf/built-in.o CC mm/memory.o CC kernel/sched/stop_task.o CC kernel/sched/wait.o CC kernel/sched/swait.o CC fs/pipe.o CC crypto/kpp.o CC crypto/algboss.o CC block/bio.o CC kernel/sched/completion.o CC fs/namei.o CC crypto/testmgr.o CC crypto/hmac.o CC kernel/time/timeconv.o CC mm/mincore.o CC mm/mlock.o CC mm/mprotect.o CC mm/mremap.o CC mm/mmap.o CC mm/msync.o CC mm/rmap.o LD security/built-in.o CC crypto/crypto_null.o CC kernel/sched/idle.o CC fs/ioctl.o CC fs/fcntl.o CC mm/vmalloc.o CC mm/pagewalk.o CC crypto/sha256_generic.o LD kernel/rcu/built-in.o CC crypto/ecb.o CC crypto/aes_generic.o CC kernel/time/timecounter.o CC crypto/crc32c_generic.o CC crypto/rng.o CC mm/pgtable-generic.o CC mm/process_vm_access.o CC kernel/time/posix-clock.o LD kernel/locking/built-in.o CC kernel/time/alarmtimer.o CC mm/init-mm.o CC kernel/time/clockevents.o CC kernel/time/sched_clock.o CC kernel/time/tick-common.o CC crypto/drbg.o CC mm/bootmem.o CC mm/fadvise.o CC crypto/jitterentropy.o LD kernel/irq/built-in.o CC crypto/jitterentropy-kcapi.o CC mm/madvise.o CC fs/readdir.o CC mm/memblock.o LD crypto/crypto.o LD crypto/crypto_algapi.o LD crypto/crypto_blkcipher.o CC mm/page_io.o LD crypto/crypto_hash.o CC fs/select.o CC block/elevator.o CC fs/dcache.o CC mm/swap_state.o LD kernel/sched/built-in.o CC fs/inode.o CC mm/swapfile.o CC fs/attr.o CC fs/bad_inode.o CC mm/dmapool.o CC mm/hugetlb.o LD sound/built-in.o CC fs/file.o CC mm/slab.o CC fs/filesystems.o CC block/blk-tag.o CC block/blk-core.o CC mm/migrate.o CC block/blk-sysfs.o LD crypto/jitterentropy_rng.o CC mm/quicklist.o CC fs/namespace.o CC block/blk-flush.o CC block/blk-settings.o LD firmware/built-in.o CC block/blk-ioc.o CC fs/seq_file.o CC fs/xattr.o /home/kisskb/slave/src/mm/bootmem.c: In function 'mark_bootmem': /home/kisskb/slave/src/mm/bootmem.c:385:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC block/blk-map.o CC fs/libfs.o LD crypto/cryptomgr.o CC fs/fs-writeback.o CC fs/pnode.o CC block/blk-exec.o /home/kisskb/slave/src/mm/hugetlb.c: In function '__vma_reservation_common': /home/kisskb/slave/src/mm/hugetlb.c:1893:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ret) ^ CC block/blk-merge.o CC fs/splice.o CC fs/sync.o CC block/blk-softirq.o CC block/blk-timeout.o CC arch/sh/drivers/dma/dma-sh.o CC arch/sh/drivers/dma/dma-api.o CC net/socket.o LD drivers/amba/built-in.o LD drivers/auxdisplay/built-in.o LD net/802/built-in.o /home/kisskb/slave/src/mm/mmap.c: In function '__vma_adjust': /home/kisskb/slave/src/mm/mmap.c:584:2: warning: 'rb_link' may be used uninitialized in this function [-Wmaybe-uninitialized] __vma_link_rb(mm, vma, rb_link, rb_parent); ^ /home/kisskb/slave/src/mm/mmap.c:615:19: note: 'rb_link' was declared here struct rb_node **rb_link, *rb_parent; ^ /home/kisskb/slave/src/mm/mmap.c:584:2: warning: 'rb_parent' may be used uninitialized in this function [-Wmaybe-uninitialized] __vma_link_rb(mm, vma, rb_link, rb_parent); ^ /home/kisskb/slave/src/mm/mmap.c:615:29: note: 'rb_parent' was declared here struct rb_node **rb_link, *rb_parent; ^ /home/kisskb/slave/src/mm/mmap.c:583:2: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] __vma_link_list(mm, vma, prev, rb_parent); ^ /home/kisskb/slave/src/mm/mmap.c:614:25: note: 'prev' was declared here struct vm_area_struct *prev; ^ CC fs/utimes.o CC fs/stack.o CC drivers/block/brd.o CC net/dns_resolver/dns_key.o CC fs/fs_struct.o CC fs/statfs.o CC fs/fs_pin.o LD drivers/bus/built-in.o CC fs/nsfs.o CC fs/buffer.o CC drivers/base/component.o CC block/blk-lib.o CC drivers/cdrom/cdrom.o CC block/blk-mq.o CC net/core/sock.o CC drivers/base/core.o CC block/blk-mq-tag.o CC block/blk-mq-sysfs.o CC fs/block_dev.o CC fs/direct-io.o CC block/blk-mq-cpumap.o CC block/ioctl.o CC fs/mpage.o CC arch/sh/drivers/dma/dma-sysfs.o CC block/genhd.o LD kernel/time/built-in.o CC block/scsi_ioctl.o CC fs/proc_namespace.o CC fs/devpts/inode.o LD fs/exofs/built-in.o CC block/partition-generic.o CC block/ioprio.o CC fs/exportfs/expfs.o CC block/badblocks.o CC block/noop-iosched.o CC net/dns_resolver/dns_query.o CC block/partitions/check.o CC fs/ext2/balloc.o CC fs/hugetlbfs/inode.o CC fs/fat/cache.o CC fs/fat/dir.o CC fs/kernfs/mount.o CC block/deadline-iosched.o CC block/cfq-iosched.o CC fs/jbd2/transaction.o LD drivers/block/built-in.o CC drivers/base/bus.o LD arch/sh/drivers/dma/built-in.o CC fs/nfs_common/grace.o CC fs/ext4/balloc.o CC arch/sh/drivers/superhyway/ops-sh4-202.o CC fs/lockd/clntlock.o CC drivers/char/mem.o CC fs/nls/nls_base.o CC block/partitions/msdos.o LD crypto/built-in.o CC fs/ext2/dir.o CC net/ethernet/eth.o AS arch/sh/lib/movmem.o CC arch/sh/lib/ashldi3.o CC arch/sh/lib/ashrdi3.o CC fs/notify/fsnotify.o CC fs/nfs/client.o LD net/dns_resolver/dns_resolver.o LD net/dns_resolver/built-in.o CC fs/proc/task_mmu.o CC arch/sh/lib/lshrdi3.o CC fs/nfs/dir.o LD fs/quota/built-in.o LD fs/exportfs/exportfs.o LD fs/exportfs/built-in.o LD drivers/cdrom/built-in.o LD arch/sh/drivers/superhyway/built-in.o LD fs/devpts/devpts.o CC arch/sh/drivers/heartbeat.o LD fs/devpts/built-in.o LD drivers/char/ipmi/built-in.o CC fs/ramfs/inode.o CC fs/sysfs/file.o AS arch/sh/lib/ashlsi3.o CC fs/eventpoll.o AS arch/sh/lib/ashrsi3.o CC fs/ext2/file.o /home/kisskb/slave/src/block/cfq-iosched.c: In function 'cfq_async_queue_prio': /home/kisskb/slave/src/block/cfq-iosched.c:3826:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/ext2/ialloc.o CC fs/ext2/inode.o LD drivers/crypto/built-in.o CC drivers/clocksource/sh_tmu.o LD fs/nls/built-in.o CC fs/ext2/ioctl.o LD drivers/firewire/built-in.o AS arch/sh/lib/ashiftrt.o CC drivers/clk/clk-devres.o CC drivers/clk/clkdev.o LD net/ethernet/built-in.o CC fs/anon_inodes.o CC fs/signalfd.o AS arch/sh/lib/lshrsi3.o AS arch/sh/lib/udiv_qrnnd.o CC drivers/hid/hid-core.o CC net/ipv4/route.o CC fs/notify/notification.o LD drivers/firmware/broadcom/built-in.o LD drivers/gpu/drm/bridge/built-in.o CC arch/sh/lib/io.o LD mm/built-in.o LD drivers/gpu/drm/hisilicon/built-in.o CC fs/ext2/namei.o CC fs/timerfd.o CC fs/kernfs/inode.o CC fs/kernfs/dir.o CC fs/eventfd.o LD drivers/clk/bcm/built-in.o LD fs/hugetlbfs/hugetlbfs.o LD fs/hugetlbfs/built-in.o CC net/core/request_sock.o LD drivers/firmware/meson/built-in.o LD drivers/gpu/drm/i2c/built-in.o CC net/core/skbuff.o CC fs/ext4/bitmap.o CC fs/ext4/dir.o LD drivers/gpu/drm/omapdrm/displays/built-in.o LD drivers/gpu/drm/omapdrm/dss/built-in.o LD drivers/gpu/drm/omapdrm/built-in.o LD drivers/gpu/drm/panel/built-in.o LD drivers/firmware/built-in.o CC fs/ext4/file.o LD drivers/gpu/drm/tilcdc/built-in.o LD drivers/gpu/drm/built-in.o LD drivers/gpu/vga/built-in.o LD drivers/gpu/built-in.o CC fs/ext4/fsync.o CC fs/ext4/ialloc.o LD fs/nfs_common/built-in.o CC fs/ext4/inode.o CC fs/ext4/page-io.o CC drivers/base/dd.o CC fs/aio.o In file included from /home/kisskb/slave/src/fs/ext4/file.c:30:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from /home/kisskb/slave/src/fs/ext4/fsync.c:32:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ LD drivers/clk/mvebu/built-in.o CC net/core/stream.o CC net/core/datagram.o CC fs/ext4/ioctl.o LD arch/sh/drivers/built-in.o LD drivers/clk/ti/built-in.o CC fs/ramfs/file-mmu.o CC drivers/char/random.o AS arch/sh/lib/__clear_user.o LD drivers/clk/built-in.o CC fs/ext4/namei.o CC fs/kernfs/file.o CC fs/ext4/super.o AS arch/sh/lib/checksum.o CC drivers/hwmon/hwmon.o CC fs/locks.o LD drivers/hwtracing/intel_th/built-in.o CC fs/sysfs/dir.o CC fs/ext4/symlink.o AS arch/sh/lib/copy_page.o LD virt/lib/built-in.o CC fs/ext2/super.o CC fs/nfs/file.o CC fs/lockd/clntproc.o LD virt/built-in.o CC block/partitions/efi.o CC fs/ext4/hash.o CC fs/binfmt_script.o CC arch/sh/lib/delay.o CC fs/ext2/symlink.o CC fs/binfmt_elf.o CC fs/proc/inode.o CC drivers/base/syscore.o LD drivers/i2c/algos/built-in.o CC lib/lockref.o LD drivers/clocksource/built-in.o CC fs/notify/group.o CC fs/mbcache.o LD drivers/i2c/busses/built-in.o LD drivers/i2c/muxes/built-in.o LD drivers/i2c/built-in.o CC net/core/scm.o CC lib/bcd.o LD drivers/idle/built-in.o CC fs/kernfs/symlink.o CC drivers/input/input.o CC drivers/input/input-compat.o CC lib/div64.o CC fs/coredump.o CC drivers/base/driver.o CC fs/ext4/resize.o CC lib/sort.o CC fs/drop_caches.o CC fs/fhandle.o LD fs/ramfs/ramfs.o CC drivers/ide/ide.o LD fs/kernfs/built-in.o CC net/core/gen_stats.o LD fs/ramfs/built-in.o CC drivers/ide/ide-io.o CC drivers/ide/ide-ioctls.o CC drivers/input/input-mt.o In file included from /home/kisskb/slave/src/fs/ext4/inode.c:41:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/sysfs/symlink.o AS arch/sh/lib/div64.o CC arch/sh/lib/div64-generic.o AS arch/sh/lib/memcpy-sh4.o AS arch/sh/lib/memchr.o CC fs/fat/fatent.o CC net/core/gen_estimator.o CC lib/parser.o AS arch/sh/lib/memmove.o AS arch/sh/lib/memset-sh4.o AS arch/sh/lib/strlen.o AS arch/sh/lib/udivsi3.o CC net/core/net_namespace.o AS arch/sh/lib/udivsi3_i4i.o CC fs/fat/file.o CC net/core/secure_seq.o CC net/core/flow_dissector.o CC net/core/sysctl_net_core.o CC fs/fat/inode.o AR arch/sh/lib/lib.a CC net/core/dev.o CC fs/fat/misc.o EXPORTS arch/sh/lib/lib-ksyms.o CC lib/halfmd4.o CC net/core/ethtool.o LD arch/sh/lib/built-in.o CC fs/jbd2/commit.o CC fs/jbd2/recovery.o CC fs/jbd2/checkpoint.o CC fs/notify/inode_mark.o CC fs/notify/mark.o CC fs/sysfs/mount.o CC net/core/dev_addr_lists.o CC fs/jbd2/revoke.o LD drivers/hwmon/built-in.o CC fs/sysfs/group.o CC drivers/base/class.o CC fs/fat/nfs.o CC fs/ext4/extents.o CC drivers/input/serio/serio.o CC lib/debug_locks.o CC fs/ext4/migrate.o CC fs/ext4/ext4_jbd2.o CC fs/nfs/getroot.o CC fs/ext4/mballoc.o CC fs/ext4/block_validity.o CC fs/nfs/inode.o CC drivers/char/misc.o CC lib/random32.o /home/kisskb/slave/src/net/core/ethtool.c: In function 'ethtool_get_feature_mask': /home/kisskb/slave/src/net/core/ethtool.c:300:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/proc/root.o /home/kisskb/slave/src/drivers/ide/ide-io.c: In function 'ide_special_rq': /home/kisskb/slave/src/drivers/ide/ide-io.c:295:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC drivers/ide/ide-iops.o CC fs/fat/namei_vfat.o CC drivers/ide/ide-lib.o CC net/core/dst.o LD fs/sysfs/built-in.o CC drivers/input/ff-core.o CC drivers/input/mousedev.o CC drivers/ide/ide-probe.o CC drivers/base/platform.o In file included from /home/kisskb/slave/src/fs/ext4/extents.c:43:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from /home/kisskb/slave/src/fs/ext4/ext4_jbd2.c:5:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC net/core/netevent.o LD drivers/char/agp/built-in.o CC fs/jbd2/journal.o CC drivers/hid/hid-input.o CC net/core/neighbour.o CC fs/notify/vfsmount_mark.o CC drivers/char/hw_random/core.o CC drivers/input/serio/serport.o CC fs/ext4/move_extent.o CC net/core/rtnetlink.o CC lib/bust_spinlocks.o CC fs/ext4/mmp.o LD block/partitions/built-in.o LD fs/ext2/ext2.o CC fs/ext4/indirect.o LD fs/ext2/built-in.o CC net/core/utils.o CC fs/ext4/extents_status.o CC net/core/link_watch.o CC drivers/ide/ide-taskfile.o CC fs/notify/fdinfo.o CC fs/lockd/clntxdr.o LD kernel/events/built-in.o CC fs/proc/base.o LD kernel/built-in.o CC fs/nfs/super.o CC drivers/input/keyboard/atkbd.o CC fs/notify/dnotify/dnotify.o /home/kisskb/slave/src/fs/ext4/inode.c: In function 'ext4_map_blocks': /home/kisskb/slave/src/fs/ext4/inode.c:567:5: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { ^ CC fs/ext4/xattr.o LD fs/notify/fanotify/built-in.o CC net/ipv4/inetpeer.o CC lib/kasprintf.o CC net/core/filter.o CC fs/ext4/xattr_user.o CC net/core/sock_diag.o CC drivers/input/mouse/psmouse-base.o CC drivers/ide/ide-pm.o CC drivers/input/mouse/synaptics.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/nfs/io.o In file included from /home/kisskb/slave/src/fs/ext4/mballoc.c:24:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ LD drivers/char/hw_random/rng-core.o LD drivers/char/hw_random/built-in.o LD drivers/char/built-in.o CC drivers/input/mouse/focaltech.o LD fs/fat/fat.o LD drivers/iommu/built-in.o CC fs/ext4/xattr_trusted.o CC fs/nfs/direct.o LD block/built-in.o CC fs/ext4/inline.o LD drivers/irqchip/built-in.o LD drivers/macintosh/built-in.o LD drivers/lguest/built-in.o In file included from /home/kisskb/slave/src/fs/ext4/move_extent.c:19:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC net/core/dev_ioctl.o In file included from /home/kisskb/slave/src/fs/ext4/indirect.c:23:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC drivers/ide/ide-park.o CC drivers/ide/ide-sysfs.o LD fs/notify/dnotify/built-in.o CC drivers/ide/ide-devsets.o LD drivers/mfd/built-in.o CC drivers/input/serio/libps2.o CC lib/bitmap.o CC lib/scatterlist.o CC net/core/tso.o CC fs/notify/inotify/inotify_user.o LD drivers/misc/cb710/built-in.o CC drivers/base/cpu.o CC drivers/ide/ide-io-std.o LD drivers/misc/eeprom/built-in.o LD drivers/input/input-core.o In file included from /home/kisskb/slave/src/fs/ext4/inline.c:17:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC drivers/ide/ide-eh.o LD drivers/misc/lis3lv02d/built-in.o CC drivers/input/mouse/alps.o LD drivers/media/common/b2c2/built-in.o CC net/core/sock_reuseport.o CC fs/ext4/readpage.o CC fs/ext4/sysfs.o CC fs/nfs/pagelist.o LD drivers/misc/mic/bus/built-in.o LD drivers/media/common/saa7146/built-in.o CC net/core/flow.o CC fs/nfs/read.o LD drivers/misc/mic/built-in.o LD drivers/media/common/siano/built-in.o LD fs/fat/vfat.o LD fs/fat/built-in.o CC net/core/net-sysfs.o CC drivers/input/mouse/byd.o LD drivers/misc/ti-st/built-in.o LD drivers/media/common/v4l2-tpg/built-in.o LD drivers/input/keyboard/built-in.o CC drivers/input/mouse/logips2pp.o CC lib/gcd.o LD drivers/media/common/built-in.o LD drivers/misc/built-in.o /home/kisskb/slave/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /home/kisskb/slave/src/fs/ext4/extents.c:2326:14: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] ext4_lblk_t len; ^ CC fs/lockd/host.o LD drivers/media/firewire/built-in.o CC drivers/base/firmware.o CC net/core/net-procfs.o CC drivers/ide/ide-atapi.o LD drivers/mmc/built-in.o CC lib/lcm.o CC drivers/base/init.o LD drivers/media/i2c/soc_camera/built-in.o CC drivers/net/mii.o LD drivers/nfc/built-in.o CC drivers/ide/ide-proc.o CC lib/list_sort.o LD drivers/media/i2c/built-in.o CC drivers/ide/ide-gd.o LD drivers/input/serio/built-in.o CC fs/nfs/symlink.o LD fs/notify/inotify/built-in.o CC drivers/ide/ide-disk.o LD drivers/perf/built-in.o LD fs/notify/built-in.o LD drivers/platform/built-in.o CC fs/nfs/unlink.o CC net/ipv4/protocol.o LD drivers/media/mmc/siano/built-in.o LD drivers/nvme/host/built-in.o LD drivers/power/built-in.o LD drivers/pwm/built-in.o CC lib/uuid.o CC fs/proc/generic.o CC drivers/base/map.o CC fs/proc/array.o CC drivers/input/mouse/trackpoint.o CC drivers/ide/ide-disk_ioctl.o LD drivers/nvme/target/built-in.o LD drivers/media/mmc/built-in.o CC drivers/rtc/rtc-lib.o LD drivers/nvme/built-in.o /home/kisskb/slave/src/net/core/neighbour.c: In function 'neigh_sysctl_register': /home/kisskb/slave/src/net/core/neighbour.c:3184:2: warning: 'p_name' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(neigh_path, sizeof(neigh_path), "net/%s/neigh/%s", ^ LD drivers/soc/bcm/built-in.o CC drivers/sh/clk/core.o CC lib/flex_array.o CC drivers/sh/clk/cpg.o CC lib/iov_iter.o CC drivers/input/mouse/cypress_ps2.o CC lib/clz_ctz.o LD drivers/soc/fsl/built-in.o CC lib/bsearch.o LD drivers/soc/built-in.o LD drivers/video/backlight/built-in.o CC drivers/base/devres.o CC drivers/video/console/dummycon.o CC drivers/base/attribute_container.o CC lib/find_bit.o CC drivers/base/transport_class.o CC drivers/ide/ide-disk_proc.o CC lib/llist.o CC drivers/ide/ide-cd_ioctl.o CC drivers/ide/ide-cd.o CC drivers/ide/ide-cd_verbose.o CC drivers/net/Space.o CC net/ipv4/ip_input.o CC net/ipv4/ip_fragment.o CC drivers/tty/tty_io.o LD drivers/video/fbdev/core/built-in.o LD drivers/media/pci/ddbridge/built-in.o LD drivers/media/pci/b2c2/built-in.o CC drivers/base/topology.o CC net/ipv4/ip_forward.o CC drivers/base/container.o CC drivers/base/property.o LD drivers/media/pci/dm1105/built-in.o LD drivers/media/pci/mantis/built-in.o CC lib/memweight.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o LD drivers/media/pci/netup_unidvb/built-in.o CC lib/kfifo.o LD drivers/media/pci/ngene/built-in.o CC lib/percpu-refcount.o LD fs/jbd2/jbd2.o /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r8': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread8(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:28:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r16': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread16(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r32': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread32(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o LD fs/jbd2/built-in.o LD drivers/media/pci/pluto2/built-in.o LD drivers/media/pci/pt1/built-in.o LD drivers/video/fbdev/omap2/omapfb/built-in.o LD drivers/video/fbdev/omap2/built-in.o CC fs/lockd/svc.o CC fs/lockd/svclock.o CC fs/lockd/svcshare.o CC fs/lockd/svcproc.o LD drivers/ide/ide-core.o CC lib/percpu_ida.o LD drivers/media/platform/omap/built-in.o LD drivers/media/spi/built-in.o LD drivers/media/rc/keymaps/built-in.o CC drivers/base/cacheinfo.o LD drivers/rtc/built-in.o LD drivers/video/fbdev/built-in.o LD drivers/media/pci/saa7146/built-in.o LD drivers/media/pci/pt3/built-in.o CC fs/proc/fd.o LD drivers/media/rc/built-in.o LD drivers/media/platform/built-in.o LD drivers/media/tuners/built-in.o LD drivers/media/pci/smipcie/built-in.o CC lib/reciprocal_div.o CC lib/rhashtable.o CC fs/proc/proc_tty.o CC fs/proc/consoles.o CC fs/proc/cmdline.o CC fs/proc/cpuinfo.o LD drivers/media/pci/ttpci/built-in.o CC drivers/base/power/clock_ops.o CC fs/proc/interrupts.o CC fs/lockd/svcsubs.o CC fs/proc/devices.o CC fs/lockd/mon.o LD drivers/media/pci/built-in.o LD drivers/video/console/built-in.o CC fs/nfs/write.o LD drivers/video/built-in.o CC drivers/tty/n_tty.o CC lib/once.o CC lib/string_helpers.o LD drivers/base/power/built-in.o CC drivers/base/dma-mapping.o CC net/ipv4/ip_options.o CC net/ipv4/ip_output.o CC drivers/tty/tty_ioctl.o LD drivers/media/usb/b2c2/built-in.o CC drivers/base/dma-coherent.o LD drivers/media/usb/dvb-usb/built-in.o LD drivers/sh/clk/built-in.o CC net/ipv4/ip_sockglue.o CC drivers/base/firmware_class.o LD drivers/media/usb/dvb-usb-v2/built-in.o CC fs/nfs/namespace.o CC fs/proc/loadavg.o LD drivers/media/usb/s2255/built-in.o CC drivers/sh/intc/access.o LD drivers/media/usb/siano/built-in.o CC drivers/sh/intc/chip.o CC lib/hexdump.o LD drivers/input/mouse/psmouse.o LD drivers/media/usb/stkwebcam/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o LD drivers/input/mouse/built-in.o LD drivers/input/built-in.o CC drivers/net/loopback.o CC fs/proc/meminfo.o CC fs/proc/stat.o LD drivers/media/usb/ttusb-dec/built-in.o LD drivers/media/usb/zr364xx/built-in.o CC fs/proc/uptime.o CC fs/proc/version.o LD net/core/built-in.o LD drivers/media/usb/built-in.o CC fs/proc/softirqs.o CC lib/kstrtox.o CC fs/proc/namespaces.o LD drivers/ide/ide-gd_mod.o CC drivers/tty/tty_ldisc.o CC fs/proc/thread_self.o CC fs/proc/self.o CC lib/iomap_copy.o LD drivers/ide/ide-cd_mod.o CC drivers/tty/tty_buffer.o LD drivers/ide/built-in.o CC net/ipv4/inet_hashtables.o LD drivers/media/built-in.o CC lib/devres.o CC net/ipv4/inet_timewait_sock.o CC net/ipv6/addrconf_core.o CC fs/nfs/mount_clnt.o CC lib/hweight.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC net/ipv4/tcp.o CC net/ipv4/inet_connection_sock.o CC lib/assoc_array.o CC fs/proc/kcore.o CC lib/bitrev.o CC fs/proc/kmsg.o CC drivers/sh/intc/core.o LD drivers/net/wireless/admtek/built-in.o CC net/ipv4/tcp_input.o CC fs/nfs/nfstrace.o CC fs/lockd/xdr.o CC lib/crc16.o CC fs/lockd/clnt4xdr.o LD drivers/net/wireless/ath/built-in.o LD drivers/net/ethernet/8390/built-in.o LD drivers/net/ethernet/amazon/built-in.o HOSTCC lib/gen_crc32table CC fs/lockd/xdr4.o CC drivers/tty/tty_port.o CC fs/proc/page.o CC drivers/sh/intc/handle.o CC fs/lockd/svc4proc.o CC fs/lockd/procfs.o LD drivers/net/wireless/broadcom/built-in.o LD drivers/net/ethernet/arc/built-in.o LD drivers/net/wireless/atmel/built-in.o LD drivers/net/wireless/cisco/built-in.o LD drivers/net/ethernet/broadcom/built-in.o LD drivers/net/ethernet/cadence/built-in.o CC drivers/tty/tty_mutex.o CC lib/lz4/lz4_decompress.o LD drivers/base/built-in.o CC drivers/tty/tty_ldsem.o LD drivers/net/wireless/intel/built-in.o LD drivers/net/ethernet/ezchip/built-in.o LD drivers/net/wireless/intersil/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/wireless/ralink/built-in.o LD drivers/net/wireless/marvell/built-in.o CC net/ipv4/tcp_output.o LD drivers/net/wireless/mediatek/built-in.o LD drivers/net/ethernet/intel/built-in.o LD drivers/net/wireless/realtek/built-in.o LD drivers/net/ethernet/micrel/built-in.o LD drivers/net/ethernet/marvell/built-in.o LD drivers/net/wireless/rsi/built-in.o LD drivers/net/wireless/ti/built-in.o LD drivers/net/wireless/st/built-in.o LD drivers/net/ethernet/natsemi/built-in.o CC drivers/tty/pty.o CC net/ipv4/tcp_timer.o CC net/ipv4/tcp_ipv4.o LD drivers/net/ethernet/netronome/built-in.o LD drivers/tty/ipwireless/built-in.o LD drivers/net/wireless/zydas/built-in.o CC lib/lzo/lzo1x_decompress_safe.o CC drivers/tty/serial/serial_core.o CC lib/syscall.o LD drivers/net/wireless/built-in.o LD drivers/net/ethernet/qualcomm/emac/built-in.o CC lib/nlattr.o LD drivers/net/ethernet/renesas/built-in.o LD drivers/net/ethernet/rocker/built-in.o LD drivers/net/ethernet/qualcomm/built-in.o CC lib/xz/xz_dec_syms.o LD drivers/net/ethernet/samsung/built-in.o CC lib/zlib_inflate/inffast.o LD drivers/net/ethernet/seeq/built-in.o LD drivers/net/ethernet/stmicro/built-in.o CC drivers/net/ethernet/smsc/smc91x.o LD drivers/net/ethernet/synopsys/built-in.o CC drivers/tty/vt/vt_ioctl.o CC lib/xz/xz_dec_stream.o LD drivers/net/ethernet/via/built-in.o LD drivers/net/ethernet/wiznet/built-in.o CC lib/zlib_inflate/inflate.o CC lib/zlib_inflate/infutil.o CC lib/zlib_inflate/inflate_syms.o CC lib/zlib_inflate/inftrees.o CC lib/atomic64.o CC lib/dynamic_queue_limits.o CC lib/strncpy_from_user.o CC lib/strnlen_user.o CC fs/nfs/nfsroot.o CC net/netlink/af_netlink.o CC net/ipv4/tcp_minisocks.o CC drivers/sh/intc/irqdomain.o CC lib/net_utils.o LD lib/lzo/lzo_decompress.o CC net/ipv6/exthdrs_core.o LD lib/lzo/built-in.o CC net/ipv6/ip6_checksum.o CC lib/sbitmap.o GEN lib/oid_registry_data.c CC net/ipv6/ip6_icmp.o CC net/ipv6/output_core.o CC lib/argv_split.o CC lib/bug.o CC drivers/sh/intc/virq.o CC lib/chacha20.o CC lib/cmdline.o CC net/netlink/genetlink.o CC net/ipv4/tcp_cong.o CC lib/ctype.o CC net/ipv4/tcp_metrics.o CC lib/xz/xz_dec_lzma2.o CC lib/dec_and_lock.o LD fs/proc/proc.o LD fs/proc/built-in.o CC lib/decompress.o CC lib/decompress_bunzip2.o In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:447:0: warning: "SMC_inl" redefined #define SMC_inl(ioaddr, reg) ({ BUG(); 0; }) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:130:0: note: this is the location of the previous definition #define SMC_inl(a, r) inl((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:448:0: warning: "SMC_outl" redefined #define SMC_outl(x, ioaddr, reg) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:133:0: note: this is the location of the previous definition #define SMC_outl(v, a, r) outl(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:449:0: warning: "SMC_insl" redefined #define SMC_insl(a, r, p, l) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:134:0: note: this is the location of the previous definition #define SMC_insl(a, r, p, l) insl((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:450:0: warning: "SMC_outsl" redefined #define SMC_outsl(a, r, p, l) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:0: note: this is the location of the previous definition #define SMC_outsl(a, r, p, l) outsl((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_reset': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:261:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:262:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:278:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1019:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:279:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, RCR_SOFTRST); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:286:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:973:31: note: in expansion of macro 'SMC_outw' #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:304:2: note: in expansion of macro 'SMC_SET_CONFIG' SMC_SET_CONFIG(lp, cfg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:317:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1019:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:318:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, RCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1035:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:319:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, TCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:321:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:977:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:322:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp) | CTL_LE_ENABLE; ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:333:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:336:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:337:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RESET); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:338:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:338:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_enable': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:353:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1035:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:354:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, lp->tcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1019:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:355:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, lp->rcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:357:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1052:3: note: in expansion of macro 'SMC_outw' SMC_outw(addr[0]|(addr[1] << 8), ioaddr, ADDR0_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1053:3: note: in expansion of macro 'SMC_outw' SMC_outw(addr[2]|(addr[3] << 8), ioaddr, ADDR1_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1054:3: note: in expansion of macro 'SMC_outw' SMC_outw(addr[4]|(addr[5] << 8), ioaddr, ADDR2_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:364:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:365:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_shutdown': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:388:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:389:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:397:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1019:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:398:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, RCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1035:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:399:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, TCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:403:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:32: note: in definition of macro 'SMC_outw' #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:404:2: note: in expansion of macro 'SMC_SET_CONFIG' SMC_SET_CONFIG(lp, SMC_GET_CONFIG(lp) & ~CONFIG_EPH_POWER_EN); ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:971:28: note: in expansion of macro 'SMC_inw' #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:404:21: note: in expansion of macro 'SMC_GET_CONFIG' SMC_SET_CONFIG(lp, SMC_GET_CONFIG(lp) & ~CONFIG_EPH_POWER_EN); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:973:31: note: in expansion of macro 'SMC_outw' #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:404:2: note: in expansion of macro 'SMC_SET_CONFIG' SMC_SET_CONFIG(lp, SMC_GET_CONFIG(lp) & ~CONFIG_EPH_POWER_EN); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_rcv': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:925:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:419:18: note: in expansion of macro 'SMC_GET_RXFIFO' packet_number = SMC_GET_RXFIFO(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:426:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, PTR_READ | PTR_RCV | PTR_AUTOINC); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1084:15: note: in expansion of macro 'SMC_inw' (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:429:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, status, packet_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1085:15: note: in expansion of macro 'SMC_inw' (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:429:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, status, packet_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:447:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:447:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:448:3: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RELEASE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:475:4: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:475:4: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:476:4: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RELEASE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1135:5: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:495:3: note: in expansion of macro 'SMC_PULL_DATA' SMC_PULL_DATA(lp, data, packet_len - 4); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:136:35: warning: passing argument 1 of 'insw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_insw(a, r, p, l) insw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1143:4: note: in expansion of macro 'SMC_insw' SMC_insw(ioaddr, DATA_REG(lp), p, (l) >> 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:495:3: note: in expansion of macro 'SMC_PULL_DATA' SMC_PULL_DATA(lp, data, packet_len - 4); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:205:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void ins##bwlq(unsigned long port, void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:497:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:497:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:498:3: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RELEASE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_hardware_send_pkt': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:917:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, PN_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:576:14: note: in expansion of macro 'SMC_GET_AR' packet_no = SMC_GET_AR(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:912:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:586:2: note: in expansion of macro 'SMC_SET_PN' SMC_SET_PN(lp, packet_no); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:587:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, PTR_AUTOINC); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1072:4: note: in expansion of macro 'SMC_outw' SMC_outw(status, ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:599:2: note: in expansion of macro 'SMC_PUT_PKT_HDR' SMC_PUT_PKT_HDR(lp, 0, len + 6); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1073:4: note: in expansion of macro 'SMC_outw' SMC_outw(length, ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:599:2: note: in expansion of macro 'SMC_PUT_PKT_HDR' SMC_PUT_PKT_HDR(lp, 0, len + 6); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:137:37: warning: passing argument 1 of 'outsw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1097:5: note: in expansion of macro 'SMC_outsw' SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:602:2: note: in expansion of macro 'SMC_PUSH_DATA' SMC_PUSH_DATA(lp, buf, len & ~1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:194:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void outs##bwlq(unsigned long port, const void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:137:37: warning: passing argument 1 of 'outsw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1105:5: note: in expansion of macro 'SMC_outsw' SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:602:2: note: in expansion of macro 'SMC_PUSH_DATA' SMC_PUSH_DATA(lp, buf, len & ~1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:194:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void outs##bwlq(unsigned long port, const void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:137:37: warning: passing argument 1 of 'outsw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1108:4: note: in expansion of macro 'SMC_outsw' SMC_outsw(ioaddr, DATA_REG(lp), p, (l) >> 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:602:2: note: in expansion of macro 'SMC_PUSH_DATA' SMC_PUSH_DATA(lp, buf, len & ~1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:194:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void outs##bwlq(unsigned long port, const void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:605:2: note: in expansion of macro 'SMC_outw' SMC_outw(((len & 1) ? (0x2000 | buf[len-1]) : 0), ioaddr, DATA_REG(lp)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:619:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ENQUEUE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:210:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:626:2: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_TX_INT | IM_TX_EMPTY_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:212:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:626:2: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_TX_INT | IM_TX_EMPTY_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_hard_start_xmit': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:674:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ALLOC | numPages); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:929:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:682:12: note: in expansion of macro 'SMC_GET_INT' status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:939:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:684:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:940:4: note: in expansion of macro 'SMC_outw' SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:684:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:210:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:696:3: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:212:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:696:3: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_tx': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:921:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:722:14: note: in expansion of macro 'SMC_GET_TXFIFO' packet_no = SMC_GET_TXFIFO(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:903:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:729:17: note: in expansion of macro 'SMC_GET_PN' saved_packet = SMC_GET_PN(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:912:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:730:2: note: in expansion of macro 'SMC_SET_PN' SMC_SET_PN(lp, packet_no); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:733:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, PTR_AUTOINC | PTR_READ); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1084:15: note: in expansion of macro 'SMC_inw' (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:734:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, tx_status, pkt_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1085:15: note: in expansion of macro 'SMC_inw' (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:734:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, tx_status, pkt_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:755:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:755:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:756:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_FREEPKT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:759:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:999:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:759:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:912:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:760:2: note: in expansion of macro 'SMC_SET_PN' SMC_SET_PN(lp, saved_packet); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:763:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1035:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:764:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, lp->tcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:765:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_mii_out': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:777:12: note: in expansion of macro 'SMC_GET_MII' mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:786:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:788:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg | MII_MCLK); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_mii_in': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:799:12: note: in expansion of macro 'SMC_GET_MII' mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:800:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:803:7: note: in expansion of macro 'SMC_GET_MII' if (SMC_GET_MII(lp) & MII_MDI) ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:806:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:808:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg | MII_MCLK); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_read': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:824:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:32: note: in definition of macro 'SMC_outw' #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:836:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:836:18: note: in expansion of macro 'SMC_GET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:836:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:841:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_write': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:854:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:32: note: in definition of macro 'SMC_outw' #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:863:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:863:18: note: in expansion of macro 'SMC_GET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:993:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:863:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:868:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_fixed': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:941:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1030:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, RPC_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:942:2: note: in expansion of macro 'SMC_SET_RPC' SMC_SET_RPC(lp, lp->rpc_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:943:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_check_media': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1027:3: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1035:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1028:3: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, lp->tcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_configure': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1077:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1030:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, RPC_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1078:2: note: in expansion of macro 'SMC_SET_RPC' SMC_SET_RPC(lp, lp->rpc_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1135:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_10bt_check_media': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1176:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1015:32: note: in expansion of macro 'SMC_inw' #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1177:17: note: in expansion of macro 'SMC_GET_EPH_STATUS' new_carrier = (SMC_GET_EPH_STATUS(lp) & ES_LINK_OK) ? 1 : 0; ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1178:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_eph_interrupt': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1200:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:977:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1201:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1202:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl & ~CTL_LE_ENABLE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1203:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1204:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_interrupt': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1005:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1228:18: note: in expansion of macro 'SMC_GET_PTR' saved_pointer = SMC_GET_PTR(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1229:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1230:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:929:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1236:12: note: in expansion of macro 'SMC_GET_INT' status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1238:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:995:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_GET_MIR' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1238:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1238:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1003:27: note: in expansion of macro 'SMC_inw' #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_GET_FIFO' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1238:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:939:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1253:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_TX_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:940:4: note: in expansion of macro 'SMC_outw' SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1253:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_TX_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1268:4: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:975:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1269:17: note: in expansion of macro 'SMC_GET_COUNTER' card_stats = SMC_GET_COUNTER(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1270:4: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1279:4: note: in expansion of macro 'DBG' DBG(1, dev, "RX overrun (EPH_ST 0x%04x)\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1015:32: note: in expansion of macro 'SMC_inw' #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_GET_EPH_STATUS' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1279:4: note: in expansion of macro 'DBG' DBG(1, dev, "RX overrun (EPH_ST 0x%04x)\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4349:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1279:4: note: in expansion of macro 'DBG' DBG(1, dev, "RX overrun (EPH_ST 0x%04x)\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:939:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1283:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_RX_OVRN_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:940:4: note: in expansion of macro 'SMC_outw' SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1283:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_RX_OVRN_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:939:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1289:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_MDINT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:940:4: note: in expansion of macro 'SMC_outw' SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1289:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_MDINT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:939:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1292:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ERCV_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:940:4: note: in expansion of macro 'SMC_outw' SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1292:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ERCV_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1298:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, saved_pointer); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1299:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_timeout': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:929:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1344:11: note: in expansion of macro 'SMC_GET_INT' status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1345:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1003:27: note: in expansion of macro 'SMC_inw' #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1346:9: note: in expansion of macro 'SMC_GET_FIFO' fifo = SMC_GET_FIFO(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1347:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1015:32: note: in expansion of macro 'SMC_inw' #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1348:11: note: in expansion of macro 'SMC_GET_EPH_STATUS' eph_st = SMC_GET_EPH_STATUS(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:995:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1349:12: note: in expansion of macro 'SMC_GET_MIR' meminfo = SMC_GET_MIR(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1350:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_set_multicast_list': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1456:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1019:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1457:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, lp->rcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1459:3: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1060:3: note: in expansion of macro 'SMC_outw' SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1460:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1061:3: note: in expansion of macro 'SMC_outw' SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1460:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1062:3: note: in expansion of macro 'SMC_outw' SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1460:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1063:3: note: in expansion of macro 'SMC_outw' SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1460:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1462:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_write_eeprom_word': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1642:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:990:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, GP_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1643:2: note: in expansion of macro 'SMC_SET_GP' SMC_SET_GP(lp, word); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1645:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1646:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1648:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:977:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1649:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1650:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_STORE)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:977:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1654:11: note: in expansion of macro 'SMC_GET_CTL' } while (SMC_GET_CTL(lp) & CTL_STORE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1656:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1657:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_read_eeprom_word': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1670:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1012:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1671:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, addr | PTR_READ); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1673:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:990:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, GP_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1674:2: note: in expansion of macro 'SMC_SET_GP' SMC_SET_GP(lp, 0xffff); /* init to known */ ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:977:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1675:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1676:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_RELOAD)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:977:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1680:11: note: in expansion of macro 'SMC_GET_CTL' } while (SMC_GET_CTL(lp) & CTL_RELOAD); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:983:25: note: in expansion of macro 'SMC_inw' #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1682:10: note: in expansion of macro 'SMC_GET_GP' *word = SMC_GET_GP(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1684:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1685:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_findirq': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1801:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1802:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1808:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ALLOC | 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:929:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1816:16: note: in expansion of macro 'SMC_GET_INT' int_status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:954:4: note: in expansion of macro 'SMC_outw' SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1829:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_probe': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:957:30: note: in expansion of macro 'SMC_inw' #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1870:8: note: in expansion of macro 'SMC_CURRENT_BANK' val = SMC_CURRENT_BANK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1887:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:957:30: note: in expansion of macro 'SMC_inw' #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1888:8: note: in expansion of macro 'SMC_CURRENT_BANK' val = SMC_CURRENT_BANK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1900:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:967:27: note: in expansion of macro 'SMC_inw' #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1901:8: note: in expansion of macro 'SMC_GET_BASE' val = SMC_GET_BASE(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1913:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1021:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1914:22: note: in expansion of macro 'SMC_GET_REV' revision_register = SMC_GET_REV(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:132:35: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:964:4: note: in expansion of macro 'SMC_outw' SMC_outw(x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1936:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1041:9: note: in expansion of macro 'SMC_inw' __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1937:2: note: in expansion of macro 'SMC_GET_MAC_ADDR' SMC_GET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:9: note: in expansion of macro 'SMC_inw' __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1937:2: note: in expansion of macro 'SMC_GET_MAC_ADDR' SMC_GET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:129:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1045:9: note: in expansion of macro 'SMC_inw' __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1937:2: note: in expansion of macro 'SMC_GET_MAC_ADDR' SMC_GET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ CC lib/decompress_inflate.o LD lib/lz4/built-in.o CC lib/xz/xz_dec_bcj.o CC lib/decompress_unlz4.o CC net/ipv6/protocol.o CC lib/decompress_unlzma.o LD lib/zlib_inflate/zlib_inflate.o LD lib/zlib_inflate/built-in.o CC net/ipv6/ip6_offload.o CC lib/decompress_unlzo.o CC net/ipv4/tcp_fastopen.o CC net/sched/sch_generic.o CC lib/decompress_unxz.o CC drivers/tty/vt/vc_screen.o CC lib/dump_stack.o CC lib/dma-noop.o CC fs/nfs/sysctl.o CC net/ipv4/tcp_rate.o CC net/ipv6/tcpv6_offload.o CC lib/earlycpio.o CC lib/extable.o CC net/sunrpc/clnt.o CC net/ipv4/tcp_recovery.o LD drivers/sh/intc/built-in.o CC lib/flex_proportions.o CC fs/nfs/nfs2super.o CC lib/idr.o CC drivers/sh/superhyway/superhyway.o CC lib/int_sqrt.o CC lib/ioremap.o CC drivers/tty/serial/sh-sci.o CC lib/irq_regs.o CC lib/is_single_threaded.o CC lib/klist.o CC net/ipv6/exthdrs_offload.o LD fs/ext4/ext4.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/built-in.o LD fs/lockd/lockd.o CC lib/kobject.o LD fs/lockd/built-in.o CC lib/kobject_uevent.o CC fs/nfs/proc.o CC fs/nfs/nfs2xdr.o CC fs/nfs/nfs3super.o LD fs/ext4/built-in.o CC fs/nfs/nfs3client.o CC fs/nfs/nfs3proc.o CC drivers/hid/hid-generic.o LD drivers/net/built-in.o CC lib/md5.o CC lib/nmi_backtrace.o CC lib/nodemask.o CC fs/nfs/nfs3xdr.o CC net/ipv4/tcp_offload.o CC lib/plist.o CC lib/radix-tree.o CC lib/ratelimit.o LD net/wireless/built-in.o CC drivers/sh/superhyway/superhyway-sysfs.o CC lib/rbtree.o CC lib/seq_buf.o CC lib/sha1.o CC lib/show_mem.o CC net/sysctl_net.o CC lib/string.o CC lib/timerqueue.o CC drivers/tty/vt/selection.o CC lib/vsprintf.o CC net/xfrm/xfrm_policy.o LD lib/xz/xz_dec.o CC lib/win_minmax.o CC fs/nfs/nfs4proc.o LD lib/xz/built-in.o GEN lib/crc32table.h CC fs/nfs/nfs4xdr.o CC lib/oid_registry.o CC fs/nfs/nfs4state.o CC lib/crc32.o CC net/xfrm/xfrm_state.o CC fs/nfs/nfs4renewd.o CC drivers/tty/vt/keyboard.o CC net/ipv4/datagram.o CC drivers/tty/vt/consolemap.o CC net/ipv4/raw.o /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c: In function 'resource_show': /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c:33:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'resource_size_t {aka unsigned int}' [-Wformat=] superhyway_ro_attr(resource, "0x%08lx\n", resource[0].start); ^ /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c:21:22: note: in definition of macro 'superhyway_ro_attr' return sprintf(buf, fmt, s->field); \ ^ CC drivers/hid/hid-a4tech.o CC net/sunrpc/xprt.o CC drivers/hid/hid-apple.o CC net/ipv4/udp.o CC net/ipv4/udplite.o CC fs/nfs/nfs4super.o LD drivers/sh/superhyway/built-in.o LD net/ipv6/built-in.o CC net/sunrpc/socklib.o CC drivers/sh/pm_runtime.o CC net/sunrpc/xprtsock.o CC net/sched/sch_mq.o CC net/xfrm/xfrm_hash.o CC net/sunrpc/sched.o CC net/sunrpc/auth.o CC net/ipv4/udp_offload.o CC net/sunrpc/auth_null.o CC net/ipv4/arp.o CONMK drivers/tty/vt/consolemap_deftbl.c CC drivers/tty/vt/vt.o SHIPPED drivers/tty/vt/defkeymap.c CC net/ipv4/icmp.o CC fs/nfs/nfs4file.o CC drivers/hid/hid-belkin.o CC drivers/tty/vt/consolemap_deftbl.o CC drivers/tty/vt/defkeymap.o CC fs/nfs/delegation.o CC net/ipv4/devinet.o CC net/ipv4/af_inet.o CC drivers/hid/hid-cherry.o LD drivers/tty/serial/built-in.o LD net/netlink/built-in.o CC net/ipv4/igmp.o CC drivers/hid/hid-chicony.o CC drivers/hid/hid-cypress.o CC net/sunrpc/auth_unix.o CC drivers/hid/hid-ezkey.o CC net/sunrpc/auth_generic.o CC net/xfrm/xfrm_input.o CC net/xfrm/xfrm_output.o CC drivers/hid/hid-kensington.o CC net/ipv4/fib_frontend.o LD drivers/sh/built-in.o CC drivers/hid/hid-lg.o CC net/xfrm/xfrm_sysctl.o CC drivers/hid/hid-microsoft.o CC fs/nfs/nfs4idmap.o CC fs/nfs/callback.o CC net/ipv4/fib_semantics.o CC net/sunrpc/svc.o CC net/ipv4/fib_trie.o CC net/ipv4/inet_fragment.o CC net/ipv4/ip_tunnel_core.o CC net/ipv4/ping.o CC net/ipv4/gre_offload.o CC net/ipv4/sysctl_net_ipv4.o CC net/sunrpc/svcsock.o CC net/ipv4/proc.o CC net/ipv4/xfrm4_mode_beet.o CC net/ipv4/xfrm4_mode_transport.o CC net/ipv4/xfrm4_mode_tunnel.o CC net/ipv4/ipconfig.o CC net/ipv4/inet_diag.o CC net/ipv4/tcp_diag.o CC net/ipv4/tcp_cubic.o CC net/xfrm/xfrm_replay.o CC net/sunrpc/svcauth.o CC net/ipv4/xfrm4_policy.o CC net/ipv4/xfrm4_state.o CC net/ipv4/xfrm4_input.o CC net/ipv4/xfrm4_output.o LD net/sched/built-in.o CC drivers/hid/hid-monterey.o CC net/sunrpc/addr.o CC net/sunrpc/svcauth_unix.o CC net/sunrpc/rpcb_clnt.o LD drivers/hid/hid.o LD drivers/hid/hid-logitech.o CC fs/nfs/callback_xdr.o CC net/ipv4/xfrm4_protocol.o LD drivers/hid/built-in.o CC net/sunrpc/xdr.o CC net/sunrpc/timer.o CC fs/nfs/callback_proc.o CC net/sunrpc/sunrpc_syms.o CC fs/nfs/nfs4namespace.o /home/kisskb/slave/src/net/xfrm/xfrm_policy.c: In function 'xfrm_resolve_and_create_bundle': /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1629:7: warning: 'dst_ops' may be used uninitialized in this function [-Wmaybe-uninitialized] xdst = dst_alloc(dst_ops, NULL, 0, DST_OBSOLETE_NONE, 0); ^ /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1611:18: note: 'dst_ops' was declared here struct dst_ops *dst_ops; ^ CC net/sunrpc/cache.o CC fs/nfs/nfs4getroot.o In file included from /home/kisskb/slave/src/include/linux/sunrpc/svcsock.h:13:0, from /home/kisskb/slave/src/net/sunrpc/svcsock.c:52: /home/kisskb/slave/src/include/linux/sunrpc/svc_xprt.h: In function 'svc_addr_len': /home/kisskb/slave/src/include/linux/sunrpc/svc_xprt.h:176:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC net/sunrpc/rpc_pipe.o CC net/sunrpc/svc_xprt.o CC fs/nfs/nfs4client.o CC net/sunrpc/xprtmultipath.o /home/kisskb/slave/src/net/sunrpc/svcauth_unix.c: In function 'svcauth_unix_set_client': /home/kisskb/slave/src/net/sunrpc/svcauth_unix.c:685:9: warning: 'sin6' may be used uninitialized in this function [-Wmaybe-uninitialized] ipm = __ip_map_lookup(sn->ip_map_cache, rqstp->rq_server->sv_program->pg_class, ^ AR lib/lib.a LD drivers/tty/vt/built-in.o CC fs/nfs/nfs4session.o EXPORTS lib/lib-ksyms.o LD drivers/tty/built-in.o CC net/sunrpc/stats.o LD lib/built-in.o CC fs/nfs/dns_resolve.o CC net/sunrpc/sysctl.o CC fs/nfs/nfs4trace.o LD drivers/built-in.o CC fs/nfs/nfs4sysctl.o LD fs/nfs/nfs.o LD fs/nfs/nfsv2.o LD fs/nfs/nfsv3.o /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_err': /home/kisskb/slave/src/net/ipv4/ping.c:556:37: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] harderr = icmp_err_convert[code].fatal; ^ /home/kisskb/slave/src/net/ipv4/ping.c:529:3: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (type) { ^ /home/kisskb/slave/src/net/ipv4/ping.c:510:48: warning: 'icmph' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ping_supported(family, icmph->type, icmph->code)) ^ /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_common_sendmsg': /home/kisskb/slave/src/net/ipv4/ping.c:474:37: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:5: note: 'type' was declared here u8 type, code; ^ /home/kisskb/slave/src/net/ipv4/ping.c:473:63: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] return (family == AF_INET && type == ICMP_ECHO && code == 0) || ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:11: note: 'code' was declared here u8 type, code; ^ /home/kisskb/slave/src/net/sunrpc/svcsock.c: In function 'svc_setup_socket': /home/kisskb/slave/src/net/sunrpc/svcsock.c:715:6: warning: 'optname' may be used uninitialized in this function [-Wmaybe-uninitialized] err = kernel_setsockopt(svsk->sk_sock, level, optname, ^ /home/kisskb/slave/src/net/sunrpc/svcsock.c:682:18: note: 'optname' was declared here int err, level, optname, one = 1; ^ /home/kisskb/slave/src/net/sunrpc/svcsock.c:715:6: warning: 'level' may be used uninitialized in this function [-Wmaybe-uninitialized] err = kernel_setsockopt(svsk->sk_sock, level, optname, ^ /home/kisskb/slave/src/net/sunrpc/svcsock.c:682:11: note: 'level' was declared here int err, level, optname, one = 1; ^ CC net/sunrpc/auth_gss/gss_generic_token.o CC net/sunrpc/auth_gss/auth_gss.o CC net/sunrpc/auth_gss/gss_mech_switch.o CC net/sunrpc/auth_gss/gss_rpc_upcall.o CC net/sunrpc/auth_gss/svcauth_gss.o CC net/sunrpc/auth_gss/gss_rpc_xdr.o /home/kisskb/slave/src/net/xfrm/xfrm_policy.c: In function 'xfrm_bundle_lookup': /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1629:7: warning: 'dst_ops' may be used uninitialized in this function [-Wmaybe-uninitialized] xdst = dst_alloc(dst_ops, NULL, 0, DST_OBSOLETE_NONE, 0); ^ /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1611:18: note: 'dst_ops' was declared here struct dst_ops *dst_ops; ^ LD net/xfrm/built-in.o LD net/sunrpc/sunrpc.o LD net/sunrpc/auth_gss/auth_rpcgss.o LD net/sunrpc/auth_gss/built-in.o LD net/sunrpc/built-in.o LD net/ipv4/built-in.o LD net/built-in.o LD fs/nfs/nfsv4.o LD fs/nfs/built-in.o LD fs/built-in.o LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SYSMAP System.map AS arch/sh/boot/compressed/head_32.o CC arch/sh/boot/compressed/misc.o CC arch/sh/boot/compressed/cache.o OBJCOPY arch/sh/boot/compressed/vmlinux.bin SHIPPED arch/sh/boot/compressed/ashldi3.c SHIPPED arch/sh/boot/compressed/ashiftrt.S SHIPPED arch/sh/boot/compressed/ashrsi3.S SHIPPED arch/sh/boot/compressed/ashlsi3.S SHIPPED arch/sh/boot/compressed/lshrsi3.S AS arch/sh/boot/compressed/ashlsi3.o AS arch/sh/boot/compressed/lshrsi3.o CC arch/sh/boot/compressed/ashldi3.o AS arch/sh/boot/compressed/ashrsi3.o AS arch/sh/boot/compressed/ashiftrt.o GZIP arch/sh/boot/compressed/vmlinux.bin.gz LD arch/sh/boot/compressed/piggy.o LD arch/sh/boot/compressed/vmlinux OBJCOPY arch/sh/boot/zImage Kernel: arch/sh/boot/zImage is ready make[1]: Leaving directory '/home/kisskb/slave/build/linus_microdev_defconfig_sh4' Completed OK # rm -rf /home/kisskb/slave/build/linus_microdev_defconfig_sh4 # Build took: 0:00:39.326458