# git rev-parse -q --verify 84ede50b623fb45c4c026c80d0abf8cc5193f041^{commit} 84ede50b623fb45c4c026c80d0abf8cc5193f041 already have revision, skipping fetch # git checkout -q -f -B kisskb 84ede50b623fb45c4c026c80d0abf8cc5193f041 # git clean -qxdf # git log -1 commit 84ede50b623fb45c4c026c80d0abf8cc5193f041 Author: Stephen Rothwell Date: Sat Dec 24 14:49:32 2016 +1100 Add linux-next specific files for 20161224 Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 84ede50b623fb45c4c026c80d0abf8cc5193f041 # < make -j 10 ARCH=sh O=/home/kisskb/slave/build/linux-next_microdev_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- microdev_defconfig # make -j 10 ARCH=sh O=/home/kisskb/slave/build/linux-next_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/linux-next_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/current.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.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/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/msgbuf.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/statfs.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/termbits.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 WRAP arch/sh/include/generated/asm/termios.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s UPD include/config/kernel.release GEN scripts/mod/devicetable-offsets.h Using /home/kisskb/slave/src as source for kernel MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h 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/mm/alignment.o CC arch/sh/kernel/dma-nommu.o GEN usr/initramfs_data.cpio".gz" AS usr/initramfs_data.o LD usr/built-in.o CC arch/sh/mm/cache.o LD arch/sh/boards/built-in.o CC arch/sh/kernel/dumpstack.o CC arch/sh/boards/mach-microdev/setup.o CC arch/sh/kernel/idle.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/mm/init.o LD certs/built-in.o CC arch/sh/mm/consistent.o CC arch/sh/kernel/io.o CC kernel/fork.o CC mm/filemap.o CC mm/mempool.o LD arch/sh/boards/mach-microdev/built-in.o CC mm/oom_kill.o CC fs/open.o CC fs/read_write.o LD init/mounts.o LD init/built-in.o CC arch/sh/mm/mmap.o CC arch/sh/kernel/irq.o CC mm/maccess.o CC mm/page_alloc.o CC arch/sh/mm/cache-sh4.o CC mm/page-writeback.o CC fs/file_table.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/kdebugfs.o LD ipc/built-in.o CC security/keys/gc.o CC arch/sh/mm/flush-sh4.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/process.o CC security/keys/key.o CC arch/sh/mm/extable_32.o CC kernel/exec_domain.o CC arch/sh/mm/fault.o CC security/keys/keyring.o CC fs/super.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace.o CC kernel/panic.o CC crypto/api.o CC kernel/cpu.o CC arch/sh/mm/gup.o CC arch/sh/mm/ioremap.o CC arch/sh/kernel/ptrace_32.o CC security/keys/keyctl.o CC arch/sh/kernel/reboot.o CC arch/sh/mm/kmap.o CC kernel/exit.o CC kernel/softirq.o CC crypto/cipher.o CC fs/char_dev.o CC fs/stat.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/setup.o CC arch/sh/mm/pgtable.o CC arch/sh/mm/tlbex_32.o CC crypto/compress.o CC mm/readahead.o CC security/keys/permission.o CC security/keys/process_keys.o CC arch/sh/mm/tlbflush_32.o CC fs/exec.o CC arch/sh/kernel/signal_32.o CC fs/pipe.o CC arch/sh/kernel/sys_sh.o CC crypto/memneq.o CC crypto/crypto_wq.o CC arch/sh/mm/tlb-sh4.o CC mm/swap.o CC arch/sh/mm/tlb-urb.o CC security/keys/request_key.o CC kernel/resource.o CC kernel/sysctl.o AS arch/sh/kernel/syscalls_32.o CC crypto/algapi.o CC arch/sh/mm/hugetlbpage.o CC arch/sh/kernel/time.o CC block/bio.o CC security/keys/request_key_auth.o CC mm/truncate.o CC arch/sh/mm/uncached.o CC arch/sh/kernel/topology.o CC fs/namei.o CC arch/sh/kernel/traps.o CC mm/vmscan.o CC security/keys/user_defined.o LD arch/sh/mm/built-in.o CC fs/fcntl.o CC kernel/sysctl_binary.o CC crypto/scatterwalk.o CC arch/sh/kernel/traps_32.o CC crypto/proc.o CC security/keys/proc.o CC crypto/aead.o CC mm/shmem.o CC kernel/capability.o CC block/elevator.o CC block/blk-core.o CC security/keys/sysctl.o CC arch/sh/kernel/unwinder.o CC crypto/ablkcipher.o LD security/keys/built-in.o CC security/commoncap.o CC mm/util.o CC kernel/ptrace.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/ioport.o CC crypto/blkcipher.o CC crypto/skcipher.o CC fs/ioctl.o CC arch/sh/kernel/sys_sh32.o CC security/min_addr.o LD drivers/amba/built-in.o LD drivers/auxdisplay/built-in.o CC drivers/base/component.o CC kernel/user.o LD security/built-in.o CC kernel/signal.o CC kernel/sys.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/kernel/cpu/sh4/probe.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.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 AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC fs/readdir.o CC drivers/base/core.o CC block/blk-tag.o LD arch/sh/kernel/cpu/irq/built-in.o CC drivers/block/brd.o CC arch/sh/kernel/cpu/sh4/fpu.o CC crypto/echainiv.o CC crypto/ahash.o CC mm/mmzone.o CC fs/select.o CC mm/vmstat.o CC block/blk-sysfs.o CC arch/sh/kernel/cpu/sh4/softfloat.o LD drivers/block/built-in.o CC arch/sh/kernel/cpu/sh4/setup-sh4-202.o CC arch/sh/kernel/cpu/sh4/clock-sh4.o CC crypto/shash.o CC crypto/akcipher.o CC crypto/kpp.o CC crypto/acompress.o CC mm/backing-dev.o CC arch/sh/kernel/cpu/sh4/clock-sh4-202.o CC drivers/base/bus.o CC block/blk-flush.o CC block/blk-settings.o CC kernel/kmod.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/workqueue.o CC kernel/pid.o LD arch/sh/kernel/cpu/sh4/common.o CC fs/dcache.o LD arch/sh/kernel/cpu/sh4/built-in.o CC arch/sh/kernel/cpu/clock-cpg.o CC crypto/scompress.o CC mm/mm_init.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/init.o CC mm/mmu_context.o CC drivers/base/dd.o CC kernel/task_work.o CC kernel/extable.o CC block/blk-ioc.o CC mm/percpu.o CC crypto/algboss.o CC arch/sh/kernel/cpu/clock.o CC mm/slab_common.o CC arch/sh/kernel/cpu/fpu.o CC mm/compaction.o CC mm/vmacache.o CC drivers/base/syscore.o CC block/blk-map.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/proc.o CC kernel/params.o CC crypto/testmgr.o CC crypto/hmac.o CC block/blk-exec.o LD arch/sh/kernel/cpu/built-in.o CC drivers/base/driver.o CC arch/sh/kernel/vsyscall/vsyscall.o CC arch/sh/kernel/perf_event.o CC fs/inode.o CC fs/attr.o LDS arch/sh/kernel/vsyscall/vsyscall.lds AS arch/sh/kernel/vsyscall/vsyscall-trapa.o CC mm/interval_tree.o CC drivers/base/class.o AS arch/sh/kernel/vsyscall/vsyscall-note.o CC drivers/base/platform.o CC crypto/crypto_null.o CC block/blk-merge.o CC kernel/kthread.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so SYSCALL arch/sh/kernel/vsyscall/vsyscall-syms.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o LD arch/sh/kernel/vsyscall/built-in.o CC arch/sh/kernel/perf_callchain.o CC mm/list_lru.o CC mm/workingset.o CC fs/bad_inode.o CC crypto/sha256_generic.o CC drivers/base/cpu.o CC arch/sh/kernel/hw_breakpoint.o CC drivers/base/firmware.o CC drivers/base/init.o CC kernel/sys_ni.o CC kernel/nsproxy.o LD sound/built-in.o CC crypto/ecb.o CC mm/debug.o CC mm/gup.o AS arch/sh/kernel/head_32.o LDS arch/sh/kernel/vmlinux.lds LD arch/sh/kernel/built-in.o CC mm/highmem.o LD firmware/built-in.o CC mm/memory.o CC drivers/base/map.o CC block/blk-softirq.o CC drivers/base/devres.o CC drivers/base/attribute_container.o CC fs/file.o CC kernel/notifier.o CC crypto/aes_generic.o CC arch/sh/drivers/dma/dma-sh.o CC arch/sh/drivers/dma/dma-api.o CC block/blk-timeout.o CC block/blk-lib.o CC block/blk-mq.o CC kernel/ksysfs.o CC drivers/base/transport_class.o LD drivers/bus/built-in.o CC net/socket.o CC kernel/cred.o CC arch/sh/drivers/dma/dma-sysfs.o CC drivers/base/topology.o CC drivers/base/container.o CC fs/filesystems.o LD arch/sh/drivers/dma/built-in.o CC fs/namespace.o CC arch/sh/drivers/superhyway/ops-sh4-202.o CC crypto/crc32c_generic.o CC drivers/base/property.o CC kernel/reboot.o LD arch/sh/drivers/superhyway/built-in.o CC arch/sh/drivers/heartbeat.o CC kernel/async.o CC kernel/range.o CC crypto/rng.o CC mm/mincore.o CC crypto/drbg.o CC crypto/jitterentropy.o LD arch/sh/drivers/built-in.o CC block/blk-mq-tag.o CC mm/mlock.o CC kernel/smpboot.o CC kernel/ucount.o CC drivers/base/cacheinfo.o CC drivers/base/power/clock_ops.o LD net/802/built-in.o CC net/core/sock.o CC net/core/request_sock.o CC net/core/skbuff.o LD drivers/base/power/built-in.o CC net/core/datagram.o CC kernel/groups.o CC crypto/jitterentropy-kcapi.o LD drivers/base/test/built-in.o CC drivers/base/dma-mapping.o CC block/blk-stat.o CC mm/mmap.o CC net/dns_resolver/dns_key.o LD crypto/crypto.o LD crypto/crypto_algapi.o LD crypto/crypto_blkcipher.o LD crypto/crypto_hash.o LD crypto/crypto_acompress.o LD crypto/cryptomgr.o LD crypto/jitterentropy_rng.o LD crypto/built-in.o CC drivers/base/dma-coherent.o AS arch/sh/lib/movmem.o CC arch/sh/lib/ashldi3.o CC kernel/bpf/core.o CC fs/seq_file.o CC block/blk-mq-sysfs.o CC arch/sh/lib/ashrdi3.o CC arch/sh/lib/lshrdi3.o CC net/dns_resolver/dns_query.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 drivers/base/firmware_class.o AS arch/sh/lib/ashlsi3.o CC net/core/stream.o AS arch/sh/lib/ashrsi3.o AS arch/sh/lib/ashiftrt.o AS arch/sh/lib/lshrsi3.o AS arch/sh/lib/udiv_qrnnd.o LD net/dns_resolver/dns_resolver.o CC arch/sh/lib/io.o LD net/dns_resolver/built-in.o CC net/ethernet/eth.o CC block/blk-mq-cpumap.o CC fs/xattr.o AS arch/sh/lib/__clear_user.o AS arch/sh/lib/checksum.o AS arch/sh/lib/copy_page.o CC arch/sh/lib/delay.o LD drivers/base/built-in.o CC drivers/cdrom/cdrom.o CC mm/mprotect.o CC fs/libfs.o CC block/ioctl.o CC arch/sh/lib/div64-generic.o AS arch/sh/lib/div64.o AS arch/sh/lib/memchr.o AS arch/sh/lib/memcpy-sh4.o AS arch/sh/lib/memmove.o AS arch/sh/lib/memset-sh4.o AS arch/sh/lib/strlen.o AS arch/sh/lib/udivsi3.o AS arch/sh/lib/udivsi3_i4i.o AR arch/sh/lib/lib.a EXPORTS arch/sh/lib/lib-ksyms.o LD arch/sh/lib/built-in.o CC mm/mremap.o CC mm/msync.o LD kernel/bpf/built-in.o CC kernel/events/core.o LD net/ethernet/built-in.o CC kernel/events/ring_buffer.o LD kernel/livepatch/built-in.o CC kernel/irq/irqdesc.o CC kernel/irq/handle.o CC block/genhd.o CC block/scsi_ioctl.o CC mm/rmap.o CC fs/fs-writeback.o CC mm/vmalloc.o CC net/core/scm.o CC net/core/gen_stats.o CC kernel/irq/manage.o LD drivers/cdrom/built-in.o CC drivers/char/mem.o CC drivers/char/random.o CC drivers/char/misc.o CC net/core/gen_estimator.o CC block/partition-generic.o CC kernel/irq/spurious.o CC fs/pnode.o CC net/core/net_namespace.o CC net/ipv4/route.o CC net/ipv4/inetpeer.o CC kernel/irq/resend.o CC mm/pagewalk.o CC fs/splice.o CC fs/sync.o LD drivers/char/agp/built-in.o CC drivers/char/hw_random/core.o CC kernel/irq/chip.o CC block/ioprio.o CC fs/utimes.o CC mm/pgtable-generic.o CC net/core/secure_seq.o LD drivers/char/hw_random/rng-core.o LD drivers/char/hw_random/built-in.o LD drivers/char/built-in.o LD drivers/char/ipmi/built-in.o CC drivers/clk/clk-devres.o CC drivers/clocksource/sh_tmu.o CC mm/process_vm_access.o CC block/badblocks.o CC kernel/irq/dummychip.o CC drivers/clk/clkdev.o LD drivers/clk/bcm/built-in.o CC mm/init-mm.o CC fs/stack.o CC net/core/flow_dissector.o LD drivers/clocksource/built-in.o CC net/core/sysctl_net_core.o CC kernel/irq/devres.o CC kernel/locking/mutex.o CC mm/bootmem.o LD drivers/clk/mvebu/built-in.o CC fs/fs_struct.o LD drivers/clk/ti/built-in.o LD drivers/clk/built-in.o LD drivers/crypto/built-in.o LD drivers/firewire/built-in.o LD drivers/firmware/broadcom/built-in.o CC block/partitions/check.o LD drivers/firmware/meson/built-in.o LD drivers/firmware/tegra/built-in.o LD drivers/firmware/built-in.o LD drivers/gpu/drm/bridge/built-in.o LD drivers/gpu/drm/hisilicon/built-in.o LD drivers/gpu/drm/i2c/built-in.o LD drivers/gpu/drm/omapdrm/displays/built-in.o CC kernel/irq/irqdomain.o LD drivers/gpu/drm/omapdrm/dss/built-in.o LD drivers/gpu/drm/omapdrm/built-in.o LD drivers/gpu/drm/panel/built-in.o LD drivers/gpu/drm/tilcdc/built-in.o LD drivers/gpu/drm/built-in.o LD drivers/gpu/vga/built-in.o LD drivers/gpu/built-in.o CC drivers/hid/hid-core.o CC net/ipv4/protocol.o /home/kisskb/slave/src/mm/bootmem.c: In function 'mark_bootmem': /home/kisskb/slave/src/mm/bootmem.c:385:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/statfs.o CC block/partitions/msdos.o CC kernel/locking/semaphore.o CC kernel/locking/rwsem.o CC mm/fadvise.o CC kernel/irq/proc.o CC net/ipv4/ip_input.o CC fs/fs_pin.o CC fs/nsfs.o CC kernel/events/callchain.o CC kernel/locking/percpu-rwsem.o CC net/core/dev.o LD kernel/irq/built-in.o CC net/core/ethtool.o CC mm/madvise.o CC block/partitions/efi.o CC mm/memblock.o CC kernel/locking/rtmutex.o CC fs/buffer.o CC kernel/events/hw_breakpoint.o CC drivers/hid/hid-input.o CC net/ipv4/ip_fragment.o /home/kisskb/slave/src/net/core/ethtool.c: In function 'ethtool_get_feature_mask': /home/kisskb/slave/src/net/core/ethtool.c:311:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC net/ipv4/ip_forward.o CC kernel/locking/rwsem-spinlock.o LD kernel/events/built-in.o CC block/noop-iosched.o LD block/partitions/built-in.o CC net/ipv4/ip_options.o CC mm/page_io.o LD kernel/locking/built-in.o CC kernel/power/qos.o CC block/deadline-iosched.o CC block/cfq-iosched.o CC net/ipv4/ip_output.o CC mm/swap_state.o LD kernel/power/built-in.o CC kernel/printk/printk.o /home/kisskb/slave/src/block/cfq-iosched.c: In function 'cfq_async_queue_prio': /home/kisskb/slave/src/block/cfq-iosched.c:3828:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC kernel/printk/nmi.o CC net/core/dev_addr_lists.o CC net/ipv4/ip_sockglue.o CC mm/swapfile.o CC lib/lockref.o CC lib/bcd.o CC lib/div64.o CC fs/block_dev.o CC lib/sort.o CC lib/parser.o CC fs/direct-io.o CC drivers/hid/hid-generic.o CC drivers/hid/hid-a4tech.o LD kernel/printk/built-in.o CC kernel/rcu/update.o CC lib/halfmd4.o CC lib/debug_locks.o CC kernel/rcu/sync.o CC lib/random32.o CC net/ipv4/inet_hashtables.o CC net/core/dst.o LD block/built-in.o CC net/core/netevent.o CC drivers/hid/hid-apple.o CC drivers/hid/hid-belkin.o CC mm/dmapool.o CC lib/bust_spinlocks.o CC kernel/rcu/srcu.o CC drivers/hid/hid-cherry.o CC lib/kasprintf.o CC net/core/neighbour.o CC drivers/hid/hid-chicony.o CC kernel/rcu/tree.o CC drivers/hid/hid-cypress.o CC fs/mpage.o CC mm/hugetlb.o CC lib/bitmap.o CC lib/scatterlist.o CC lib/gcd.o CC lib/lcm.o CC lib/list_sort.o CC net/ipv4/inet_timewait_sock.o CC drivers/hid/hid-ezkey.o CC drivers/hid/hid-kensington.o CC fs/proc_namespace.o CC lib/uuid.o CC lib/flex_array.o CC drivers/hid/hid-lg.o CC drivers/hid/hid-microsoft.o CC drivers/hid/hid-monterey.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 net/ipv4/inet_connection_sock.o CC net/ipv6/addrconf_core.o CC net/netlink/af_netlink.o CC lib/iov_iter.o CC lib/clz_ctz.o CC fs/devpts/inode.o CC lib/bsearch.o CC net/netlink/genetlink.o LD drivers/hid/hid.o LD drivers/hid/hid-logitech.o LD drivers/hid/built-in.o CC drivers/hwmon/hwmon.o CC net/ipv6/exthdrs_core.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o CC fs/exportfs/expfs.o CC mm/slab.o LD kernel/rcu/built-in.o CC kernel/sched/core.o /home/kisskb/slave/src/net/core/neighbour.c: In function 'neigh_sysctl_register': /home/kisskb/slave/src/net/core/neighbour.c:3180:2: warning: 'p_name' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(neigh_path, sizeof(neigh_path), "net/%s/neigh/%s", ^ LD drivers/hwmon/built-in.o LD drivers/hwtracing/intel_th/built-in.o LD drivers/i2c/algos/built-in.o LD drivers/i2c/busses/built-in.o CC net/core/rtnetlink.o LD drivers/i2c/muxes/built-in.o LD drivers/i2c/built-in.o CC drivers/ide/ide.o LD fs/exportfs/exportfs.o LD fs/exportfs/built-in.o CC net/ipv4/tcp.o CC fs/ext2/balloc.o CC net/ipv6/ip6_checksum.o CC net/ipv6/ip6_icmp.o /home/kisskb/slave/src/kernel/sched/core.c: In function 'pick_next_task': /home/kisskb/slave/src/kernel/sched/core.c:3293:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC lib/find_bit.o CC drivers/ide/ide-ioctls.o CC lib/llist.o CC lib/memweight.o CC lib/kfifo.o CC net/ipv6/output_core.o CC fs/ext2/dir.o CC net/ipv4/tcp_input.o LD net/netlink/built-in.o CC net/ipv4/tcp_output.o CC drivers/ide/ide-io.o CC mm/migrate.o CC lib/percpu-refcount.o CC net/ipv6/protocol.o CC lib/percpu_ida.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 fs/ext2/file.o CC kernel/sched/loadavg.o CC lib/rhashtable.o CC net/ipv6/ip6_offload.o CC drivers/ide/ide-iops.o CC fs/ext2/ialloc.o CC net/core/utils.o CC kernel/sched/clock.o CC mm/quicklist.o CC kernel/sched/cputime.o LD mm/built-in.o CC lib/reciprocal_div.o LD virt/lib/built-in.o LD virt/built-in.o CC kernel/sched/idle_task.o CC kernel/sched/fair.o CC drivers/ide/ide-lib.o CC lib/once.o CC net/ipv6/tcpv6_offload.o CC fs/ext2/inode.o CC net/core/link_watch.o CC fs/ext2/ioctl.o CC fs/ext2/namei.o CC lib/string_helpers.o CC drivers/ide/ide-probe.o CC fs/ext2/super.o CC net/ipv4/tcp_timer.o CC net/ipv6/exthdrs_offload.o CC kernel/sched/rt.o CC fs/ext2/symlink.o CC net/core/filter.o CC lib/hexdump.o CC net/core/sock_diag.o CC lib/kstrtox.o LD net/ipv6/built-in.o CC fs/fat/cache.o CC fs/ext4/balloc.o CC drivers/ide/ide-taskfile.o CC kernel/sched/deadline.o LD fs/ext2/ext2.o LD fs/ext2/built-in.o CC kernel/sched/stop_task.o CC kernel/sched/wait.o CC lib/iomap_copy.o CC lib/devres.o CC fs/fat/dir.o CC drivers/ide/ide-pm.o CC net/sched/sch_generic.o CC fs/hugetlbfs/inode.o CC fs/jbd2/transaction.o CC lib/hweight.o CC lib/assoc_array.o CC net/ipv4/tcp_ipv4.o CC kernel/sched/swait.o CC drivers/ide/ide-park.o CC fs/ext4/bitmap.o CC kernel/sched/completion.o CC net/core/dev_ioctl.o CC fs/ext4/dir.o CC drivers/ide/ide-sysfs.o CC net/sched/sch_mq.o CC kernel/sched/idle.o CC lib/bitrev.o CC fs/fat/fatent.o LD fs/hugetlbfs/hugetlbfs.o LD fs/hugetlbfs/built-in.o CC fs/fat/file.o CC lib/crc16.o CC drivers/ide/ide-devsets.o CC net/core/tso.o CC fs/ext4/file.o HOSTCC lib/gen_crc32table CC fs/jbd2/commit.o LD net/sched/built-in.o CC lib/lz4/lz4_decompress.o CC fs/kernfs/mount.o LD kernel/sched/built-in.o CC kernel/time/time.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC kernel/time/timer.o CC fs/fat/inode.o CC drivers/ide/ide-io-std.o CC net/core/sock_reuseport.o CC net/ipv4/tcp_minisocks.o LD lib/lz4/built-in.o CC lib/lzo/lzo1x_decompress_safe.o CC fs/kernfs/inode.o CC fs/ext4/fsync.o LD lib/lzo/lzo_decompress.o LD lib/lzo/built-in.o CC lib/xz/xz_dec_syms.o CC drivers/ide/ide-eh.o CC fs/ext4/ialloc.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/jbd2/recovery.o CC lib/xz/xz_dec_stream.o CC lib/xz/xz_dec_lzma2.o CC fs/kernfs/dir.o CC net/core/flow.o CC kernel/time/hrtimer.o CC net/ipv4/tcp_cong.o CC fs/kernfs/file.o CC drivers/ide/ide-atapi.o CC fs/fat/misc.o CC lib/xz/xz_dec_bcj.o CC fs/jbd2/checkpoint.o CC net/core/net-sysfs.o CC kernel/time/timekeeping.o CC net/ipv4/tcp_metrics.o CC kernel/time/ntp.o CC fs/fat/nfs.o LD lib/xz/xz_dec.o LD lib/xz/built-in.o CC lib/zlib_inflate/inffast.o CC drivers/ide/ide-proc.o CC fs/ext4/inode.o CC fs/kernfs/symlink.o CC lib/zlib_inflate/inflate.o CC fs/jbd2/revoke.o CC fs/fat/namei_vfat.o LD fs/kernfs/built-in.o CC net/core/net-procfs.o CC lib/syscall.o CC lib/zlib_inflate/infutil.o CC lib/nlattr.o CC drivers/ide/ide-gd.o In file included from /home/kisskb/slave/src/fs/ext4/inode.c:42: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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ LD fs/fat/fat.o CC net/ipv4/tcp_fastopen.o CC fs/lockd/clntlock.o CC fs/jbd2/journal.o CC lib/zlib_inflate/inftrees.o LD net/core/built-in.o CC net/ipv4/tcp_rate.o CC lib/zlib_inflate/inflate_syms.o LD fs/fat/vfat.o LD fs/fat/built-in.o CC fs/ext4/page-io.o CC fs/ext4/ioctl.o CC kernel/time/clocksource.o LD lib/zlib_inflate/zlib_inflate.o CC drivers/ide/ide-disk.o LD lib/zlib_inflate/built-in.o CC lib/atomic64.o /home/kisskb/slave/src/fs/ext4/inode.c: In function 'ext4_map_blocks': /home/kisskb/slave/src/fs/ext4/inode.c:574:5: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { ^ CC lib/dynamic_queue_limits.o CC net/sunrpc/clnt.o CC fs/lockd/clntproc.o CC lib/strncpy_from_user.o CC net/ipv4/tcp_recovery.o CC lib/strnlen_user.o CC kernel/time/jiffies.o CC net/ipv4/tcp_offload.o CC net/ipv4/datagram.o CC lib/net_utils.o CC drivers/ide/ide-disk_ioctl.o CC kernel/time/timer_list.o GEN lib/oid_registry_data.c CC lib/sbitmap.o CC drivers/ide/ide-disk_proc.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC net/ipv4/raw.o CC fs/nfs/client.o CC fs/nfs/dir.o CC fs/lockd/clntxdr.o CC fs/lockd/host.o CC kernel/time/timeconv.o CC lib/argv_split.o CC drivers/ide/ide-cd.o CC net/sunrpc/xprt.o CC kernel/time/timecounter.o CC lib/bug.o CC fs/ext4/namei.o CC kernel/time/alarmtimer.o CC lib/chacha20.o CC fs/nfs/file.o CC net/ipv4/udp.o CC fs/lockd/svc.o CC lib/cmdline.o CC kernel/time/posix-timers.o CC lib/ctype.o CC lib/dec_and_lock.o CC lib/decompress.o CC fs/ext4/super.o CC lib/decompress_bunzip2.o CC drivers/ide/ide-cd_ioctl.o CC net/sunrpc/socklib.o CC lib/decompress_inflate.o CC net/sunrpc/xprtsock.o CC fs/nfs/getroot.o CC fs/lockd/svclock.o CC kernel/time/posix-cpu-timers.o CC lib/decompress_unlz4.o CC drivers/ide/ide-cd_verbose.o CC fs/ext4/symlink.o CC lib/decompress_unlzma.o CC fs/nfs/inode.o CC lib/decompress_unlzo.o CC net/ipv4/udplite.o CC fs/nfs/super.o LD drivers/ide/ide-core.o LD drivers/ide/ide-gd_mod.o LD drivers/ide/ide-cd_mod.o LD drivers/ide/built-in.o LD drivers/idle/built-in.o CC drivers/input/input.o CC drivers/input/input-compat.o CC kernel/time/posix-clock.o CC fs/lockd/svcshare.o CC lib/decompress_unxz.o CC net/ipv4/udp_offload.o CC net/sunrpc/sched.o CC kernel/time/itimer.o CC lib/dma-noop.o CC lib/dump_stack.o CC drivers/input/input-mt.o CC fs/lockd/svcproc.o CC lib/earlycpio.o CC kernel/time/clockevents.o CC lib/extable.o CC lib/flex_proportions.o CC net/ipv4/arp.o CC lib/idr.o CC net/ipv4/icmp.o CC fs/ext4/hash.o CC fs/nfs/io.o CC net/sunrpc/auth.o CC drivers/input/ff-core.o CC kernel/time/tick-common.o CC drivers/input/mousedev.o CC lib/int_sqrt.o CC fs/lockd/svcsubs.o CC lib/ioremap.o CC lib/irq_regs.o CC fs/ext4/resize.o CC fs/ext4/extents.o CC kernel/time/sched_clock.o CC lib/is_single_threaded.o CC fs/nfs/direct.o CC drivers/input/keyboard/atkbd.o CC lib/klist.o CC net/ipv4/devinet.o LD kernel/time/built-in.o CC kernel/futex.o CC lib/kobject.o CC net/sunrpc/auth_null.o CC fs/lockd/mon.o CC kernel/up.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/lockd/xdr.o CC lib/kobject_uevent.o LD drivers/input/keyboard/built-in.o CC drivers/input/mouse/psmouse-base.o CC net/sunrpc/auth_unix.o CC fs/nfs/pagelist.o CC fs/nfs/read.o CC fs/nfs/symlink.o CC fs/lockd/clnt4xdr.o CC net/sunrpc/auth_generic.o CC lib/md5.o CC kernel/uid16.o CC lib/nmi_backtrace.o CC net/ipv4/af_inet.o CC drivers/input/mouse/synaptics.o CC drivers/input/mouse/focaltech.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 lib/nodemask.o CC net/sunrpc/svc.o CC net/sunrpc/svcsock.o CC kernel/kallsyms.o CC fs/lockd/xdr4.o CC fs/nfs/unlink.o CC fs/lockd/svc4proc.o CC lib/plist.o CC lib/radix-tree.o CC fs/ext4/ext4_jbd2.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:53: /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 kernel/acct.o CC drivers/input/mouse/alps.o /home/kisskb/slave/src/net/sunrpc/svcsock.c: In function 'svc_setup_socket': /home/kisskb/slave/src/net/sunrpc/svcsock.c:747: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:714:18: note: 'optname' was declared here int err, level, optname, one = 1; ^ /home/kisskb/slave/src/net/sunrpc/svcsock.c:747: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:714:11: note: 'level' was declared here int err, level, optname, one = 1; ^ CC drivers/input/mouse/byd.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/nfs/write.o CC net/ipv4/igmp.o CC fs/lockd/procfs.o CC fs/ext4/migrate.o CC fs/ext4/mballoc.o CC net/sunrpc/svcauth.o CC lib/ratelimit.o CC kernel/utsname.o CC lib/rbtree.o CC lib/seq_buf.o LD fs/lockd/lockd.o LD fs/lockd/built-in.o CC fs/ext4/block_validity.o CC net/sunrpc/svcauth_unix.o CC kernel/pid_namespace.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC kernel/utsname_sysctl.o CC lib/sha1.o CC lib/show_mem.o LD net/wireless/built-in.o CC kernel/elfcore.o CC net/xfrm/xfrm_policy.o CC net/xfrm/xfrm_state.o CC lib/string.o CC net/ipv4/fib_frontend.o CC net/ipv4/fib_semantics.o CC kernel/irq_work.o CC drivers/input/mouse/logips2pp.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 lib/timerqueue.o CC fs/nfs/namespace.o CC net/sunrpc/addr.o CC kernel/membarrier.o CC lib/vsprintf.o CC drivers/input/mouse/trackpoint.o CC kernel/memremap.o CC net/sunrpc/rpcb_clnt.o CC drivers/input/mouse/cypress_ps2.o CC fs/nfs/mount_clnt.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/nfs/nfstrace.o LD kernel/built-in.o CC fs/nfs/nfsroot.o CC net/ipv4/fib_trie.o LD drivers/input/mouse/psmouse.o LD drivers/input/mouse/built-in.o CC net/ipv4/inet_fragment.o LD drivers/input/input-core.o LD drivers/input/built-in.o CC drivers/input/serio/serio.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/sunrpc/timer.o CC lib/win_minmax.o CC net/sunrpc/xdr.o CC fs/ext4/move_extent.o LD drivers/iommu/built-in.o CC net/ipv4/ping.o GEN lib/crc32table.h CC lib/oid_registry.o CC fs/nfs/sysctl.o CC drivers/input/serio/serport.o AR lib/lib.a 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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC lib/crc32.o CC drivers/input/serio/libps2.o CC fs/ext4/mmp.o CC net/xfrm/xfrm_hash.o CC net/sunrpc/sunrpc_syms.o CC net/xfrm/xfrm_input.o CC net/sunrpc/cache.o CC net/sunrpc/rpc_pipe.o CC fs/nfs/nfs2super.o EXPORTS lib/lib-ksyms.o CC fs/nfs/proc.o LD lib/built-in.o CC fs/nfs/nfs2xdr.o /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_err': /home/kisskb/slave/src/net/ipv4/ping.c:556:37: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] harderr = icmp_err_convert[code].fatal; ^ /home/kisskb/slave/src/net/ipv4/ping.c:529:3: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (type) { ^ /home/kisskb/slave/src/net/ipv4/ping.c:510:48: warning: 'icmph' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ping_supported(family, icmph->type, icmph->code)) ^ /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_common_sendmsg': /home/kisskb/slave/src/net/ipv4/ping.c:474:37: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:5: note: 'type' was declared here u8 type, code; ^ /home/kisskb/slave/src/net/ipv4/ping.c:473:63: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] return (family == AF_INET && type == ICMP_ECHO && code == 0) || ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:11: note: 'code' was declared here u8 type, code; ^ LD drivers/input/serio/built-in.o LD drivers/irqchip/built-in.o LD drivers/lguest/built-in.o LD drivers/macintosh/built-in.o LD drivers/media/common/b2c2/built-in.o LD drivers/media/common/saa7146/built-in.o LD drivers/media/common/siano/built-in.o LD drivers/media/common/v4l2-tpg/built-in.o LD drivers/media/common/built-in.o LD drivers/media/firewire/built-in.o CC fs/ext4/indirect.o CC net/ipv4/ip_tunnel_core.o LD drivers/media/i2c/soc_camera/built-in.o LD drivers/media/i2c/built-in.o LD drivers/media/mmc/siano/built-in.o LD drivers/media/mmc/built-in.o LD drivers/media/pci/b2c2/built-in.o LD drivers/media/pci/ddbridge/built-in.o LD drivers/media/pci/dm1105/built-in.o LD drivers/media/pci/mantis/built-in.o LD drivers/media/pci/netup_unidvb/built-in.o LD drivers/media/pci/ngene/built-in.o LD drivers/media/pci/pluto2/built-in.o LD drivers/media/pci/pt1/built-in.o CC net/ipv4/gre_offload.o LD drivers/media/pci/pt3/built-in.o LD drivers/media/pci/saa7146/built-in.o LD drivers/media/pci/smipcie/built-in.o LD drivers/media/pci/ttpci/built-in.o LD drivers/media/pci/built-in.o LD drivers/media/platform/omap/built-in.o LD drivers/media/platform/built-in.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/rc/built-in.o LD drivers/media/spi/built-in.o LD drivers/media/tuners/built-in.o LD drivers/media/usb/b2c2/built-in.o LD drivers/media/usb/dvb-usb/built-in.o LD drivers/media/usb/dvb-usb-v2/built-in.o LD drivers/media/usb/s2255/built-in.o LD drivers/media/usb/siano/built-in.o LD drivers/media/usb/stkwebcam/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o LD drivers/media/usb/ttusb-dec/built-in.o LD drivers/media/usb/zr364xx/built-in.o LD drivers/media/usb/built-in.o LD drivers/media/built-in.o CC net/xfrm/xfrm_output.o LD drivers/mfd/built-in.o LD drivers/misc/cb710/built-in.o LD drivers/misc/eeprom/built-in.o LD drivers/misc/lis3lv02d/built-in.o LD drivers/misc/mic/bus/built-in.o LD drivers/misc/mic/built-in.o LD drivers/misc/ti-st/built-in.o LD drivers/misc/built-in.o LD drivers/mmc/built-in.o CC net/ipv4/sysctl_net_ipv4.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC drivers/net/mii.o CC drivers/net/Space.o CC fs/nfs/nfs3super.o CC fs/nfs/nfs3client.o CC fs/nfs/nfs3proc.o CC net/sunrpc/svc_xprt.o CC fs/nfs/nfs3xdr.o CC fs/ext4/extents_status.o CC net/xfrm/xfrm_sysctl.o CC net/xfrm/xfrm_replay.o CC drivers/net/loopback.o CC net/ipv4/proc.o CC fs/nfs/nfs4proc.o CC fs/nfs/nfs4xdr.o CC fs/nfs/nfs4state.o LD drivers/net/ethernet/8390/built-in.o LD drivers/net/ethernet/amazon/built-in.o LD drivers/net/ethernet/alacritech/built-in.o LD drivers/net/ethernet/arc/built-in.o LD drivers/net/ethernet/broadcom/built-in.o CC net/ipv4/xfrm4_mode_beet.o LD drivers/net/ethernet/cadence/built-in.o LD drivers/net/ethernet/ezchip/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/ethernet/intel/built-in.o LD drivers/net/ethernet/marvell/built-in.o LD drivers/net/ethernet/micrel/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/netronome/built-in.o LD drivers/net/ethernet/qualcomm/emac/built-in.o LD drivers/net/ethernet/qualcomm/built-in.o CC fs/ext4/xattr.o LD drivers/net/ethernet/renesas/built-in.o LD drivers/net/ethernet/rocker/built-in.o LD drivers/net/ethernet/samsung/built-in.o LD drivers/net/ethernet/seeq/built-in.o CC drivers/net/ethernet/smsc/smc91x.o LD net/xfrm/built-in.o CC net/ipv4/xfrm4_mode_transport.o LD drivers/net/ethernet/stmicro/built-in.o CC net/ipv4/xfrm4_mode_tunnel.o CC net/sunrpc/xprtmultipath.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:455:0: warning: "SMC_inl" redefined #define SMC_inl(ioaddr, reg) ({ BUG(); 0; }) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:136: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:456:0: warning: "SMC_outl" redefined #define SMC_outl(x, ioaddr, reg) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:139: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:457:0: warning: "SMC_insl" redefined #define SMC_insl(a, r, p, l) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:140: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:458:0: warning: "SMC_outsl" redefined #define SMC_outsl(a, r, p, l) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:141: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:31: note: in expansion of macro 'SMC_outw' #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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:985: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, 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:135: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:1007: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:135: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:1007: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, 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(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, 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(lp, addr[2] | (addr[3] << 8), ioaddr, ADDR1_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, 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(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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:138:36: note: in definition of macro 'SMC_outw' #define SMC_outw(lp, 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:979: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:31: note: in expansion of macro 'SMC_outw' #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, 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:135: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:933: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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:1092:15: note: in expansion of macro 'SMC_inw' (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:429:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, status, packet_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135: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:1093: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:135: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:1007: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:135: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:1007: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, 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:135: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:1007: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:135: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:1007: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1143: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:142: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:1151: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:135: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:1007: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:135: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:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:497:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, 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:135: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, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:920:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1080:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1081:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:143: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:143: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:1113: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:143: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:1116: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, 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(lp, ((len & 1) ? (0x2000 | buf[len - 1]) : 0), ioaddr, ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:620: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:135: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:955: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:627:2: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_TX_INT | IM_TX_EMPTY_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:627: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:675:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ALLOC | numPages); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135: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:937: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:683: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:135: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: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:685:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:685: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:135: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:955: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:697: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:697: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:135: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, TXFIFO_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:723: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:135: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:911: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:730: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:920:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:731: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:734: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:135: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:1092: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:735: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:135: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:1093: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:735: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:135: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:1007: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:756: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:135: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:1007: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:756: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:757: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:135: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:1007: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:760: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:135: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:1007: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:760: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:920:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:761: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:764: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:765: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:766: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:135: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:989: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:778: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:787: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:789: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:135: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:989: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:800: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:801: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:135: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:989: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:804: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:807: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:809: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:825: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:135: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:138:36: note: in definition of macro 'SMC_outw' #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:837: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:989: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:837: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:837: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:842: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:855: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:135: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:138:36: note: in definition of macro 'SMC_outw' #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:864: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:989: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:864: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:864: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:869: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:942: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1038:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, RPC_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:943: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:944: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1028: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1029: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1078: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1038:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, RPC_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1079: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1136: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1177: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:135: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:1023: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:1178: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1179: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1201: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:135: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:985: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:1202: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, 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 & ~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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1204: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1205: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:135: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:1013: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:1229: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:135: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:955: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:1230: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1231: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:135: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:937: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:1237: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259: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:1239: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:135: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: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:4259: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:1239: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259: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:1239: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:135: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:1011:26: 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:4259: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:1239: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:135: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: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:1254: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1254:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_TX_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1269: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:135: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: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:1270: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1271: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259: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:1280: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:135: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:1023: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:4259: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:1280: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259: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:1280: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:135: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: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:1284: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1284: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:135: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: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:1290: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1290: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:135: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: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:1293: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1293: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1299: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1300: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:135: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:937: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:1345: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:135: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:955: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:1346: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:135: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:1011:26: 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:1347: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1348: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:135: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:1023: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:1349: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:135: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: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:1350: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1351: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1457: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1458: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1460:3: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1068:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1069:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1070:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1071:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1463: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1643: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:998:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, GP_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1644: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1646: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1647: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1649: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:135: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:985: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:1650: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1651: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:135: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:985: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:1655: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1657: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1658: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1671: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1672: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1674: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:998:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, GP_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1675: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:135: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:985: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:1676: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1677: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:135: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:985: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:1681: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:135: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:991: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:1683: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1685: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1686:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_findirq': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, 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:135: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:937: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (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:135: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:965: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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:965: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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:1029: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:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, 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:135: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:1049: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:135: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:1051: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:135: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:1053: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 net/sunrpc/stats.o CC net/sunrpc/sysctl.o CC net/sunrpc/auth_gss/auth_gss.o CC net/ipv4/ipconfig.o LD drivers/net/ethernet/synopsys/built-in.o CC net/ipv4/inet_diag.o CC net/ipv4/tcp_diag.o CC fs/ext4/xattr_user.o CC net/ipv4/tcp_cubic.o CC net/sysctl_net.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/via/built-in.o LD drivers/net/ethernet/wiznet/built-in.o LD drivers/net/ethernet/built-in.o LD drivers/net/wireless/admtek/built-in.o LD drivers/net/wireless/ath/built-in.o LD drivers/net/wireless/atmel/built-in.o LD drivers/net/wireless/broadcom/built-in.o LD drivers/net/wireless/cisco/built-in.o LD drivers/net/wireless/intel/built-in.o LD drivers/net/wireless/intersil/built-in.o LD drivers/net/wireless/marvell/built-in.o LD drivers/net/wireless/mediatek/built-in.o LD drivers/net/wireless/ralink/built-in.o LD drivers/net/wireless/realtek/built-in.o LD drivers/net/wireless/rsi/built-in.o LD drivers/net/wireless/st/built-in.o LD drivers/net/wireless/ti/built-in.o LD drivers/net/wireless/zydas/built-in.o LD drivers/net/wireless/built-in.o LD drivers/net/built-in.o CC fs/ext4/xattr_trusted.o LD drivers/nfc/built-in.o LD drivers/nvme/host/built-in.o LD drivers/nvme/target/built-in.o LD drivers/nvme/built-in.o LD drivers/perf/built-in.o LD drivers/platform/built-in.o LD drivers/power/built-in.o LD drivers/ptp/built-in.o LD drivers/pwm/built-in.o CC drivers/rtc/rtc-lib.o CC net/sunrpc/auth_gss/gss_generic_token.o CC net/sunrpc/auth_gss/gss_mech_switch.o CC net/sunrpc/auth_gss/svcauth_gss.o CC net/ipv4/xfrm4_policy.o CC net/ipv4/xfrm4_state.o CC net/ipv4/xfrm4_input.o CC fs/ext4/inline.o LD drivers/rtc/built-in.o CC drivers/sh/clk/core.o LD drivers/soc/bcm/built-in.o LD drivers/soc/fsl/built-in.o LD drivers/soc/built-in.o CC net/ipv4/xfrm4_output.o CC fs/ext4/readpage.o CC fs/nfs/nfs4renewd.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:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/nfs/nfs4super.o CC drivers/sh/clk/cpg.o CC fs/nfs/nfs4file.o CC fs/nfs/delegation.o CC fs/nfs/nfs4idmap.o CC net/ipv4/xfrm4_protocol.o CC drivers/sh/intc/access.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 fs/nfs_common/grace.o LD drivers/sh/clk/built-in.o CC drivers/sh/intc/chip.o CC net/sunrpc/auth_gss/gss_rpc_upcall.o CC drivers/sh/intc/core.o LD net/sunrpc/sunrpc.o CC fs/nls/nls_base.o CC fs/notify/fsnotify.o LD net/ipv4/built-in.o LD fs/nfs_common/built-in.o CC fs/notify/notification.o CC fs/notify/group.o CC fs/ext4/sysfs.o CC drivers/sh/superhyway/superhyway.o LD fs/nls/built-in.o CC drivers/sh/intc/handle.o CC drivers/sh/intc/irqdomain.o CC drivers/sh/intc/virq.o CC drivers/sh/superhyway/superhyway-sysfs.o CC fs/notify/inode_mark.o CC fs/notify/mark.o CC fs/nfs/callback.o CC net/sunrpc/auth_gss/gss_rpc_xdr.o CC fs/notify/vfsmount_mark.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); \ ^ LD drivers/sh/superhyway/built-in.o CC drivers/sh/pm_runtime.o CC fs/notify/fdinfo.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o CC fs/notify/dnotify/dnotify.o CC fs/proc/task_mmu.o LD drivers/sh/intc/built-in.o LD fs/notify/fanotify/built-in.o LD fs/quota/built-in.o CC drivers/tty/tty_io.o LD drivers/sh/built-in.o CC fs/notify/inotify/inotify_fsnotify.o LD drivers/video/backlight/built-in.o CC drivers/video/console/dummycon.o CC fs/notify/inotify/inotify_user.o CC fs/proc/inode.o CC fs/proc/root.o LD fs/notify/dnotify/built-in.o CC fs/ramfs/inode.o CC fs/ramfs/file-mmu.o LD drivers/video/console/built-in.o CC fs/nfs/callback_xdr.o LD drivers/video/fbdev/core/built-in.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o LD drivers/video/fbdev/omap2/omapfb/built-in.o LD drivers/video/fbdev/omap2/built-in.o LD drivers/video/fbdev/built-in.o LD drivers/video/built-in.o CC drivers/tty/n_tty.o CC drivers/tty/tty_ioctl.o CC drivers/tty/tty_ldisc.o CC drivers/tty/tty_buffer.o LD net/sunrpc/auth_gss/auth_rpcgss.o LD net/sunrpc/auth_gss/built-in.o LD net/sunrpc/built-in.o LD net/built-in.o CC drivers/tty/tty_port.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC drivers/tty/tty_mutex.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC drivers/tty/tty_ldsem.o CC fs/proc/base.o CC fs/sysfs/file.o CC fs/eventpoll.o CC drivers/tty/pty.o CC fs/anon_inodes.o CC fs/signalfd.o CC fs/nfs/callback_proc.o CC fs/nfs/nfs4namespace.o CC fs/sysfs/dir.o CC fs/proc/generic.o CC fs/proc/array.o CC fs/sysfs/symlink.o CC fs/nfs/nfs4getroot.o CC fs/nfs/nfs4client.o LD drivers/tty/ipwireless/built-in.o CC drivers/tty/serial/serial_core.o CC drivers/tty/vt/vt_ioctl.o CC drivers/tty/serial/sh-sci.o CC fs/proc/fd.o CC fs/sysfs/mount.o CC fs/sysfs/group.o CC fs/proc/proc_tty.o CC fs/nfs/nfs4session.o CC drivers/tty/vt/vc_screen.o CC fs/timerfd.o LD fs/sysfs/built-in.o CC fs/eventfd.o CC fs/nfs/dns_resolve.o CC fs/proc/cmdline.o CC fs/proc/consoles.o CC fs/aio.o CC drivers/tty/vt/selection.o CC drivers/tty/vt/keyboard.o CC fs/proc/cpuinfo.o CC fs/nfs/nfs4trace.o CC fs/proc/devices.o CC drivers/tty/vt/consolemap.o CONMK drivers/tty/vt/consolemap_deftbl.c CC drivers/tty/vt/vt.o SHIPPED drivers/tty/vt/defkeymap.c CC fs/nfs/nfs4sysctl.o CC fs/proc/interrupts.o LD fs/nfs/nfs.o CC drivers/tty/vt/consolemap_deftbl.o LD drivers/tty/serial/built-in.o CC drivers/tty/vt/defkeymap.o CC fs/locks.o CC fs/binfmt_script.o CC fs/binfmt_elf.o CC fs/proc/loadavg.o CC fs/proc/meminfo.o CC fs/mbcache.o CC fs/coredump.o LD fs/nfs/nfsv2.o LD fs/nfs/nfsv3.o LD fs/nfs/nfsv4.o LD fs/nfs/built-in.o CC fs/proc/stat.o CC fs/proc/uptime.o CC fs/proc/version.o CC fs/proc/softirqs.o CC fs/proc/namespaces.o CC fs/proc/self.o CC fs/proc/thread_self.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC fs/proc/kcore.o CC fs/proc/kmsg.o CC fs/proc/page.o CC fs/drop_caches.o CC fs/fhandle.o LD fs/proc/proc.o LD fs/proc/built-in.o LD fs/built-in.o LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o LD drivers/built-in.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD vmlinux.o MODPOST vmlinux.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/lshrsi3.S SHIPPED arch/sh/boot/compressed/ashlsi3.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/ashlsi3.o AS arch/sh/boot/compressed/lshrsi3.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/linux-next_microdev_defconfig_sh4' Completed OK # rm -rf /home/kisskb/slave/build/linux-next_microdev_defconfig_sh4 # Build took: 0:01:12.813750