# git rev-parse -q --verify eb254f323bd50ab7e3cc385f2fc641a595cc8b37^{commit} eb254f323bd50ab7e3cc385f2fc641a595cc8b37 already have revision, skipping fetch # git checkout -q -f -B kisskb eb254f323bd50ab7e3cc385f2fc641a595cc8b37 # git clean -qxdf # git log -1 commit eb254f323bd50ab7e3cc385f2fc641a595cc8b37 Merge: f79f7b1 76ae054 Author: Linus Torvalds Date: Thu Dec 22 09:25:45 2016 -0800 Merge branch 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 cache allocation interface from Thomas Gleixner: "This provides support for Intel's Cache Allocation Technology, a cache partitioning mechanism. The interface is odd, but the hardware interface of that CAT stuff is odd as well. We tried hard to come up with an abstraction, but that only allows rather simple partitioning, but no way of sharing and dealing with the per package nature of this mechanism. In the end we decided to expose the allocation bitmaps directly so all combinations of the hardware can be utilized. There are two ways of associating a cache partition: - Task A task can be added to a resource group. It uses the cache partition associated to the group. - CPU All tasks which are not member of a resource group use the group to which the CPU they are running on is associated with. That allows for simple CPU based partitioning schemes. The main expected user sare: - Virtualization so a VM can only trash only the associated part of the cash w/o disturbing others - Real-Time systems to seperate RT and general workloads. - Latency sensitive enterprise workloads - In theory this also can be used to protect against cache side channel attacks" [ Intel RDT is "Resource Director Technology". The interface really is rather odd and very specific, which delayed this pull request while I was thinking about it. The pull request itself came in early during the merge window, I just delayed it until things had calmed down and I had more time. But people tell me they'll use this, and the good news is that it is _so_ specific that it's rather independent of anything else, and no user is going to depend on the interface since it's pretty rare. So if push comes to shove, we can just remove the interface and nothing will break ] * 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (31 commits) x86/intel_rdt: Implement show_options() for resctrlfs x86/intel_rdt: Call intel_rdt_sched_in() with preemption disabled x86/intel_rdt: Update task closid immediately on CPU in rmdir and unmount x86/intel_rdt: Fix setting of closid when adding CPUs to a group x86/intel_rdt: Update percpu closid immeditately on CPUs affected by changee x86/intel_rdt: Reset per cpu closids on unmount x86/intel_rdt: Select KERNFS when enabling INTEL_RDT_A x86/intel_rdt: Prevent deadlock against hotplug lock x86/intel_rdt: Protect info directory from removal x86/intel_rdt: Add info files to Documentation x86/intel_rdt: Export the minimum number of set mask bits in sysfs x86/intel_rdt: Propagate error in rdt_mount() properly x86/intel_rdt: Add a missing #include MAINTAINERS: Add maintainer for Intel RDT resource allocation x86/intel_rdt: Add scheduler hook x86/intel_rdt: Add schemata file x86/intel_rdt: Add tasks files x86/intel_rdt: Add cpus file x86/intel_rdt: Add mkdir to resctrl file system x86/intel_rdt: Add "info" files to resctrl file system ... # < /opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 eb254f323bd50ab7e3cc385f2fc641a595cc8b37 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_microdev_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- microdev_defconfig # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_microdev_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_microdev_defconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/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/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h UPD include/config/kernel.release HOSTCC scripts/conmakehash HOSTCC scripts/kallsyms CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost Using /home/kisskb/slave/src as source for kernel 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 :1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/init_task.o UPD include/generated/compile.h CC init/version.o HOSTCC usr/gen_init_cpio AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/io.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/process.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/signal_32.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/time.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/ioport.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/hw_breakpoint.o AS arch/sh/kernel/head_32.o CC arch/sh/kernel/traps_32.o LDS arch/sh/kernel/vmlinux.lds AS arch/sh/kernel/vsyscall/vsyscall-note.o CC arch/sh/kernel/vsyscall/vsyscall.o LDS arch/sh/kernel/vsyscall/vsyscall.lds AS arch/sh/kernel/vsyscall/vsyscall-trapa.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/irq/imask.o LD arch/sh/boards/built-in.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o CC arch/sh/kernel/cpu/sh4/fpu.o CC arch/sh/kernel/cpu/sh4/probe.o CC arch/sh/kernel/cpu/sh4/softfloat.o AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC arch/sh/mm/alignment.o CC arch/sh/mm/cache.o CC arch/sh/kernel/cpu/sh4/setup-sh4-202.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 GEN usr/initramfs_data.cpio".gz" CC arch/sh/kernel/cpu/sh4/clock-sh4.o CC arch/sh/kernel/cpu/sh4/clock-sh4-202.o LD arch/sh/kernel/cpu/sh4/common.o CC arch/sh/mm/init.o CC arch/sh/boards/mach-microdev/setup.o CC arch/sh/mm/consistent.o CC arch/sh/mm/mmap.o CC arch/sh/boards/mach-microdev/irq.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/boards/mach-microdev/io.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so CC arch/sh/mm/cache-sh4.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-syms.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o CC arch/sh/mm/fault.o CC arch/sh/mm/gup.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/flush-sh4.o CC arch/sh/boards/mach-microdev/fdc37c93xapm.o CC arch/sh/mm/ioremap.o LD arch/sh/kernel/cpu/irq/built-in.o CC arch/sh/mm/kmap.o AS usr/initramfs_data.o CC arch/sh/mm/pgtable.o CC arch/sh/mm/tlbex_32.o LD arch/sh/kernel/vsyscall/built-in.o CC arch/sh/mm/tlbflush_32.o CC arch/sh/mm/tlb-sh4.o LD usr/built-in.o CC arch/sh/mm/uncached.o CC arch/sh/mm/hugetlbpage.o CC arch/sh/mm/tlb-urb.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); ^ LD certs/built-in.o CC mm/mempool.o CC mm/filemap.o CC mm/truncate.o CC mm/swap.o CC mm/maccess.o CC mm/page_alloc.o CC mm/page-writeback.o CC mm/vmstat.o CC mm/readahead.o CC mm/oom_kill.o CC mm/shmem.o CC mm/vmscan.o CC mm/util.o CC mm/mmzone.o CC mm/backing-dev.o CC mm/interval_tree.o CC mm/mm_init.o CC mm/vmacache.o CC mm/slab_common.o CC mm/mmu_context.o CC mm/debug.o CC mm/list_lru.o CC mm/compaction.o CC mm/percpu.o CC mm/workingset.o LD init/mounts.o CC mm/gup.o LD init/built-in.o CC mm/highmem.o CC mm/memory.o LD arch/sh/boards/mach-microdev/built-in.o CC mm/mincore.o CC mm/mlock.o CC mm/mmap.o CC mm/mprotect.o CC mm/mremap.o CC mm/rmap.o CC mm/msync.o CC mm/vmalloc.o CC mm/pagewalk.o CC mm/pgtable-generic.o LD ipc/built-in.o LD arch/sh/kernel/cpu/sh4/built-in.o CC mm/process_vm_access.o CC mm/init-mm.o CC mm/bootmem.o CC mm/fadvise.o LD arch/sh/kernel/cpu/built-in.o LD arch/sh/mm/built-in.o CC mm/madvise.o CC mm/memblock.o LD arch/sh/kernel/built-in.o CC mm/page_io.o CC kernel/fork.o CC mm/swap_state.o CC mm/swapfile.o CC mm/dmapool.o CC mm/hugetlb.o CC mm/slab.o CC security/keys/gc.o CC mm/migrate.o CC mm/quicklist.o CC security/keys/key.o CC security/commoncap.o CC security/keys/keyring.o CC security/min_addr.o CC security/keys/keyctl.o CC kernel/exec_domain.o CC security/keys/permission.o CC kernel/panic.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/open.o CC fs/read_write.o CC kernel/cpu.o CC fs/file_table.o CC kernel/exit.o CC crypto/api.o CC crypto/cipher.o CC kernel/softirq.o CC crypto/compress.o CC kernel/resource.o CC fs/super.o CC crypto/memneq.o CC fs/char_dev.o CC crypto/crypto_wq.o CC crypto/algapi.o CC fs/stat.o CC security/keys/process_keys.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; ^ CC fs/exec.o CC crypto/scatterwalk.o /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 crypto/proc.o CC security/keys/request_key.o CC crypto/aead.o CC kernel/sysctl.o CC crypto/ablkcipher.o CC kernel/sysctl_binary.o CC kernel/capability.o CC security/keys/request_key_auth.o CC kernel/ptrace.o CC crypto/blkcipher.o CC fs/pipe.o CC crypto/skcipher.o CC kernel/user.o CC fs/namei.o CC crypto/echainiv.o CC crypto/ahash.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 security/keys/user_defined.o CC crypto/shash.o CC security/keys/proc.o CC security/keys/sysctl.o CC kernel/signal.o CC kernel/sys.o CC crypto/akcipher.o CC crypto/kpp.o CC crypto/acompress.o CC kernel/kmod.o CC crypto/scompress.o CC fs/fcntl.o CC fs/ioctl.o CC kernel/workqueue.o CC fs/readdir.o CC kernel/pid.o CC crypto/algboss.o CC fs/select.o CC kernel/task_work.o CC fs/dcache.o CC kernel/extable.o CC kernel/params.o CC crypto/testmgr.o CC kernel/kthread.o CC kernel/sys_ni.o CC crypto/hmac.o CC kernel/nsproxy.o CC crypto/crypto_null.o CC kernel/notifier.o CC crypto/sha256_generic.o CC crypto/ecb.o LD security/keys/built-in.o LD security/built-in.o CC crypto/aes_generic.o CC fs/inode.o CC crypto/crc32c_generic.o CC crypto/rng.o CC crypto/drbg.o CC crypto/jitterentropy.o CC crypto/jitterentropy-kcapi.o CC kernel/ksysfs.o LD crypto/crypto.o LD crypto/crypto_algapi.o CC kernel/cred.o CC kernel/reboot.o CC kernel/range.o CC kernel/async.o CC fs/attr.o CC fs/bad_inode.o CC fs/file.o CC kernel/smpboot.o CC fs/filesystems.o LD crypto/crypto_acompress.o LD crypto/crypto_hash.o CC block/bio.o LD crypto/crypto_blkcipher.o CC kernel/ucount.o CC block/elevator.o CC fs/namespace.o CC fs/seq_file.o CC kernel/groups.o CC kernel/bpf/core.o CC fs/xattr.o LD crypto/cryptomgr.o CC fs/libfs.o CC fs/fs-writeback.o LD kernel/livepatch/built-in.o CC fs/pnode.o CC kernel/events/core.o CC kernel/events/ring_buffer.o CC kernel/power/qos.o CC kernel/printk/printk.o CC kernel/irq/irqdesc.o CC kernel/locking/mutex.o CC kernel/rcu/update.o CC fs/splice.o CC kernel/futex.o CC fs/sync.o CC kernel/sched/core.o LD crypto/jitterentropy_rng.o CC fs/utimes.o CC kernel/events/callchain.o CC kernel/up.o CC kernel/uid16.o CC kernel/events/hw_breakpoint.o LD sound/built-in.o CC kernel/kallsyms.o CC kernel/time/timer.o CC kernel/time/time.o CC kernel/acct.o LD mm/built-in.o CC kernel/utsname.o CC kernel/pid_namespace.o CC kernel/utsname_sysctl.o LD firmware/built-in.o CC kernel/elfcore.o CC fs/stack.o CC kernel/rcu/sync.o CC kernel/rcu/srcu.o CC fs/fs_struct.o CC kernel/irq_work.o CC fs/statfs.o LD drivers/amba/built-in.o LD drivers/auxdisplay/built-in.o LD kernel/power/built-in.o CC kernel/membarrier.o CC drivers/base/component.o CC arch/sh/drivers/dma/dma-sh.o CC kernel/memremap.o CC kernel/irq/handle.o CC fs/fs_pin.o CC fs/nsfs.o CC arch/sh/drivers/dma/dma-api.o CC net/socket.o CC fs/buffer.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 fs/block_dev.o LD net/802/built-in.o CC kernel/rcu/tree.o CC fs/direct-io.o CC fs/mpage.o CC arch/sh/drivers/dma/dma-sysfs.o CC lib/lockref.o AS arch/sh/lib/movmem.o CC kernel/locking/semaphore.o CC block/blk-core.o CC kernel/locking/rwsem.o CC block/blk-sysfs.o CC kernel/locking/percpu-rwsem.o CC block/blk-tag.o CC fs/proc_namespace.o LD virt/lib/built-in.o CC drivers/base/core.o CC fs/devpts/inode.o LD crypto/built-in.o LD virt/built-in.o LD fs/exofs/built-in.o CC arch/sh/lib/ashldi3.o CC arch/sh/lib/ashrdi3.o CC arch/sh/lib/lshrdi3.o CC kernel/locking/rtmutex.o CC fs/exportfs/expfs.o CC lib/bcd.o CC block/blk-flush.o AS arch/sh/lib/ashlsi3.o CC lib/div64.o CC kernel/irq/manage.o CC fs/ext2/balloc.o CC net/core/sock.o AS arch/sh/lib/ashrsi3.o CC lib/sort.o CC fs/hugetlbfs/inode.o CC fs/fat/cache.o CC fs/fat/dir.o AS arch/sh/lib/ashiftrt.o CC lib/parser.o CC fs/jbd2/transaction.o AS arch/sh/lib/lshrsi3.o CC fs/ext4/balloc.o CC fs/kernfs/mount.o CC kernel/locking/rwsem-spinlock.o AS arch/sh/lib/udiv_qrnnd.o CC kernel/time/hrtimer.o CC kernel/time/timekeeping.o CC arch/sh/lib/io.o AS arch/sh/lib/__clear_user.o CC kernel/time/ntp.o AS arch/sh/lib/checksum.o AS arch/sh/lib/copy_page.o CC fs/ext4/bitmap.o CC arch/sh/lib/delay.o LD arch/sh/drivers/dma/built-in.o CC arch/sh/lib/div64-generic.o CC fs/lockd/clntlock.o AS arch/sh/lib/memchr.o AS arch/sh/lib/div64.o CC arch/sh/drivers/superhyway/ops-sh4-202.o AS arch/sh/lib/memcpy-sh4.o CC fs/nfs_common/grace.o AS arch/sh/lib/memset-sh4.o AS arch/sh/lib/memmove.o CC fs/nls/nls_base.o LD fs/exportfs/exportfs.o AS arch/sh/lib/strlen.o AS arch/sh/lib/udivsi3.o LD fs/exportfs/built-in.o AS arch/sh/lib/udivsi3_i4i.o CC kernel/irq/spurious.o CC kernel/time/clocksource.o LD fs/devpts/devpts.o CC lib/halfmd4.o LD fs/devpts/built-in.o CC lib/debug_locks.o CC lib/random32.o LD fs/quota/built-in.o AR arch/sh/lib/lib.a CC fs/notify/fsnotify.o CC fs/ramfs/inode.o LD kernel/bpf/built-in.o CC kernel/irq/resend.o CC kernel/irq/chip.o CC block/blk-settings.o CC block/blk-ioc.o CC fs/kernfs/inode.o CC fs/fat/fatent.o CC fs/kernfs/dir.o CC fs/sysfs/file.o EXPORTS arch/sh/lib/lib-ksyms.o CC lib/bust_spinlocks.o CC lib/kasprintf.o CC block/blk-map.o LD arch/sh/drivers/superhyway/built-in.o LD arch/sh/lib/built-in.o CC arch/sh/drivers/heartbeat.o CC fs/eventpoll.o LD kernel/locking/built-in.o CC lib/bitmap.o CC block/blk-exec.o CC lib/scatterlist.o CC fs/nfs/client.o CC fs/proc/task_mmu.o CC fs/ext4/dir.o CC lib/gcd.o CC lib/lcm.o CC fs/anon_inodes.o CC kernel/irq/dummychip.o LD fs/nls/built-in.o CC kernel/time/jiffies.o CC kernel/irq/devres.o CC fs/signalfd.o CC fs/ext2/dir.o CC fs/notify/notification.o LD fs/nfs_common/built-in.o CC lib/list_sort.o CC fs/ramfs/file-mmu.o CC fs/timerfd.o CC kernel/irq/irqdomain.o CC lib/uuid.o CC kernel/printk/nmi.o CC fs/sysfs/dir.o CC lib/flex_array.o LD arch/sh/drivers/built-in.o CC kernel/irq/proc.o CC kernel/sched/loadavg.o CC lib/iov_iter.o CC lib/clz_ctz.o LD kernel/printk/built-in.o CC block/blk-merge.o CC lib/bsearch.o CC fs/kernfs/file.o CC kernel/time/timer_list.o CC block/blk-softirq.o CC fs/lockd/clntproc.o CC fs/eventfd.o CC lib/find_bit.o CC fs/aio.o CC block/blk-timeout.o CC lib/llist.o CC kernel/time/timeconv.o CC fs/ext4/file.o CC fs/ext4/fsync.o LD fs/ramfs/ramfs.o CC fs/ext4/ialloc.o LD fs/ramfs/built-in.o CC fs/notify/group.o CC fs/notify/inode_mark.o CC net/dns_resolver/dns_key.o LD fs/hugetlbfs/hugetlbfs.o CC drivers/base/bus.o CC fs/locks.o CC fs/fat/file.o CC fs/binfmt_script.o CC lib/memweight.o LD fs/hugetlbfs/built-in.o CC lib/kfifo.o CC fs/binfmt_elf.o CC lib/percpu-refcount.o CC block/blk-lib.o CC lib/percpu_ida.o CC lib/rhashtable.o CC kernel/time/timecounter.o CC fs/fat/inode.o CC kernel/sched/clock.o CC fs/sysfs/symlink.o CC fs/jbd2/commit.o CC lib/reciprocal_div.o CC fs/kernfs/symlink.o CC kernel/time/alarmtimer.o LD kernel/irq/built-in.o CC kernel/time/posix-timers.o CC block/blk-mq.o CC kernel/time/posix-cpu-timers.o CC fs/mbcache.o CC lib/once.o CC fs/ext4/inode.o CC fs/coredump.o CC fs/notify/mark.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/posix-clock.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 block/blk-mq-tag.o CC kernel/sched/cputime.o CC fs/drop_caches.o CC fs/fhandle.o CC net/dns_resolver/dns_query.o CC fs/ext2/file.o CC lib/string_helpers.o LD kernel/rcu/built-in.o CC block/blk-stat.o CC lib/hexdump.o CC fs/notify/vfsmount_mark.o CC lib/kstrtox.o CC fs/proc/inode.o CC fs/sysfs/group.o CC fs/sysfs/mount.o CC fs/ext4/page-io.o CC lib/iomap_copy.o LD fs/kernfs/built-in.o CC lib/devres.o CC fs/ext4/ioctl.o CC lib/hweight.o CC kernel/time/itimer.o CC fs/ext4/namei.o CC kernel/time/clockevents.o CC fs/ext4/super.o CC lib/assoc_array.o CC fs/notify/fdinfo.o CC lib/bitrev.o CC lib/crc16.o CC drivers/base/dd.o CC fs/fat/misc.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 net/dns_resolver/dns_resolver.o HOSTCC lib/gen_crc32table LD fs/sysfs/built-in.o CC fs/ext2/ialloc.o CC drivers/base/syscore.o LD net/dns_resolver/built-in.o CC block/blk-mq-sysfs.o CC drivers/base/driver.o CC net/ethernet/eth.o CC fs/notify/dnotify/dnotify.o CC kernel/time/tick-common.o CC kernel/time/sched_clock.o CC lib/lz4/lz4_decompress.o LD fs/notify/fanotify/built-in.o CC lib/syscall.o CC lib/lzo/lzo1x_decompress_safe.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/lockd/clntxdr.o CC fs/notify/inotify/inotify_user.o CC fs/nfs/dir.o CC lib/xz/xz_dec_syms.o CC kernel/sched/idle_task.o CC block/blk-mq-cpumap.o CC block/ioctl.o CC lib/zlib_inflate/inffast.o CC fs/proc/root.o CC lib/zlib_inflate/inflate.o CC net/core/request_sock.o CC block/genhd.o CC lib/nlattr.o CC block/scsi_ioctl.o CC lib/atomic64.o CC block/partition-generic.o CC fs/fat/nfs.o CC block/ioprio.o CC fs/fat/namei_vfat.o CC drivers/base/class.o CC fs/jbd2/recovery.o LD fs/notify/dnotify/built-in.o CC fs/jbd2/checkpoint.o CC drivers/base/platform.o CC fs/ext4/symlink.o CC lib/dynamic_queue_limits.o CC lib/xz/xz_dec_stream.o CC lib/zlib_inflate/infutil.o CC lib/strncpy_from_user.o CC drivers/base/cpu.o CC fs/ext4/hash.o CC drivers/block/brd.o CC fs/ext4/resize.o CC lib/zlib_inflate/inftrees.o LD lib/lzo/lzo_decompress.o LD drivers/bus/built-in.o LD lib/lzo/built-in.o CC lib/strnlen_user.o LD lib/lz4/built-in.o CC kernel/sched/fair.o CC lib/net_utils.o GEN lib/oid_registry_data.c CC lib/sbitmap.o CC lib/argv_split.o CC drivers/cdrom/cdrom.o CC block/badblocks.o CC lib/bug.o LD kernel/time/built-in.o CC fs/proc/base.o CC fs/proc/generic.o CC lib/zlib_inflate/inflate_syms.o CC lib/chacha20.o CC fs/ext2/inode.o CC lib/cmdline.o CC fs/proc/array.o CC block/partitions/check.o CC fs/ext4/extents.o CC fs/ext4/ext4_jbd2.o CC fs/proc/fd.o LD fs/fat/fat.o CC fs/proc/proc_tty.o CC fs/ext4/migrate.o LD fs/notify/inotify/built-in.o CC lib/ctype.o CC lib/dec_and_lock.o LD fs/notify/built-in.o CC lib/decompress.o CC lib/decompress_bunzip2.o CC drivers/base/firmware.o CC block/noop-iosched.o CC lib/decompress_inflate.o CC lib/decompress_unlz4.o CC lib/xz/xz_dec_lzma2.o CC lib/xz/xz_dec_bcj.o CC block/deadline-iosched.o CC net/core/skbuff.o LD net/ethernet/built-in.o CC lib/decompress_unlzma.o CC fs/ext4/mballoc.o CC drivers/base/init.o CC block/cfq-iosched.o CC lib/decompress_unlzo.o CC fs/lockd/host.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/decompress_unxz.o CC lib/dma-noop.o CC drivers/char/mem.o CC fs/ext4/block_validity.o CC fs/jbd2/revoke.o CC drivers/base/map.o LD drivers/block/built-in.o CC fs/jbd2/journal.o CC drivers/base/devres.o CC drivers/char/random.o LD lib/zlib_inflate/zlib_inflate.o LD lib/zlib_inflate/built-in.o LD drivers/char/ipmi/built-in.o CC lib/dump_stack.o CC fs/proc/cmdline.o CC drivers/base/transport_class.o CC drivers/base/attribute_container.o CC fs/proc/consoles.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] } ^ 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 lib/earlycpio.o CC block/partitions/msdos.o CC drivers/clk/clk-devres.o CC lib/extable.o CC net/ipv4/route.o CC lib/flex_proportions.o CC lib/idr.o CC lib/int_sqrt.o CC fs/proc/cpuinfo.o CC fs/proc/devices.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 fs/ext4/move_extent.o CC lib/ioremap.o CC fs/ext4/mmp.o CC fs/proc/interrupts.o LD fs/fat/vfat.o CC lib/irq_regs.o CC drivers/base/topology.o CC kernel/sched/rt.o CC lib/is_single_threaded.o LD fs/fat/built-in.o CC lib/klist.o CC fs/proc/loadavg.o CC drivers/char/misc.o CC lib/kobject.o CC drivers/base/container.o LD drivers/char/agp/built-in.o CC lib/kobject_uevent.o CC lib/md5.o CC lib/nmi_backtrace.o CC fs/proc/meminfo.o CC drivers/char/hw_random/core.o CC fs/proc/stat.o CC drivers/clk/clkdev.o CC fs/ext4/indirect.o CC lib/nodemask.o CC fs/ext4/extents_status.o CC fs/proc/uptime.o LD lib/xz/xz_dec.o LD lib/xz/built-in.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 drivers/base/property.o CC lib/plist.o CC lib/ratelimit.o CC lib/rbtree.o CC lib/radix-tree.o CC fs/proc/version.o CC fs/proc/softirqs.o CC lib/seq_buf.o CC fs/ext2/ioctl.o CC fs/ext2/namei.o CC drivers/base/cacheinfo.o CC lib/sha1.o CC fs/proc/namespaces.o LD drivers/base/test/built-in.o CC drivers/base/power/clock_ops.o In file included from /home/kisskb/slave/src/fs/ext4/move_extent.c:19:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC drivers/base/dma-mapping.o CC lib/show_mem.o CC lib/string.o CC lib/timerqueue.o CC block/partitions/efi.o CC lib/vsprintf.o CC fs/proc/self.o LD drivers/clk/bcm/built-in.o CC lib/win_minmax.o CC fs/proc/thread_self.o LD kernel/events/built-in.o CC fs/proc/proc_sysctl.o CC fs/lockd/svc.o CC kernel/sched/deadline.o CC kernel/sched/stop_task.o LD drivers/clk/mvebu/built-in.o GEN lib/crc32table.h CC fs/proc/proc_net.o CC lib/oid_registry.o CC lib/crc32.o LD drivers/clk/ti/built-in.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 fs/ext4/xattr.o CC net/ipv4/inetpeer.o LD drivers/clk/built-in.o LD drivers/base/power/built-in.o CC fs/ext4/xattr_user.o CC drivers/base/dma-coherent.o CC fs/proc/kcore.o CC fs/ext2/super.o LD drivers/char/hw_random/rng-core.o CC fs/proc/kmsg.o CC fs/proc/page.o LD drivers/char/hw_random/built-in.o CC drivers/clocksource/sh_tmu.o LD drivers/char/built-in.o CC fs/ext4/xattr_trusted.o CC drivers/base/firmware_class.o CC net/ipv6/addrconf_core.o CC fs/ext2/symlink.o LD drivers/crypto/built-in.o CC fs/ext4/inline.o LD drivers/firewire/built-in.o LD drivers/cdrom/built-in.o CC fs/ext4/readpage.o LD drivers/firmware/broadcom/built-in.o LD drivers/gpu/vga/built-in.o LD drivers/firmware/meson/built-in.o CC fs/lockd/svclock.o CC net/ipv6/exthdrs_core.o CC fs/nfs/file.o CC fs/lockd/svcshare.o CC fs/ext4/sysfs.o CC fs/lockd/svcproc.o LD drivers/firmware/tegra/built-in.o CC drivers/hid/hid-core.o CC fs/lockd/svcsubs.o LD drivers/firmware/built-in.o CC net/ipv4/protocol.o CC drivers/hid/hid-input.o CC kernel/sched/wait.o CC kernel/sched/swait.o LD drivers/gpu/drm/hisilicon/built-in.o CC kernel/sched/completion.o LD drivers/gpu/drm/bridge/built-in.o LD drivers/gpu/drm/i2c/built-in.o CC drivers/hwmon/hwmon.o LD drivers/gpu/drm/tilcdc/built-in.o LD drivers/gpu/drm/panel/built-in.o LD drivers/gpu/drm/omapdrm/displays/built-in.o CC kernel/sched/idle.o LD drivers/gpu/drm/omapdrm/dss/built-in.o CC net/ipv6/ip6_checksum.o CC net/ipv6/ip6_icmp.o LD drivers/hwtracing/intel_th/built-in.o LD drivers/gpu/drm/omapdrm/built-in.o CC net/ipv6/output_core.o LD drivers/gpu/drm/built-in.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] } ^ LD drivers/gpu/built-in.o LD drivers/i2c/algos/built-in.o LD fs/jbd2/jbd2.o LD drivers/i2c/busses/built-in.o LD drivers/i2c/muxes/built-in.o LD fs/jbd2/built-in.o CC drivers/hid/hid-generic.o CC net/ipv4/ip_input.o LD drivers/i2c/built-in.o LD drivers/idle/built-in.o CC drivers/hid/hid-a4tech.o LD drivers/clocksource/built-in.o CC fs/lockd/mon.o LD drivers/iommu/built-in.o CC drivers/input/serio/serio.o LD drivers/irqchip/built-in.o LD drivers/lguest/built-in.o LD block/partitions/built-in.o CC drivers/input/input.o CC drivers/input/serio/serport.o CC drivers/input/serio/libps2.o CC drivers/ide/ide.o LD drivers/macintosh/built-in.o CC net/ipv6/protocol.o LD drivers/mfd/built-in.o CC net/ipv6/ip6_offload.o CC fs/lockd/xdr.o CC net/ipv6/tcpv6_offload.o LD drivers/mmc/built-in.o LD fs/proc/proc.o LD fs/proc/built-in.o CC fs/lockd/clnt4xdr.o LD drivers/base/built-in.o LD drivers/misc/eeprom/built-in.o LD drivers/misc/cb710/built-in.o LD drivers/misc/lis3lv02d/built-in.o LD drivers/nfc/built-in.o LD drivers/hwmon/built-in.o CC drivers/net/mii.o LD kernel/sched/built-in.o CC drivers/net/Space.o LD drivers/media/common/b2c2/built-in.o CC drivers/hid/hid-apple.o LD drivers/misc/ti-st/built-in.o LD kernel/built-in.o CC net/ipv4/ip_fragment.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; ^ LD drivers/perf/built-in.o LD drivers/misc/mic/bus/built-in.o CC drivers/hid/hid-belkin.o LD drivers/nvme/host/built-in.o LD drivers/nvme/target/built-in.o CC net/ipv4/ip_forward.o LD drivers/media/common/siano/built-in.o LD drivers/misc/mic/built-in.o LD drivers/media/common/saa7146/built-in.o LD drivers/platform/built-in.o CC net/ipv4/ip_options.o LD drivers/nvme/built-in.o LD drivers/media/firewire/built-in.o LD drivers/misc/built-in.o LD drivers/media/common/v4l2-tpg/built-in.o LD drivers/power/built-in.o LD drivers/ptp/built-in.o CC net/netlink/af_netlink.o CC fs/lockd/xdr4.o LD drivers/media/i2c/soc_camera/built-in.o LD fs/ext2/ext2.o LD drivers/media/common/built-in.o CC net/ipv6/exthdrs_offload.o LD fs/ext2/built-in.o CC fs/lockd/svc4proc.o LD drivers/pwm/built-in.o LD drivers/media/i2c/built-in.o LD drivers/media/mmc/siano/built-in.o CC drivers/rtc/rtc-lib.o CC fs/lockd/procfs.o LD drivers/media/mmc/built-in.o CC drivers/ide/ide-ioctls.o LD drivers/media/spi/built-in.o LD drivers/media/platform/omap/built-in.o LD drivers/soc/bcm/built-in.o CC drivers/sh/clk/core.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/tuners/built-in.o LD drivers/media/platform/built-in.o LD drivers/soc/fsl/built-in.o LD drivers/media/rc/built-in.o CC drivers/sh/clk/cpg.o CC net/ipv4/ip_output.o LD block/built-in.o CC fs/nfs/getroot.o CC net/ipv4/ip_sockglue.o CC drivers/tty/tty_io.o LD drivers/soc/built-in.o CC drivers/sh/superhyway/superhyway.o CC drivers/sh/intc/access.o CC net/ipv4/inet_hashtables.o CC drivers/sh/intc/chip.o CC net/ipv4/inet_timewait_sock.o CC drivers/net/loopback.o LD drivers/media/pci/b2c2/built-in.o LD drivers/media/pci/ddbridge/built-in.o LD drivers/video/backlight/built-in.o LD drivers/media/usb/b2c2/built-in.o CC net/ipv4/inet_connection_sock.o CC drivers/ide/ide-io.o LD drivers/media/pci/dm1105/built-in.o LD drivers/media/pci/mantis/built-in.o LD drivers/media/pci/ngene/built-in.o LD drivers/media/pci/netup_unidvb/built-in.o CC drivers/hid/hid-cherry.o LD drivers/media/usb/dvb-usb/built-in.o CC drivers/hid/hid-chicony.o CC drivers/video/console/dummycon.o LD drivers/media/pci/pluto2/built-in.o LD drivers/media/pci/pt3/built-in.o LD drivers/media/pci/pt1/built-in.o LD drivers/media/usb/s2255/built-in.o LD drivers/media/pci/saa7146/built-in.o LD drivers/media/usb/dvb-usb-v2/built-in.o CC drivers/hid/hid-cypress.o LD drivers/input/serio/built-in.o LD drivers/media/pci/smipcie/built-in.o LD drivers/media/pci/ttpci/built-in.o LD drivers/media/usb/stkwebcam/built-in.o CC drivers/hid/hid-ezkey.o LD drivers/media/usb/siano/built-in.o LD drivers/media/pci/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r8': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread8(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:28:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r16': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread16(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r32': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread32(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ CC drivers/hid/hid-kensington.o LD drivers/rtc/built-in.o LD drivers/media/usb/ttusb-dec/built-in.o CC drivers/hid/hid-lg.o LD drivers/media/usb/zr364xx/built-in.o CC drivers/hid/hid-microsoft.o CC drivers/ide/ide-iops.o LD drivers/media/usb/built-in.o LD drivers/video/fbdev/core/built-in.o CC drivers/ide/ide-lib.o CC drivers/ide/ide-probe.o LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o CC net/netlink/genetlink.o CC drivers/ide/ide-taskfile.o LD drivers/media/built-in.o CC drivers/ide/ide-pm.o CC drivers/sh/intc/core.o LD drivers/video/fbdev/omap2/omapfb/built-in.o CC drivers/sh/superhyway/superhyway-sysfs.o CC drivers/sh/intc/handle.o LD net/ipv6/built-in.o CC drivers/ide/ide-park.o AR lib/lib.a CC net/ipv4/tcp.o LD drivers/video/fbdev/omap2/built-in.o CC net/sched/sch_generic.o LD drivers/video/console/built-in.o LD drivers/video/fbdev/built-in.o EXPORTS lib/lib-ksyms.o CC net/ipv4/tcp_input.o CC net/sched/sch_mq.o CC drivers/hid/hid-monterey.o LD drivers/video/built-in.o LD lib/built-in.o CC net/ipv4/tcp_timer.o CC net/ipv4/tcp_output.o CC net/ipv4/tcp_ipv4.o LD drivers/sh/clk/built-in.o CC net/core/datagram.o CC drivers/sh/pm_runtime.o CC net/ipv4/tcp_minisocks.o LD net/wireless/built-in.o CC net/ipv4/tcp_cong.o CC drivers/sh/intc/irqdomain.o /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c: In function 'resource_show': /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c:33:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'resource_size_t {aka unsigned int}' [-Wformat=] superhyway_ro_attr(resource, "0x%08lx\n", resource[0].start); ^ /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c:21:22: note: in definition of macro 'superhyway_ro_attr' return sprintf(buf, fmt, s->field); \ ^ CC drivers/sh/intc/virq.o CC net/sysctl_net.o CC net/ipv4/tcp_metrics.o CC net/sunrpc/clnt.o CC net/sunrpc/xprt.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 net/xfrm/xfrm_policy.o LD drivers/sh/superhyway/built-in.o CC net/xfrm/xfrm_state.o LD fs/lockd/lockd.o CC drivers/input/input-compat.o LD fs/lockd/built-in.o CC drivers/input/input-mt.o LD drivers/net/ethernet/8390/built-in.o CC fs/nfs/inode.o CC fs/nfs/super.o CC drivers/ide/ide-sysfs.o LD drivers/net/ethernet/alacritech/built-in.o CC net/ipv4/tcp_fastopen.o CC net/core/stream.o CC net/ipv4/tcp_rate.o LD drivers/net/ethernet/amazon/built-in.o CC drivers/ide/ide-devsets.o CC net/ipv4/tcp_recovery.o LD drivers/net/ethernet/arc/built-in.o LD drivers/net/ethernet/broadcom/built-in.o LD drivers/net/ethernet/ezchip/built-in.o CC drivers/ide/ide-io-std.o LD drivers/net/ethernet/cadence/built-in.o LD drivers/net/ethernet/i825xx/built-in.o CC drivers/ide/ide-eh.o CC drivers/input/ff-core.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/wireless/admtek/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/netronome/built-in.o CC drivers/ide/ide-atapi.o CC drivers/tty/n_tty.o CC drivers/ide/ide-proc.o LD drivers/net/ethernet/qualcomm/emac/built-in.o LD drivers/net/ethernet/renesas/built-in.o LD drivers/net/ethernet/rocker/built-in.o LD drivers/net/wireless/ath/built-in.o CC drivers/ide/ide-gd.o LD drivers/hid/hid-logitech.o CC drivers/ide/ide-disk.o LD drivers/net/ethernet/qualcomm/built-in.o LD drivers/net/ethernet/seeq/built-in.o LD drivers/net/ethernet/samsung/built-in.o LD drivers/sh/intc/built-in.o LD drivers/net/wireless/atmel/built-in.o CC drivers/net/ethernet/smsc/smc91x.o LD drivers/net/ethernet/stmicro/built-in.o LD drivers/sh/built-in.o LD drivers/net/ethernet/synopsys/built-in.o CC net/ipv4/tcp_offload.o LD drivers/net/ethernet/via/built-in.o CC net/ipv4/datagram.o LD drivers/net/wireless/broadcom/built-in.o CC net/ipv4/raw.o LD drivers/net/ethernet/wiznet/built-in.o CC net/ipv4/udplite.o CC net/ipv4/udp.o LD fs/ext4/ext4.o LD drivers/net/wireless/intel/built-in.o LD drivers/net/wireless/cisco/built-in.o LD fs/ext4/built-in.o CC drivers/input/mousedev.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 CC drivers/ide/ide-disk_ioctl.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 CC drivers/ide/ide-disk_proc.o CC fs/nfs/io.o LD drivers/net/wireless/ti/built-in.o LD drivers/net/wireless/zydas/built-in.o CC drivers/ide/ide-cd.o CC net/ipv4/udp_offload.o LD drivers/net/wireless/built-in.o CC drivers/ide/ide-cd_ioctl.o CC drivers/input/keyboard/atkbd.o CC net/ipv4/arp.o CC net/ipv4/icmp.o CC net/ipv4/devinet.o CC drivers/ide/ide-cd_verbose.o CC net/ipv4/af_inet.o CC net/ipv4/igmp.o CC net/ipv4/fib_frontend.o CC net/ipv4/fib_semantics.o CC net/core/scm.o CC drivers/input/mouse/psmouse-base.o CC net/ipv4/fib_trie.o CC net/ipv4/inet_fragment.o LD net/sched/built-in.o In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h: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) ^ CC drivers/input/mouse/synaptics.o /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", ^ CC net/ipv4/ping.o In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file 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/core/gen_stats.o CC drivers/tty/tty_ioctl.o CC net/core/gen_estimator.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 drivers/tty/tty_ldisc.o CC net/core/net_namespace.o CC net/ipv4/ip_tunnel_core.o LD drivers/ide/ide-core.o CC net/ipv4/gre_offload.o LD net/netlink/built-in.o CC net/core/secure_seq.o CC net/ipv4/sysctl_net_ipv4.o CC net/ipv4/xfrm4_mode_beet.o CC net/ipv4/proc.o CC net/ipv4/xfrm4_mode_transport.o CC net/xfrm/xfrm_hash.o CC net/ipv4/xfrm4_mode_tunnel.o LD drivers/ide/ide-gd_mod.o CC net/ipv4/ipconfig.o LD drivers/input/input-core.o CC net/ipv4/inet_diag.o CC net/sunrpc/socklib.o CC fs/nfs/direct.o CC net/sunrpc/xprtsock.o CC net/ipv4/tcp_diag.o CC net/core/flow_dissector.o CC drivers/tty/tty_buffer.o CC fs/nfs/pagelist.o CC net/xfrm/xfrm_input.o CC net/core/sysctl_net_core.o CC net/core/dev.o CC net/ipv4/tcp_cubic.o CC net/ipv4/xfrm4_policy.o LD drivers/input/keyboard/built-in.o CC fs/nfs/read.o /home/kisskb/slave/src/net/xfrm/xfrm_policy.c: In function 'xfrm_bundle_lookup': /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1631:7: warning: 'dst_ops' may be used uninitialized in this function [-Wmaybe-uninitialized] xdst = dst_alloc(dst_ops, NULL, 0, DST_OBSOLETE_NONE, 0); ^ /home/kisskb/slave/src/net/xfrm/xfrm_policy.c:1613:18: note: 'dst_ops' was declared here struct dst_ops *dst_ops; ^ CC net/ipv4/xfrm4_state.o CC drivers/input/mouse/focaltech.o CC drivers/tty/tty_port.o CC net/ipv4/xfrm4_output.o CC drivers/tty/tty_mutex.o CC net/ipv4/xfrm4_input.o LD drivers/ide/ide-cd_mod.o CC net/ipv4/xfrm4_protocol.o LD drivers/ide/built-in.o CC fs/nfs/symlink.o /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_err': /home/kisskb/slave/src/net/ipv4/ping.c:556:37: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] harderr = icmp_err_convert[code].fatal; ^ /home/kisskb/slave/src/net/ipv4/ping.c:529:3: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (type) { ^ /home/kisskb/slave/src/net/ipv4/ping.c:510:48: warning: 'icmph' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ping_supported(family, icmph->type, icmph->code)) ^ CC fs/nfs/unlink.o CC net/core/ethtool.o CC fs/nfs/write.o /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_common_sendmsg': /home/kisskb/slave/src/net/ipv4/ping.c:474:37: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:5: note: 'type' was declared here u8 type, code; ^ /home/kisskb/slave/src/net/ipv4/ping.c:473:63: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] return (family == AF_INET && type == ICMP_ECHO && code == 0) || ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:11: note: 'code' was declared here u8 type, code; ^ CC net/core/dev_addr_lists.o CC net/core/dst.o CC fs/nfs/namespace.o CC fs/nfs/mount_clnt.o CC net/core/netevent.o CC net/xfrm/xfrm_output.o CC net/core/neighbour.o CC net/xfrm/xfrm_sysctl.o CC drivers/input/mouse/alps.o CC drivers/tty/tty_ldsem.o CC drivers/input/mouse/byd.o CC net/core/rtnetlink.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/built-in.o CC drivers/tty/pty.o CC net/sunrpc/sched.o CC drivers/input/mouse/logips2pp.o CC net/sunrpc/auth.o CC drivers/input/mouse/trackpoint.o LD drivers/hid/hid.o LD drivers/hid/built-in.o CC net/sunrpc/auth_null.o CC drivers/input/mouse/cypress_ps2.o CC net/sunrpc/auth_unix.o LD drivers/net/built-in.o CC net/core/utils.o CC net/sunrpc/auth_generic.o LD drivers/tty/ipwireless/built-in.o CC net/core/link_watch.o CC net/xfrm/xfrm_replay.o CC fs/nfs/nfstrace.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 fs/nfs/nfsroot.o CC drivers/tty/serial/serial_core.o CC fs/nfs/sysctl.o CC net/core/filter.o CC fs/nfs/nfs2super.o CC drivers/tty/vt/vt_ioctl.o CC drivers/tty/vt/vc_screen.o CC fs/nfs/proc.o CC fs/nfs/nfs2xdr.o CC drivers/tty/vt/selection.o CC fs/nfs/nfs3super.o CC drivers/tty/vt/keyboard.o CC net/sunrpc/svc.o CC fs/nfs/nfs3client.o CC drivers/tty/vt/consolemap.o CC fs/nfs/nfs3proc.o CC fs/nfs/nfs3xdr.o CONMK drivers/tty/vt/consolemap_deftbl.c CC drivers/tty/vt/vt.o CC net/core/sock_diag.o SHIPPED drivers/tty/vt/defkeymap.c CC fs/nfs/nfs4proc.o CC net/core/dev_ioctl.o CC drivers/tty/vt/consolemap_deftbl.o CC fs/nfs/nfs4xdr.o CC fs/nfs/nfs4state.o CC drivers/tty/vt/defkeymap.o CC fs/nfs/nfs4renewd.o CC net/core/tso.o CC fs/nfs/nfs4super.o CC net/core/sock_reuseport.o CC fs/nfs/nfs4file.o CC net/sunrpc/svcsock.o CC fs/nfs/delegation.o CC net/sunrpc/svcauth.o CC fs/nfs/nfs4idmap.o CC net/sunrpc/svcauth_unix.o CC fs/nfs/callback.o CC net/sunrpc/addr.o CC net/sunrpc/rpcb_clnt.o CC net/core/flow.o CC net/sunrpc/timer.o CC net/sunrpc/xdr.o CC fs/nfs/callback_xdr.o LD net/xfrm/built-in.o CC net/sunrpc/sunrpc_syms.o CC fs/nfs/callback_proc.o CC fs/nfs/nfs4namespace.o CC fs/nfs/nfs4getroot.o CC fs/nfs/nfs4client.o CC net/core/net-sysfs.o CC net/sunrpc/cache.o CC fs/nfs/nfs4session.o CC net/sunrpc/rpc_pipe.o CC net/core/net-procfs.o CC net/sunrpc/svc_xprt.o CC fs/nfs/dns_resolve.o CC fs/nfs/nfs4trace.o CC drivers/tty/serial/sh-sci.o CC fs/nfs/nfs4sysctl.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] } ^ LD fs/nfs/nfsv2.o LD net/ipv4/built-in.o CC net/sunrpc/stats.o CC net/sunrpc/xprtmultipath.o CC net/sunrpc/sysctl.o LD fs/nfs/nfs.o LD drivers/input/mouse/psmouse.o LD drivers/input/mouse/built-in.o LD drivers/input/built-in.o CC net/sunrpc/auth_gss/auth_gss.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/sunrpc/auth_gss/gss_rpc_upcall.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 net/sunrpc/auth_gss/gss_rpc_xdr.o LD fs/nfs/nfsv3.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, ^ /home/kisskb/slave/src/net/core/neighbour.c: In function 'neigh_sysctl_register': /home/kisskb/slave/src/net/core/neighbour.c:3179:2: warning: 'p_name' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(neigh_path, sizeof(neigh_path), "net/%s/neigh/%s", ^ LD net/sunrpc/sunrpc.o LD drivers/tty/serial/built-in.o LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o LD drivers/built-in.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/core/built-in.o LD net/built-in.o LD fs/nfs/nfsv4.o LD fs/nfs/built-in.o LD fs/built-in.o 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 OBJCOPY arch/sh/boot/compressed/vmlinux.bin CC arch/sh/boot/compressed/cache.o 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/lshrsi3.o AS arch/sh/boot/compressed/ashlsi3.o GZIP arch/sh/boot/compressed/vmlinux.bin.gz LD arch/sh/boot/compressed/piggy.o LD arch/sh/boot/compressed/vmlinux OBJCOPY arch/sh/boot/zImage Kernel: arch/sh/boot/zImage is ready make[1]: Leaving directory '/home/kisskb/slave/build/linus_microdev_defconfig_sh4' Completed OK # rm -rf /home/kisskb/slave/build/linus_microdev_defconfig_sh4 # Build took: 0:00:37.315131