# git rev-parse -q --verify 10d20bd25e06b220b1d816228b036e367215dc60^{commit} 10d20bd25e06b220b1d816228b036e367215dc60 already have revision, skipping fetch # git checkout -q -f -B kisskb 10d20bd25e06b220b1d816228b036e367215dc60 # git clean -qxdf # git log -1 commit 10d20bd25e06b220b1d816228b036e367215dc60 Author: Linus Torvalds Date: Mon Dec 5 12:10:29 2016 -0800 shmem: fix shm fallocate() list corruption The shmem hole punching with fallocate(FALLOC_FL_PUNCH_HOLE) does not want to race with generating new pages by faulting them in. However, the wait-queue used to delay the page faulting has a serious problem: the wait queue head (in shmem_fallocate()) is allocated on the stack, and the code expects that "wake_up_all()" will make sure that all the queue entries are gone before the stack frame is de-allocated. And that is not at all necessarily the case. Yes, a normal wake-up sequence will remove the wait-queue entry that caused the wakeup (see "autoremove_wake_function()"), but the key wording there is "that caused the wakeup". When there are multiple possible wakeup sources, the wait queue entry may well stay around. And _particularly_ in a page fault path, we may be faulting in new pages from user space while we also have other things going on, and there may well be other pending wakeups. So despite the "wake_up_all()", it's not at all guaranteed that all list entries are removed from the wait queue head on the stack. Fix this by introducing a new wakeup function that removes the list entry unconditionally, even if the target process had already woken up for other reasons. Use that "synchronous" function to set up the waiters in shmem_fault(). This problem has never been seen in the wild afaik, but Dave Jones has reported it on and off while running trinity. We thought we fixed the stack corruption with the blk-mq rq_list locking fix (commit 7fe311302f7d: "blk-mq: update hardware and software queues for sleeping alloc"), but it turns out there was _another_ stack corruptor hiding in the trinity runs. Vegard Nossum (also running trinity) was able to trigger this one fairly consistently, and made us look once again at the shmem code due to the faults often being in that area. Reported-and-tested-by: Vegard Nossum . Reported-by: Dave Jones 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 10d20bd25e06b220b1d816228b036e367215dc60 # < 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/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/irq_regs.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/local.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.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/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/rwsem.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 UPD include/config/kernel.release HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash 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 HOSTCC usr/gen_init_cpio UPD include/generated/compile.h CC init/version.o 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/io.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/process.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/time.o CC arch/sh/kernel/unwinder.o LD arch/sh/boards/built-in.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/traps_32.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/ioport.o CC arch/sh/kernel/perf_event.o AS arch/sh/kernel/head_32.o CC arch/sh/kernel/hw_breakpoint.o LDS arch/sh/kernel/vmlinux.lds GEN usr/initramfs_data.cpio.gz CC arch/sh/kernel/vsyscall/vsyscall.o LDS arch/sh/kernel/vsyscall/vsyscall.lds AS arch/sh/kernel/vsyscall/vsyscall-note.o CC arch/sh/boards/mach-microdev/setup.o AS arch/sh/kernel/vsyscall/vsyscall-trapa.o CC arch/sh/boards/mach-microdev/irq.o CC arch/sh/boards/mach-microdev/io.o CC arch/sh/boards/mach-microdev/fdc37c93xapm.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/cpu/clock.o LD certs/built-in.o CC arch/sh/mm/cache.o CC arch/sh/mm/init.o CC arch/sh/kernel/cpu/fpu.o AS usr/initramfs_data.o CC arch/sh/kernel/cpu/sh4/probe.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o CC arch/sh/kernel/cpu/pfc.o AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC arch/sh/mm/consistent.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 LD usr/built-in.o CC arch/sh/kernel/cpu/sh4/fpu.o CC arch/sh/kernel/cpu/sh4/softfloat.o CC arch/sh/kernel/cpu/sh4/setup-sh4-202.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/kernel/cpu/sh4/clock-sh4.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 CC arch/sh/mm/mmap.o CC arch/sh/mm/flush-sh4.o LD arch/sh/kernel/cpu/sh4/common.o CC arch/sh/mm/cache-sh4.o CC arch/sh/mm/extable_32.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so CC arch/sh/mm/gup.o CC arch/sh/mm/fault.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-syms.o CC arch/sh/mm/ioremap.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o CC arch/sh/mm/pgtable.o CC arch/sh/mm/kmap.o CC arch/sh/mm/tlbex_32.o LD arch/sh/boards/mach-microdev/built-in.o CC arch/sh/mm/tlbflush_32.o CC arch/sh/mm/tlb-sh4.o LD arch/sh/kernel/cpu/irq/built-in.o CC arch/sh/mm/tlb-urb.o CC arch/sh/mm/hugetlbpage.o CC arch/sh/mm/uncached.o LD arch/sh/kernel/vsyscall/built-in.o CC kernel/exec_domain.o CC kernel/fork.o CC kernel/cpu.o CC kernel/exit.o CC kernel/panic.o CC kernel/resource.o CC kernel/softirq.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC kernel/capability.o CC kernel/ptrace.o CC kernel/user.o CC kernel/signal.o LD init/mounts.o CC kernel/sys.o LD ipc/built-in.o CC kernel/kmod.o CC kernel/workqueue.o CC kernel/pid.o CC kernel/task_work.o CC kernel/extable.o CC kernel/kthread.o CC kernel/params.o CC kernel/sys_ni.o CC mm/filemap.o CC mm/mempool.o CC mm/oom_kill.o CC mm/maccess.o CC security/commoncap.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/nsproxy.o CC mm/page_alloc.o CC security/min_addr.o CC mm/page-writeback.o CC mm/readahead.o CC mm/swap.o CC kernel/notifier.o CC mm/truncate.o CC security/keys/gc.o CC kernel/ksysfs.o CC mm/vmscan.o CC security/keys/key.o CC kernel/cred.o CC mm/shmem.o CC mm/util.o CC security/keys/keyctl.o CC security/keys/keyring.o CC mm/mmzone.o CC kernel/reboot.o CC mm/vmstat.o LD init/built-in.o CC mm/backing-dev.o CC kernel/async.o CC mm/mm_init.o CC kernel/range.o LD arch/sh/mm/built-in.o CC mm/mmu_context.o CC kernel/smpboot.o CC crypto/api.o CC kernel/ucount.o CC fs/open.o CC kernel/groups.o CC kernel/bpf/core.o CC mm/percpu.o CC crypto/cipher.o LD arch/sh/kernel/cpu/sh4/built-in.o LD arch/sh/kernel/cpu/built-in.o LD kernel/livepatch/built-in.o CC kernel/events/core.o CC kernel/power/qos.o LD arch/sh/kernel/built-in.o CC mm/slab_common.o CC kernel/irq/irqdesc.o CC kernel/printk/printk.o CC kernel/locking/mutex.o CC block/bio.o CC mm/compaction.o CC mm/vmacache.o CC kernel/rcu/update.o CC kernel/events/ring_buffer.o CC kernel/up.o CC kernel/futex.o CC security/keys/permission.o CC kernel/uid16.o CC kernel/kallsyms.o CC kernel/acct.o CC mm/interval_tree.o CC kernel/sched/core.o CC mm/list_lru.o CC kernel/utsname.o CC kernel/time/time.o CC kernel/pid_namespace.o CC kernel/utsname_sysctl.o CC mm/workingset.o CC kernel/elfcore.o CC mm/debug.o CC kernel/irq_work.o CC mm/gup.o CC mm/highmem.o CC security/keys/process_keys.o CC kernel/membarrier.o CC kernel/memremap.o CC crypto/compress.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC kernel/rcu/sync.o CC mm/memory.o CC crypto/memneq.o CC mm/mincore.o CC security/keys/user_defined.o CC security/keys/proc.o LD kernel/power/built-in.o CC crypto/crypto_wq.o CC security/keys/sysctl.o CC kernel/irq/handle.o CC mm/mlock.o CC mm/mmap.o CC fs/read_write.o CC kernel/locking/semaphore.o CC kernel/locking/rwsem.o CC crypto/algapi.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 mm/mprotect.o CC mm/mremap.o CC mm/msync.o CC kernel/rcu/srcu.o CC mm/rmap.o CC mm/vmalloc.o CC mm/pagewalk.o LD drivers/amba/built-in.o CC mm/pgtable-generic.o CC block/elevator.o CC kernel/locking/percpu-rwsem.o CC block/blk-core.o CC crypto/scatterwalk.o LD drivers/auxdisplay/built-in.o CC mm/process_vm_access.o CC mm/init-mm.o CC crypto/proc.o CC kernel/sched/loadavg.o CC drivers/block/brd.o LD drivers/bus/built-in.o CC mm/bootmem.o CC fs/file_table.o CC crypto/aead.o CC crypto/ablkcipher.o CC mm/fadvise.o CC fs/super.o CC drivers/cdrom/cdrom.o CC kernel/printk/nmi.o CC kernel/irq/manage.o CC kernel/irq/spurious.o LD security/keys/built-in.o CC kernel/sched/clock.o LD security/built-in.o CC drivers/base/component.o CC mm/madvise.o CC drivers/base/core.o LD drivers/char/ipmi/built-in.o CC kernel/rcu/tree.o CC drivers/char/mem.o CC kernel/events/callchain.o CC mm/memblock.o CC drivers/clk/clk-devres.o CC kernel/time/timer.o CC kernel/locking/rtmutex.o CC mm/page_io.o CC mm/swap_state.o LD sound/built-in.o LD kernel/printk/built-in.o CC mm/swapfile.o CC drivers/clk/clkdev.o CC mm/dmapool.o CC kernel/locking/rwsem-spinlock.o CC kernel/sched/cputime.o CC kernel/sched/idle_task.o CC mm/hugetlb.o CC drivers/base/bus.o CC kernel/sched/fair.o CC drivers/base/dd.o CC mm/slab.o CC mm/migrate.o LD drivers/clk/bcm/built-in.o LD firmware/built-in.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] } ^ LD drivers/clk/mvebu/built-in.o CC crypto/blkcipher.o LD drivers/clk/ti/built-in.o CC crypto/skcipher.o CC mm/quicklist.o LD drivers/clk/built-in.o CC crypto/echainiv.o CC drivers/base/syscore.o CC drivers/clocksource/sh_tmu.o CC kernel/irq/resend.o CC fs/char_dev.o CC arch/sh/drivers/dma/dma-sh.o CC arch/sh/drivers/dma/dma-api.o LD kernel/bpf/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 arch/sh/drivers/dma/dma-sysfs.o CC kernel/sched/rt.o CC fs/stat.o CC crypto/ahash.o CC crypto/shash.o LD drivers/block/built-in.o CC crypto/akcipher.o LD drivers/crypto/built-in.o CC net/socket.o CC kernel/events/hw_breakpoint.o LD drivers/firewire/built-in.o CC fs/exec.o AS arch/sh/lib/movmem.o CC crypto/kpp.o CC arch/sh/lib/ashldi3.o CC drivers/char/random.o LD drivers/firmware/broadcom/built-in.o LD drivers/clocksource/built-in.o CC kernel/sched/deadline.o CC crypto/algboss.o CC crypto/testmgr.o CC drivers/hwmon/hwmon.o LD drivers/firmware/meson/built-in.o CC kernel/irq/chip.o LD drivers/firmware/built-in.o CC drivers/base/class.o CC drivers/base/driver.o CC drivers/hid/hid-core.o LD drivers/gpu/drm/bridge/built-in.o LD drivers/hwtracing/intel_th/built-in.o CC drivers/base/platform.o CC drivers/base/firmware.o CC drivers/base/cpu.o CC block/blk-tag.o LD drivers/gpu/drm/hisilicon/built-in.o CC kernel/time/hrtimer.o CC kernel/time/itimer.o LD drivers/gpu/drm/i2c/built-in.o CC crypto/hmac.o LD kernel/locking/built-in.o LD drivers/gpu/drm/panel/built-in.o LD drivers/i2c/algos/built-in.o LD drivers/gpu/drm/omapdrm/displays/built-in.o CC fs/pipe.o LD drivers/gpu/drm/omapdrm/dss/built-in.o CC arch/sh/lib/ashrdi3.o LD drivers/i2c/busses/built-in.o LD drivers/gpu/drm/tilcdc/built-in.o LD drivers/gpu/drm/omapdrm/built-in.o CC arch/sh/lib/lshrdi3.o CC kernel/irq/dummychip.o LD drivers/i2c/muxes/built-in.o CC kernel/irq/devres.o LD drivers/gpu/drm/built-in.o LD drivers/i2c/built-in.o CC arch/sh/drivers/superhyway/ops-sh4-202.o CC kernel/sched/stop_task.o LD drivers/gpu/vga/built-in.o CC lib/lockref.o CC crypto/crypto_null.o CC drivers/base/init.o LD drivers/gpu/built-in.o CC kernel/sched/wait.o LD drivers/idle/built-in.o CC drivers/base/map.o CC crypto/sha256_generic.o CC crypto/ecb.o CC drivers/base/devres.o CC crypto/aes_generic.o CC drivers/input/serio/serio.o CC crypto/crc32c_generic.o AS arch/sh/lib/ashlsi3.o CC drivers/base/attribute_container.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 crypto/rng.o CC drivers/ide/ide.o CC kernel/sched/swait.o CC drivers/input/input.o CC lib/bcd.o AS arch/sh/lib/ashrsi3.o CC kernel/irq/irqdomain.o AS arch/sh/lib/ashiftrt.o LD arch/sh/drivers/dma/built-in.o CC fs/namei.o CC arch/sh/drivers/heartbeat.o CC kernel/time/posix-timers.o CC crypto/drbg.o LD kernel/events/built-in.o LD drivers/cdrom/built-in.o LD arch/sh/drivers/superhyway/built-in.o CC drivers/base/transport_class.o CC crypto/jitterentropy.o AS arch/sh/lib/lshrsi3.o AS arch/sh/lib/udiv_qrnnd.o CC drivers/base/topology.o CC lib/div64.o LD drivers/iommu/built-in.o CC kernel/irq/proc.o CC fs/fcntl.o CC block/blk-sysfs.o LD drivers/hwmon/built-in.o CC drivers/base/container.o CC drivers/base/property.o CC crypto/jitterentropy-kcapi.o CC arch/sh/lib/io.o CC kernel/sched/completion.o LD drivers/lguest/built-in.o CC drivers/char/misc.o CC drivers/base/cacheinfo.o AS arch/sh/lib/__clear_user.o LD drivers/macintosh/built-in.o LD drivers/irqchip/built-in.o LD crypto/crypto.o LD crypto/crypto_algapi.o LD crypto/crypto_blkcipher.o LD crypto/crypto_hash.o LD drivers/mfd/built-in.o LD crypto/cryptomgr.o AS arch/sh/lib/checksum.o CC drivers/input/serio/serport.o CC drivers/base/power/clock_ops.o CC block/blk-flush.o CC drivers/input/serio/libps2.o CC block/blk-settings.o CC lib/sort.o LD drivers/mmc/built-in.o CC kernel/time/posix-cpu-timers.o CC block/blk-ioc.o AS arch/sh/lib/copy_page.o LD drivers/misc/cb710/built-in.o CC drivers/net/mii.o LD drivers/misc/eeprom/built-in.o CC fs/ioctl.o LD drivers/char/agp/built-in.o CC lib/parser.o CC arch/sh/lib/delay.o CC kernel/sched/idle.o CC arch/sh/lib/div64-generic.o LD drivers/misc/lis3lv02d/built-in.o CC drivers/char/hw_random/core.o CC drivers/base/dma-mapping.o CC drivers/base/dma-coherent.o CC block/blk-map.o CC drivers/base/firmware_class.o LD drivers/media/common/b2c2/built-in.o LD drivers/misc/mic/bus/built-in.o LD arch/sh/drivers/built-in.o AS arch/sh/lib/div64.o LD drivers/misc/mic/built-in.o LD drivers/media/common/saa7146/built-in.o AS arch/sh/lib/memchr.o LD drivers/media/common/siano/built-in.o AS arch/sh/lib/memcpy-sh4.o CC lib/halfmd4.o LD drivers/media/common/v4l2-tpg/built-in.o CC lib/debug_locks.o AS arch/sh/lib/memmove.o CC lib/random32.o LD drivers/misc/ti-st/built-in.o AS arch/sh/lib/memset-sh4.o LD drivers/media/common/built-in.o CC fs/readdir.o CC lib/bust_spinlocks.o CC block/blk-exec.o LD drivers/misc/built-in.o AS arch/sh/lib/strlen.o AS arch/sh/lib/udivsi3.o LD drivers/base/power/built-in.o AS arch/sh/lib/udivsi3_i4i.o LD virt/lib/built-in.o LD drivers/media/firewire/built-in.o CC block/blk-merge.o CC block/blk-softirq.o LD virt/built-in.o CC block/blk-timeout.o CC lib/kasprintf.o LD kernel/irq/built-in.o CC drivers/ide/ide-ioctls.o CC lib/bitmap.o CC block/blk-lib.o CC kernel/time/ntp.o CC kernel/time/timekeeping.o LD net/802/built-in.o LD drivers/media/mmc/siano/built-in.o LD drivers/nfc/built-in.o LD drivers/platform/built-in.o CC kernel/time/jiffies.o LD drivers/media/i2c/soc_camera/built-in.o CC kernel/time/clocksource.o LD drivers/media/platform/omap/built-in.o LD drivers/power/built-in.o LD drivers/perf/built-in.o LD drivers/media/mmc/built-in.o CC fs/select.o CC drivers/net/Space.o LD drivers/pwm/built-in.o LD drivers/media/i2c/built-in.o LD drivers/nvme/host/built-in.o LD drivers/media/platform/built-in.o CC lib/scatterlist.o CC drivers/rtc/rtc-lib.o AR arch/sh/lib/lib.a LD crypto/jitterentropy_rng.o CC net/dns_resolver/dns_key.o EXPORTS arch/sh/lib/lib-ksyms.o CC drivers/ide/ide-io.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/spi/built-in.o LD drivers/media/tuners/built-in.o LD drivers/nvme/target/built-in.o LD mm/built-in.o CC drivers/ide/ide-iops.o LD drivers/nvme/built-in.o LD drivers/input/serio/built-in.o LD arch/sh/lib/built-in.o LD drivers/media/rc/built-in.o LD drivers/soc/bcm/built-in.o CC drivers/sh/clk/core.o CC fs/dcache.o CC fs/inode.o CC drivers/hid/hid-input.o CC lib/gcd.o CC drivers/hid/hid-generic.o LD drivers/char/hw_random/rng-core.o CC lib/lcm.o LD drivers/char/hw_random/built-in.o CC drivers/sh/intc/access.o LD drivers/char/built-in.o LD drivers/media/pci/b2c2/built-in.o LD drivers/soc/fsl/built-in.o LD drivers/video/backlight/built-in.o LD drivers/soc/built-in.o CC lib/list_sort.o CC drivers/input/input-compat.o CC fs/attr.o CC drivers/hid/hid-a4tech.o CC lib/uuid.o CC net/core/sock.o LD drivers/media/pci/ddbridge/built-in.o CC kernel/time/timer_list.o CC drivers/video/console/dummycon.o CC drivers/tty/tty_io.o LD drivers/media/usb/b2c2/built-in.o CC lib/flex_array.o CC lib/iov_iter.o LD drivers/media/pci/dm1105/built-in.o LD drivers/video/fbdev/core/built-in.o CC block/blk-mq.o CC drivers/net/loopback.o LD drivers/media/usb/dvb-usb/built-in.o LD drivers/media/pci/mantis/built-in.o LD drivers/base/built-in.o LD drivers/media/usb/dvb-usb-v2/built-in.o LD crypto/built-in.o LD drivers/media/pci/netup_unidvb/built-in.o CC fs/bad_inode.o LD drivers/media/usb/s2255/built-in.o CC fs/file.o LD kernel/sched/built-in.o CC lib/clz_ctz.o CC lib/bsearch.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o LD drivers/media/usb/siano/built-in.o CC kernel/time/timeconv.o LD drivers/media/pci/pluto2/built-in.o LD drivers/media/pci/ngene/built-in.o CC net/dns_resolver/dns_query.o CC block/blk-mq-tag.o LD drivers/media/usb/stkwebcam/built-in.o CC block/blk-mq-sysfs.o LD drivers/media/pci/pt1/built-in.o CC block/blk-mq-cpumap.o CC fs/filesystems.o LD drivers/media/usb/ttusb-budget/built-in.o LD drivers/media/pci/pt3/built-in.o LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o LD drivers/media/usb/ttusb-dec/built-in.o CC lib/find_bit.o CC lib/llist.o CC lib/memweight.o LD drivers/media/pci/saa7146/built-in.o LD drivers/media/usb/zr364xx/built-in.o LD drivers/media/pci/smipcie/built-in.o LD drivers/video/fbdev/omap2/omapfb/built-in.o CC lib/kfifo.o LD drivers/media/usb/built-in.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/hid/hid-apple.o CC lib/percpu-refcount.o LD drivers/media/pci/ttpci/built-in.o LD drivers/video/fbdev/omap2/built-in.o CC block/ioctl.o LD drivers/rtc/built-in.o LD drivers/media/pci/built-in.o LD drivers/video/fbdev/built-in.o CC kernel/time/timecounter.o CC kernel/time/posix-clock.o CC drivers/hid/hid-belkin.o CC block/genhd.o CC kernel/time/alarmtimer.o CC block/scsi_ioctl.o CC block/partition-generic.o CC drivers/input/input-mt.o CC lib/percpu_ida.o CC drivers/sh/intc/chip.o CC lib/rhashtable.o CC lib/reciprocal_div.o CC drivers/ide/ide-lib.o CC drivers/hid/hid-cherry.o CC block/ioprio.o LD drivers/media/built-in.o CC kernel/time/clockevents.o CC kernel/time/tick-common.o CC fs/namespace.o CC lib/once.o LD drivers/video/console/built-in.o CC block/badblocks.o LD net/dns_resolver/dns_resolver.o LD drivers/video/built-in.o LD net/dns_resolver/built-in.o LD kernel/rcu/built-in.o CC drivers/hid/hid-chicony.o CC fs/seq_file.o CC net/ethernet/eth.o CC lib/string_helpers.o CC net/netlink/af_netlink.o CC net/ipv6/addrconf_core.o CC lib/hexdump.o CC lib/kstrtox.o CC drivers/ide/ide-probe.o CC kernel/time/sched_clock.o CC block/partitions/check.o CC drivers/sh/clk/cpg.o CC block/partitions/msdos.o CC drivers/hid/hid-cypress.o CC block/partitions/efi.o CC lib/iomap_copy.o CC block/noop-iosched.o CC lib/devres.o CC drivers/sh/intc/core.o CC drivers/ide/ide-taskfile.o CC drivers/hid/hid-ezkey.o CC drivers/input/ff-core.o CC drivers/hid/hid-kensington.o CC lib/hweight.o CC block/deadline-iosched.o CC lib/assoc_array.o CC lib/bitrev.o LD drivers/net/ethernet/8390/built-in.o CC fs/xattr.o CC block/cfq-iosched.o CC lib/crc16.o LD drivers/net/ethernet/amazon/built-in.o CC net/ipv4/route.o CC net/ipv4/inetpeer.o HOSTCC lib/gen_crc32table LD drivers/net/ethernet/arc/built-in.o CC net/ipv4/protocol.o CC lib/lz4/lz4_decompress.o CC drivers/ide/ide-pm.o CC fs/libfs.o CC lib/lzo/lzo1x_decompress_safe.o CC drivers/sh/intc/handle.o LD drivers/net/ethernet/broadcom/built-in.o CC fs/fs-writeback.o CC net/ipv6/exthdrs_core.o LD drivers/net/ethernet/cadence/built-in.o LD drivers/net/ethernet/ezchip/built-in.o CC drivers/ide/ide-park.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 *); ^ CC drivers/ide/ide-devsets.o CC drivers/ide/ide-sysfs.o LD drivers/net/wireless/admtek/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/ethernet/intel/built-in.o CC drivers/hid/hid-lg.o LD kernel/time/built-in.o LD drivers/net/wireless/ath/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/marvell/built-in.o LD drivers/net/ethernet/micrel/built-in.o CC lib/xz/xz_dec_syms.o LD kernel/built-in.o LD lib/lzo/lzo_decompress.o LD lib/lzo/built-in.o LD drivers/net/wireless/atmel/built-in.o LD drivers/net/ethernet/netronome/built-in.o CC lib/zlib_inflate/inffast.o CC lib/syscall.o LD drivers/net/ethernet/renesas/built-in.o CC drivers/hid/hid-microsoft.o LD lib/lz4/built-in.o LD drivers/net/ethernet/qualcomm/emac/built-in.o LD drivers/net/ethernet/rocker/built-in.o CC lib/nlattr.o CC net/ipv4/ip_input.o LD drivers/net/wireless/broadcom/built-in.o LD drivers/net/ethernet/samsung/built-in.o LD drivers/net/ethernet/seeq/built-in.o LD drivers/net/ethernet/qualcomm/built-in.o CC drivers/hid/hid-monterey.o CC lib/atomic64.o LD drivers/net/ethernet/synopsys/built-in.o LD drivers/net/wireless/cisco/built-in.o CC drivers/net/ethernet/smsc/smc91x.o LD drivers/net/ethernet/stmicro/built-in.o LD drivers/net/wireless/intel/built-in.o LD drivers/net/ethernet/via/built-in.o LD drivers/net/ethernet/wiznet/built-in.o CC fs/pnode.o LD drivers/net/wireless/intersil/built-in.o LD drivers/net/wireless/marvell/built-in.o CC lib/dynamic_queue_limits.o LD drivers/net/wireless/mediatek/built-in.o LD drivers/net/wireless/ralink/built-in.o CC lib/strncpy_from_user.o CC drivers/ide/ide-io-std.o LD drivers/net/wireless/realtek/built-in.o CC fs/splice.o LD drivers/net/wireless/st/built-in.o LD drivers/sh/clk/built-in.o LD drivers/net/wireless/rsi/built-in.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] } ^ LD drivers/net/wireless/ti/built-in.o CC lib/xz/xz_dec_stream.o CC lib/xz/xz_dec_lzma2.o LD drivers/net/wireless/zydas/built-in.o CC drivers/sh/superhyway/superhyway.o CC drivers/sh/superhyway/superhyway-sysfs.o CC lib/xz/xz_dec_bcj.o CC drivers/input/mousedev.o CC drivers/ide/ide-eh.o CC lib/zlib_inflate/inflate.o LD drivers/net/wireless/built-in.o CC lib/strnlen_user.o CC fs/sync.o CC fs/utimes.o CC drivers/sh/intc/irqdomain.o CC net/core/request_sock.o LD net/ethernet/built-in.o CC lib/net_utils.o GEN lib/oid_registry_data.c CC net/sched/sch_generic.o CC lib/sbitmap.o CC lib/argv_split.o CC lib/bug.o LD net/wireless/built-in.o CC lib/chacha20.o CC net/sched/sch_mq.o CC drivers/ide/ide-atapi.o CC net/ipv4/ip_fragment.o CC drivers/ide/ide-proc.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/ide/ide-gd.o CC net/ipv4/ip_forward.o CC net/xfrm/xfrm_policy.o CC lib/cmdline.o CC lib/ctype.o LD drivers/sh/superhyway/built-in.o CC fs/stack.o CC lib/dec_and_lock.o CC net/ipv6/ip6_checksum.o CC drivers/sh/pm_runtime.o CC net/netlink/genetlink.o CC net/sunrpc/clnt.o CC drivers/ide/ide-disk.o CC lib/decompress.o CC lib/decompress_inflate.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) ^ LD block/partitions/built-in.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: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) ^ CC drivers/input/keyboard/atkbd.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: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) ^ CC fs/statfs.o CC fs/fs_struct.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: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) ^ CC drivers/sh/intc/virq.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: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) ^ CC lib/decompress_unlz4.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: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) ^ CC net/ipv4/ip_options.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: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) ^ CC lib/decompress_unlzma.o CC net/ipv4/ip_output.o CC fs/fs_pin.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: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) ^ CC drivers/input/mouse/psmouse-base.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: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) ^ LD drivers/hid/hid-logitech.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: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) ^ CC fs/nsfs.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.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_unlzo.o CC lib/decompress_unxz.o CC lib/dma-noop.o CC lib/dump_stack.o CC lib/earlycpio.o CC fs/buffer.o CC lib/extable.o LD drivers/hid/hid.o LD drivers/hid/built-in.o CC lib/flex_proportions.o CC drivers/input/mouse/synaptics.o CC lib/idr.o CC drivers/ide/ide-disk_ioctl.o CC fs/block_dev.o CC fs/direct-io.o CC lib/zlib_inflate/infutil.o CC lib/int_sqrt.o CC fs/mpage.o CC lib/ioremap.o CC drivers/ide/ide-disk_proc.o CC lib/irq_regs.o CC fs/proc_namespace.o CC lib/is_single_threaded.o CC lib/klist.o CC drivers/ide/ide-cd.o CC lib/kobject.o CC fs/devpts/inode.o CC net/core/skbuff.o LD fs/exofs/built-in.o CC drivers/ide/ide-cd_ioctl.o CC drivers/ide/ide-cd_verbose.o LD lib/xz/xz_dec.o CC lib/kobject_uevent.o LD lib/xz/built-in.o CC lib/zlib_inflate/inftrees.o CC fs/exportfs/expfs.o CC lib/md5.o LD block/built-in.o CC lib/nmi_backtrace.o CC net/ipv4/ip_sockglue.o CC drivers/tty/n_tty.o LD drivers/sh/intc/built-in.o CC lib/nodemask.o LD drivers/sh/built-in.o CC fs/hugetlbfs/inode.o CC lib/plist.o CC fs/ext2/balloc.o CC lib/radix-tree.o CC lib/ratelimit.o LD net/sched/built-in.o CC lib/rbtree.o CC fs/fat/cache.o CC fs/fat/dir.o CC net/ipv6/ip6_icmp.o CC drivers/input/mouse/focaltech.o CC net/sysctl_net.o CC fs/jbd2/transaction.o LD drivers/ide/ide-core.o CC drivers/input/mouse/alps.o CC lib/zlib_inflate/inflate_syms.o LD drivers/input/keyboard/built-in.o LD drivers/input/input-core.o CC lib/seq_buf.o CC lib/sha1.o CC drivers/input/mouse/byd.o CC lib/show_mem.o CC fs/ext4/balloc.o LD net/netlink/built-in.o CC fs/ext4/bitmap.o CC lib/string.o LD drivers/ide/ide-gd_mod.o CC lib/timerqueue.o CC fs/ext4/dir.o CC lib/vsprintf.o CC lib/win_minmax.o CC net/ipv4/inet_hashtables.o LD lib/zlib_inflate/zlib_inflate.o GEN lib/crc32table.h CC lib/oid_registry.o CC fs/ext4/file.o LD lib/zlib_inflate/built-in.o CC lib/crc32.o CC fs/ext4/fsync.o LD fs/devpts/devpts.o LD fs/exportfs/exportfs.o LD fs/exportfs/built-in.o LD fs/devpts/built-in.o CC fs/fat/fatent.o CC fs/kernfs/inode.o CC fs/kernfs/mount.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/built-in.o CC fs/nfs_common/grace.o CC fs/nls/nls_base.o CC net/sunrpc/xprt.o CC fs/lockd/clntlock.o CC fs/lockd/clntproc.o CC net/sunrpc/socklib.o CC net/sunrpc/xprtsock.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:1631: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:1613:18: note: 'dst_ops' was declared here struct dst_ops *dst_ops; ^ CC fs/lockd/clntxdr.o CC drivers/input/mouse/logips2pp.o CC drivers/input/mouse/trackpoint.o CC fs/lockd/host.o CC net/ipv4/inet_timewait_sock.o CC net/ipv4/inet_connection_sock.o LD drivers/net/built-in.o CC net/ipv6/output_core.o CC net/ipv6/protocol.o CC fs/ext4/ialloc.o CC fs/fat/file.o CC fs/ext4/inode.o CC fs/fat/inode.o CC fs/fat/misc.o CC drivers/input/mouse/cypress_ps2.o CC net/ipv4/tcp.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] } ^ CC fs/nfs/client.o CC fs/notify/fsnotify.o 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] } ^ CC net/sunrpc/sched.o LD drivers/ide/ide-cd_mod.o LD drivers/ide/built-in.o CC fs/kernfs/dir.o LD fs/nls/built-in.o CC fs/kernfs/file.o LD fs/quota/built-in.o CC fs/ext4/page-io.o CC fs/ext2/dir.o CC fs/kernfs/symlink.o CC fs/ramfs/inode.o CC fs/ramfs/file-mmu.o LD fs/nfs_common/built-in.o CC fs/eventpoll.o CC fs/ext4/ioctl.o CC fs/sysfs/file.o CC fs/ext4/namei.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 drivers/tty/tty_ioctl.o LD fs/hugetlbfs/hugetlbfs.o LD fs/hugetlbfs/built-in.o CC drivers/tty/tty_ldisc.o CC fs/anon_inodes.o CC net/sunrpc/auth.o CC fs/fat/nfs.o CC net/ipv6/ip6_offload.o CC fs/fat/namei_vfat.o CC fs/ext4/super.o CC fs/lockd/svc.o CC fs/proc/task_mmu.o CC fs/ext4/symlink.o CC net/ipv6/tcpv6_offload.o CC fs/lockd/svclock.o CC net/ipv6/exthdrs_offload.o CC fs/notify/notification.o CC net/ipv4/tcp_input.o CC fs/proc/inode.o /home/kisskb/slave/src/net/xfrm/xfrm_policy.c: In function 'xfrm_bundle_lookup': /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1631: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:1613:18: note: 'dst_ops' was declared here struct dst_ops *dst_ops; ^ CC net/ipv4/tcp_output.o CC net/ipv4/tcp_timer.o CC fs/proc/root.o CC net/ipv4/tcp_ipv4.o CC fs/jbd2/commit.o CC fs/lockd/svcshare.o CC fs/signalfd.o CC fs/sysfs/dir.o CC fs/lockd/svcproc.o CC fs/lockd/svcsubs.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/timerfd.o CC fs/lockd/mon.o CC fs/proc/base.o CC fs/notify/group.o LD drivers/input/mouse/psmouse.o LD drivers/input/mouse/built-in.o CC net/sunrpc/auth_null.o LD drivers/input/built-in.o CC fs/ext2/file.o CC fs/ext4/hash.o CC fs/ext4/resize.o CC net/sunrpc/auth_unix.o CC drivers/tty/tty_buffer.o CC fs/ext4/extents.o CC fs/sysfs/symlink.o CC drivers/tty/tty_port.o CC net/sunrpc/auth_generic.o CC drivers/tty/tty_mutex.o LD fs/kernfs/built-in.o CC fs/eventfd.o CC net/ipv4/tcp_minisocks.o AR lib/lib.a CC fs/aio.o LD net/ipv6/built-in.o CC fs/locks.o EXPORTS lib/lib-ksyms.o CC net/sunrpc/svc.o CC fs/ext4/ext4_jbd2.o CC fs/lockd/xdr.o CC fs/proc/generic.o LD lib/built-in.o CC fs/lockd/clnt4xdr.o CC fs/ext4/migrate.o LD fs/fat/fat.o CC fs/binfmt_script.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/lockd/xdr4.o CC net/sunrpc/svcsock.o CC fs/nfs/dir.o CC drivers/tty/tty_ldsem.o CC fs/ext2/ialloc.o CC fs/lockd/svc4proc.o CC net/sunrpc/svcauth.o CC fs/lockd/procfs.o CC net/xfrm/xfrm_state.o LD fs/fat/vfat.o CC fs/notify/inode_mark.o LD fs/fat/built-in.o CC fs/sysfs/mount.o CC fs/binfmt_elf.o CC fs/proc/array.o CC fs/ext4/mballoc.o CC fs/mbcache.o CC fs/proc/fd.o CC fs/coredump.o CC fs/drop_caches.o CC drivers/tty/pty.o CC fs/fhandle.o 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/sunrpc/svcauth_unix.o CC net/sunrpc/addr.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] } ^ LD drivers/tty/ipwireless/built-in.o CC net/sunrpc/rpcb_clnt.o CC drivers/tty/serial/serial_core.o CC fs/ext4/block_validity.o CC drivers/tty/serial/sh-sci.o CC net/ipv4/tcp_cong.o CC drivers/tty/vt/vt_ioctl.o CC fs/sysfs/group.o CC net/sunrpc/timer.o CC fs/jbd2/recovery.o CC fs/notify/mark.o CC fs/notify/vfsmount_mark.o CC net/sunrpc/xdr.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:177:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/notify/fdinfo.o CC fs/proc/proc_tty.o CC fs/ext4/move_extent.o CC fs/proc/cmdline.o CC fs/ext4/mmp.o CC fs/proc/consoles.o CC fs/ext4/indirect.o CC fs/ext2/inode.o CC fs/ext2/ioctl.o /home/kisskb/slave/src/net/sunrpc/svcsock.c: In function 'svc_setup_socket': /home/kisskb/slave/src/net/sunrpc/svcsock.c:735: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:702:18: note: 'optname' was declared here int err, level, optname, one = 1; ^ /home/kisskb/slave/src/net/sunrpc/svcsock.c:735: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:702:11: note: 'level' was declared here int err, level, optname, one = 1; ^ CC fs/ext4/extents_status.o CC net/sunrpc/sunrpc_syms.o LD fs/lockd/lockd.o LD fs/lockd/built-in.o CC fs/ext4/xattr.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] } ^ CC net/core/datagram.o LD fs/sysfs/built-in.o CC fs/proc/cpuinfo.o CC fs/ext4/xattr_user.o CC fs/ext4/xattr_trusted.o CC net/ipv4/tcp_metrics.o CC fs/ext4/inline.o CC fs/notify/dnotify/dnotify.o LD fs/notify/fanotify/built-in.o CC fs/proc/devices.o CC net/sunrpc/cache.o CC fs/proc/interrupts.o CC fs/proc/loadavg.o CC net/ipv4/tcp_rate.o CC net/ipv4/tcp_fastopen.o CC fs/notify/inotify/inotify_fsnotify.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 fs/proc/meminfo.o CC net/ipv4/tcp_recovery.o CC net/sunrpc/rpc_pipe.o CC fs/ext2/namei.o CC net/sunrpc/svc_xprt.o CC fs/proc/stat.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, ^ CC net/sunrpc/xprtmultipath.o CC net/ipv4/tcp_offload.o CC fs/proc/uptime.o CC fs/ext4/readpage.o CC fs/proc/version.o CC fs/proc/softirqs.o CC net/sunrpc/stats.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 net/ipv4/datagram.o CC net/sunrpc/sysctl.o CC drivers/tty/vt/vc_screen.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 fs/proc/namespaces.o CC fs/jbd2/checkpoint.o CC fs/ext4/sysfs.o CC fs/notify/inotify/inotify_user.o CC fs/proc/self.o CC fs/jbd2/revoke.o CC fs/jbd2/journal.o LD fs/notify/dnotify/built-in.o CC fs/proc/thread_self.o CC net/sunrpc/auth_gss/auth_gss.o CC fs/proc/proc_sysctl.o CC drivers/tty/vt/selection.o CC fs/proc/proc_net.o CC drivers/tty/vt/keyboard.o CC fs/proc/kcore.o CC fs/proc/kmsg.o CC net/sunrpc/auth_gss/gss_generic_token.o CC fs/proc/page.o CC net/ipv4/raw.o CC net/ipv4/udp.o CC net/ipv4/udplite.o CC fs/ext2/super.o CC drivers/tty/vt/consolemap.o CONMK drivers/tty/vt/consolemap_deftbl.c CC net/core/stream.o CC drivers/tty/vt/vt.o SHIPPED drivers/tty/vt/defkeymap.c CC net/core/gen_stats.o CC net/core/scm.o CC fs/ext2/symlink.o CC net/ipv4/udp_offload.o CC drivers/tty/vt/consolemap_deftbl.o CC net/core/gen_estimator.o CC net/xfrm/xfrm_hash.o CC net/xfrm/xfrm_input.o CC net/core/net_namespace.o CC drivers/tty/vt/defkeymap.o CC net/sunrpc/auth_gss/gss_mech_switch.o CC net/core/secure_seq.o CC net/ipv4/arp.o CC net/core/flow_dissector.o CC net/core/sysctl_net_core.o CC net/core/dev.o CC net/ipv4/icmp.o CC fs/nfs/file.o CC fs/nfs/getroot.o LD fs/notify/inotify/built-in.o CC net/ipv4/devinet.o CC net/ipv4/af_inet.o LD fs/notify/built-in.o LD drivers/tty/serial/built-in.o CC net/ipv4/igmp.o CC net/ipv4/fib_frontend.o CC fs/nfs/super.o CC fs/nfs/inode.o CC net/ipv4/fib_trie.o CC net/ipv4/fib_semantics.o CC net/xfrm/xfrm_output.o CC net/ipv4/inet_fragment.o CC fs/nfs/io.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 net/xfrm/xfrm_sysctl.o CC net/xfrm/xfrm_replay.o CC net/ipv4/ping.o CC net/core/ethtool.o CC net/core/dev_addr_lists.o LD fs/proc/proc.o LD fs/proc/built-in.o CC net/sunrpc/auth_gss/svcauth_gss.o CC net/sunrpc/auth_gss/gss_rpc_upcall.o CC net/core/dst.o LD net/sunrpc/sunrpc.o CC net/sunrpc/auth_gss/gss_rpc_xdr.o CC net/core/netevent.o CC net/ipv4/ip_tunnel_core.o CC net/core/neighbour.o CC net/core/rtnetlink.o CC net/core/utils.o CC net/core/link_watch.o CC net/core/filter.o CC fs/nfs/direct.o CC net/core/sock_diag.o CC net/ipv4/gre_offload.o CC net/ipv4/sysctl_net_ipv4.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 net/ipv4/proc.o CC fs/nfs/pagelist.o LD fs/ext2/ext2.o LD fs/ext2/built-in.o CC net/ipv4/xfrm4_mode_beet.o CC fs/nfs/read.o CC net/ipv4/xfrm4_mode_transport.o CC fs/nfs/symlink.o CC net/ipv4/xfrm4_mode_tunnel.o CC net/ipv4/ipconfig.o CC fs/nfs/unlink.o CC net/ipv4/inet_diag.o CC net/core/dev_ioctl.o CC net/core/tso.o LD fs/jbd2/jbd2.o LD net/xfrm/built-in.o CC net/ipv4/tcp_diag.o LD fs/jbd2/built-in.o CC net/core/sock_reuseport.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)) ^ CC net/ipv4/tcp_cubic.o CC fs/nfs/write.o CC net/core/flow.o /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; ^ CC fs/nfs/namespace.o CC net/ipv4/xfrm4_policy.o CC net/core/net-sysfs.o CC net/core/net-procfs.o CC net/ipv4/xfrm4_state.o CC net/ipv4/xfrm4_input.o CC net/ipv4/xfrm4_output.o CC net/ipv4/xfrm4_protocol.o CC fs/nfs/mount_clnt.o CC fs/nfs/nfstrace.o CC fs/nfs/nfsroot.o CC fs/nfs/sysctl.o CC fs/nfs/nfs2super.o CC fs/nfs/proc.o CC fs/nfs/nfs2xdr.o CC fs/nfs/nfs3super.o CC fs/nfs/nfs3client.o CC fs/nfs/nfs3proc.o LD fs/ext4/ext4.o CC fs/nfs/nfs3xdr.o CC fs/nfs/nfs4proc.o LD fs/ext4/built-in.o CC fs/nfs/nfs4state.o CC fs/nfs/nfs4xdr.o CC fs/nfs/nfs4super.o CC fs/nfs/nfs4renewd.o CC fs/nfs/nfs4file.o CC fs/nfs/delegation.o CC fs/nfs/callback.o CC fs/nfs/nfs4idmap.o CC fs/nfs/callback_xdr.o CC fs/nfs/callback_proc.o CC fs/nfs/nfs4namespace.o CC fs/nfs/nfs4getroot.o CC fs/nfs/nfs4client.o CC fs/nfs/nfs4session.o CC fs/nfs/dns_resolve.o CC fs/nfs/nfs4trace.o CC fs/nfs/nfs4sysctl.o LD net/sunrpc/auth_gss/auth_rpcgss.o LD net/sunrpc/auth_gss/built-in.o LD net/sunrpc/built-in.o LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o LD net/ipv4/built-in.o LD drivers/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 fs/nfs/nfsv2.o LD fs/nfs/nfsv3.o LD fs/nfs/nfs.o LD net/core/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/ashiftrt.S SHIPPED arch/sh/boot/compressed/ashldi3.c 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/ashiftrt.o CC arch/sh/boot/compressed/ashldi3.o AS arch/sh/boot/compressed/ashrsi3.o AS arch/sh/boot/compressed/lshrsi3.o AS arch/sh/boot/compressed/ashlsi3.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:38.069172