# git rev-parse -q --verify bd5d7428f5e50cc10b98cf0abc13ccac391e1e33^{commit} bd5d7428f5e50cc10b98cf0abc13ccac391e1e33 already have revision, skipping fetch # git checkout -q -f -B kisskb bd5d7428f5e50cc10b98cf0abc13ccac391e1e33 # git clean -qxdf # git log -1 commit bd5d7428f5e50cc10b98cf0abc13ccac391e1e33 Merge: 756a733 6edd870 Author: Linus Torvalds Date: Mon Jan 9 12:54:20 2017 -0800 Merge tag 'drm-fixes-for-v4.10-rc4' of git://people.freedesktop.org/~airlied/linux Pull drm fixes from Dave Airlie: "amdgpu, radeon, msm, meson, tilcdc, drm fixes. Just back online for a couple of days, gathered up the remaining fixes pull requests. This contains fixes for a few ARM platforms (msm, tilcdc, meson), and one core atomic fix. The AMD pull has some new hardware support (Polaris12) in it, but this is pretty limited to just hw enablement and shouldn't cause any problems" * tag 'drm-fixes-for-v4.10-rc4' of git://people.freedesktop.org/~airlied/linux: drm/amdgpu: drop verde dpm quirks drm/radeon: drop verde dpm quirks drm/radeon: update smc firmware selection for SI drm/amdgpu: update si kicker smc firmware drm/amd/powerplay: extend smu's response timeout time. drm/amdgpu: remove static integer for uvd pp state drm/amd/amdgpu: add Polaris12 PCI ID drm/amdgpu/powerplay: add Polaris12 support drm/amd/amdgpu: add Polaris12 support (v3) MAINTAINERS: Update mailing list for radeon and amdgpu drm/meson: Fix CVBS VDAC disable drm/meson: Fix CVBS initialization when HDMI is configured by bootloader drm: Clean up planes in atomic commit helper failure path drm: tilcdc: simplify the recovery from sync lost error on rev1 drm/meson: Fix plane atomic check when no crtc for the plane drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set drm/msm: Put back the vaddr in submit_reloc() drm/msm: Ensure that the hardware write pointer is valid # < /opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 bd5d7428f5e50cc10b98cf0abc13ccac391e1e33 # < make -j 8 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 8 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/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h UPD include/config/kernel.release HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s 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/init_task.o CC init/initramfs.o UPD include/generated/compile.h HOSTCC usr/gen_init_cpio AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o GEN usr/initramfs_data.cpio.gz AS usr/initramfs_data.o LD usr/built-in.o CC init/version.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/dumpstack.o LD arch/sh/boards/built-in.o CC arch/sh/mm/cache.o CC arch/sh/boards/mach-microdev/setup.o CC kernel/fork.o LD certs/built-in.o CC arch/sh/kernel/idle.o CC arch/sh/boards/mach-microdev/irq.o CC arch/sh/mm/init.o CC arch/sh/mm/consistent.o CC mm/filemap.o LD init/mounts.o LD init/built-in.o CC mm/mempool.o CC arch/sh/boards/mach-microdev/io.o CC arch/sh/boards/mach-microdev/fdc37c93xapm.o CC arch/sh/kernel/io.o CC mm/oom_kill.o CC arch/sh/mm/mmap.o CC arch/sh/mm/cache-sh4.o LD arch/sh/boards/mach-microdev/built-in.o CC arch/sh/kernel/irq.o CC arch/sh/mm/flush-sh4.o CC mm/maccess.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/fault.o CC fs/open.o CC fs/read_write.o CC kernel/exec_domain.o CC arch/sh/kernel/machvec.o CC kernel/panic.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/mm/gup.o CC fs/file_table.o CC fs/super.o CC arch/sh/kernel/process.o CC kernel/cpu.o CC arch/sh/mm/ioremap.o CC arch/sh/kernel/process_32.o CC kernel/exit.o CC mm/page_alloc.o CC kernel/softirq.o CC arch/sh/mm/kmap.o CC arch/sh/mm/pgtable.o CC arch/sh/kernel/ptrace.o CC arch/sh/mm/tlbex_32.o CC arch/sh/kernel/ptrace_32.o LD ipc/built-in.o CC fs/char_dev.o CC fs/stat.o CC security/keys/gc.o CC arch/sh/mm/tlbflush_32.o CC arch/sh/mm/tlb-sh4.o CC mm/page-writeback.o CC arch/sh/mm/tlb-urb.o CC arch/sh/kernel/reboot.o CC security/keys/key.o CC security/keys/keyring.o CC fs/exec.o CC arch/sh/kernel/return_address.o CC kernel/resource.o CC arch/sh/mm/hugetlbpage.o CC arch/sh/kernel/setup.o CC arch/sh/mm/uncached.o CC arch/sh/kernel/signal_32.o CC security/keys/keyctl.o CC security/keys/permission.o LD arch/sh/mm/built-in.o CC mm/readahead.o CC kernel/sysctl.o CC fs/pipe.o CC arch/sh/kernel/sys_sh.o CC mm/swap.o CC security/commoncap.o AS arch/sh/kernel/syscalls_32.o CC security/keys/process_keys.o CC arch/sh/kernel/time.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC arch/sh/kernel/topology.o CC fs/namei.o CC fs/fcntl.o CC fs/ioctl.o CC security/keys/user_defined.o CC arch/sh/kernel/traps.o CC kernel/sysctl_binary.o CC kernel/capability.o CC mm/truncate.o CC security/keys/proc.o CC arch/sh/kernel/traps_32.o CC fs/readdir.o CC security/min_addr.o CC arch/sh/kernel/unwinder.o CC kernel/ptrace.o CC security/keys/sysctl.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/ioport.o CC arch/sh/kernel/sys_sh32.o LD security/keys/built-in.o LD security/built-in.o CC arch/sh/kernel/cpu/irq/imask.o CC mm/vmscan.o CC arch/sh/kernel/cpu/sh4/probe.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/init.o LD arch/sh/kernel/cpu/irq/built-in.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/fpu.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC arch/sh/kernel/cpu/sh4/fpu.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated [-Wdeprecated-declarations] arch_init_clk_ops(&clk->ops, i); ^ In file included from /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:6:0: /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7:19: note: declared here void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated [-Wdeprecated-declarations] return cpg_clk_init(); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46:25: note: declared here int __init __deprecated cpg_clk_init(void) ^ CC arch/sh/kernel/vsyscall/vsyscall.o LDS arch/sh/kernel/vsyscall/vsyscall.lds CC kernel/user.o CC arch/sh/kernel/cpu/sh4/softfloat.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/perf_event.o CC fs/select.o AS arch/sh/kernel/vsyscall/vsyscall-trapa.o AS arch/sh/kernel/vsyscall/vsyscall-note.o CC arch/sh/kernel/cpu/sh4/setup-sh4-202.o CC kernel/signal.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so SYSCALL arch/sh/kernel/vsyscall/vsyscall-syms.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o LD arch/sh/kernel/vsyscall/built-in.o CC mm/shmem.o CC kernel/sys.o CC mm/util.o CC arch/sh/kernel/cpu/sh4/clock-sh4.o CC crypto/api.o CC arch/sh/kernel/cpu/sh4/clock-sh4-202.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/clock-sh4-202.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/clock-sh4-202.c:162:2: warning: 'cpg_clk_init' is deprecated [-Wdeprecated-declarations] cpg_clk_init(); ^ In file included from /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/clock-sh4-202.c:17:0: /home/kisskb/slave/src/arch/sh/include/asm/clock.h:11:25: note: declared here int __init __deprecated cpg_clk_init(void); ^ CC block/bio.o LD arch/sh/kernel/cpu/sh4/common.o LD arch/sh/kernel/cpu/sh4/built-in.o CC arch/sh/kernel/cpu/proc.o CC fs/dcache.o CC crypto/cipher.o CC kernel/kmod.o LD arch/sh/kernel/cpu/built-in.o CC arch/sh/kernel/perf_callchain.o CC crypto/compress.o CC arch/sh/kernel/hw_breakpoint.o CC crypto/memneq.o AS arch/sh/kernel/head_32.o CC kernel/workqueue.o CC kernel/pid.o LDS arch/sh/kernel/vmlinux.lds CC crypto/crypto_wq.o LD arch/sh/kernel/built-in.o LD drivers/amba/built-in.o CC block/elevator.o LD drivers/auxdisplay/built-in.o CC drivers/base/component.o CC drivers/block/brd.o CC mm/mmzone.o CC crypto/algapi.o CC drivers/base/core.o CC mm/vmstat.o CC mm/backing-dev.o CC fs/inode.o CC block/blk-core.o LD drivers/block/built-in.o CC fs/attr.o CC block/blk-tag.o CC crypto/scatterwalk.o CC crypto/proc.o CC mm/mm_init.o CC mm/mmu_context.o CC fs/bad_inode.o CC crypto/aead.o LD sound/built-in.o CC crypto/ablkcipher.o CC drivers/base/bus.o CC kernel/task_work.o CC kernel/extable.o CC mm/percpu.o CC fs/file.o CC mm/slab_common.o CC kernel/params.o CC kernel/kthread.o CC crypto/blkcipher.o CC drivers/base/dd.o CC block/blk-sysfs.o CC block/blk-flush.o LD drivers/bus/built-in.o CC crypto/skcipher.o CC fs/filesystems.o CC drivers/base/syscore.o CC kernel/sys_ni.o CC kernel/nsproxy.o CC kernel/notifier.o CC mm/compaction.o CC kernel/ksysfs.o CC block/blk-settings.o CC drivers/base/driver.o CC fs/namespace.o CC kernel/cred.o CC crypto/echainiv.o CC crypto/ahash.o CC drivers/base/class.o CC drivers/base/platform.o CC drivers/base/cpu.o CC block/blk-ioc.o CC block/blk-map.o CC kernel/reboot.o CC mm/vmacache.o CC crypto/shash.o CC crypto/akcipher.o CC mm/interval_tree.o CC drivers/base/firmware.o CC kernel/async.o LD firmware/built-in.o CC drivers/base/init.o CC block/blk-exec.o CC fs/seq_file.o CC fs/xattr.o CC drivers/base/map.o CC crypto/kpp.o CC kernel/range.o CC mm/list_lru.o CC kernel/smpboot.o CC block/blk-merge.o CC drivers/base/devres.o CC block/blk-softirq.o CC crypto/acompress.o CC mm/workingset.o CC kernel/ucount.o CC mm/debug.o CC fs/libfs.o CC fs/fs-writeback.o CC drivers/base/attribute_container.o CC kernel/groups.o CC crypto/scompress.o CC crypto/algboss.o CC mm/gup.o CC drivers/base/transport_class.o CC block/blk-timeout.o CC kernel/bpf/core.o CC drivers/base/topology.o CC drivers/base/container.o CC crypto/testmgr.o CC crypto/hmac.o CC block/blk-lib.o CC mm/highmem.o CC kernel/events/core.o CC drivers/base/property.o CC fs/pnode.o CC kernel/irq/irqdesc.o CC mm/memory.o CC crypto/crypto_null.o CC fs/splice.o CC block/blk-mq.o CC kernel/irq/handle.o CC crypto/sha256_generic.o CC drivers/base/cacheinfo.o LD kernel/bpf/built-in.o CC kernel/irq/manage.o CC fs/sync.o CC drivers/base/power/clock_ops.o CC fs/utimes.o CC kernel/events/ring_buffer.o LD drivers/base/power/built-in.o LD drivers/base/test/built-in.o CC drivers/base/dma-mapping.o CC kernel/irq/spurious.o CC crypto/ecb.o CC fs/stack.o CC mm/mincore.o CC drivers/base/dma-coherent.o CC kernel/irq/resend.o CC fs/fs_struct.o CC block/blk-mq-tag.o CC crypto/aes_generic.o CC fs/statfs.o CC kernel/irq/chip.o CC drivers/base/firmware_class.o CC fs/fs_pin.o CC mm/mlock.o CC block/blk-stat.o CC block/blk-mq-sysfs.o CC fs/nsfs.o CC kernel/irq/dummychip.o LD drivers/base/built-in.o CC drivers/cdrom/cdrom.o CC fs/buffer.o CC block/blk-mq-cpumap.o CC crypto/crc32c_generic.o CC mm/mmap.o CC kernel/irq/devres.o CC kernel/irq/irqdomain.o CC drivers/char/mem.o CC block/ioctl.o CC crypto/rng.o CC kernel/irq/proc.o /home/kisskb/slave/src/mm/mmap.c: In function '__vma_adjust': /home/kisskb/slave/src/mm/mmap.c:584:2: warning: 'rb_link' may be used uninitialized in this function [-Wmaybe-uninitialized] __vma_link_rb(mm, vma, rb_link, rb_parent); ^ /home/kisskb/slave/src/mm/mmap.c:615:19: note: 'rb_link' was declared here struct rb_node **rb_link, *rb_parent; ^ /home/kisskb/slave/src/mm/mmap.c:584:2: warning: 'rb_parent' may be used uninitialized in this function [-Wmaybe-uninitialized] __vma_link_rb(mm, vma, rb_link, rb_parent); ^ /home/kisskb/slave/src/mm/mmap.c:615:29: note: 'rb_parent' was declared here struct rb_node **rb_link, *rb_parent; ^ /home/kisskb/slave/src/mm/mmap.c:583:2: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] __vma_link_list(mm, vma, prev, rb_parent); ^ /home/kisskb/slave/src/mm/mmap.c:614:25: note: 'prev' was declared here struct vm_area_struct *prev; ^ CC drivers/char/random.o CC crypto/drbg.o LD kernel/irq/built-in.o CC block/genhd.o CC drivers/char/misc.o CC kernel/events/callchain.o LD drivers/cdrom/built-in.o CC kernel/events/hw_breakpoint.o CC fs/block_dev.o CC mm/mprotect.o CC crypto/jitterentropy.o CC arch/sh/drivers/dma/dma-sh.o CC crypto/jitterentropy-kcapi.o LD kernel/events/built-in.o LD kernel/livepatch/built-in.o CC kernel/locking/mutex.o LD drivers/char/agp/built-in.o CC drivers/char/hw_random/core.o CC mm/mremap.o CC block/scsi_ioctl.o LD crypto/crypto.o LD crypto/crypto_algapi.o LD crypto/crypto_blkcipher.o LD crypto/crypto_hash.o LD crypto/crypto_acompress.o LD crypto/cryptomgr.o LD crypto/jitterentropy_rng.o LD crypto/built-in.o CC mm/msync.o CC kernel/locking/semaphore.o CC arch/sh/drivers/dma/dma-api.o LD drivers/char/hw_random/rng-core.o LD drivers/char/hw_random/built-in.o LD drivers/char/built-in.o LD drivers/char/ipmi/built-in.o CC drivers/clk/clk-devres.o CC drivers/clocksource/sh_tmu.o LD drivers/crypto/built-in.o CC arch/sh/drivers/dma/dma-sysfs.o CC kernel/locking/rwsem.o CC mm/rmap.o CC fs/direct-io.o CC kernel/locking/percpu-rwsem.o CC drivers/clk/clkdev.o CC block/partition-generic.o CC block/ioprio.o LD arch/sh/drivers/dma/built-in.o CC arch/sh/drivers/superhyway/ops-sh4-202.o CC kernel/locking/rtmutex.o LD drivers/clocksource/built-in.o CC kernel/power/qos.o LD arch/sh/drivers/superhyway/built-in.o CC arch/sh/drivers/heartbeat.o LD drivers/clk/bcm/built-in.o LD drivers/clk/mvebu/built-in.o LD drivers/clk/ti/built-in.o LD drivers/clk/built-in.o LD drivers/firewire/built-in.o LD drivers/firmware/broadcom/built-in.o LD drivers/firmware/meson/built-in.o LD drivers/firmware/tegra/built-in.o LD drivers/firmware/built-in.o LD drivers/gpu/drm/bridge/built-in.o LD drivers/gpu/drm/hisilicon/built-in.o LD drivers/gpu/drm/i2c/built-in.o LD drivers/gpu/drm/omapdrm/displays/built-in.o LD drivers/gpu/drm/omapdrm/dss/built-in.o LD drivers/gpu/drm/omapdrm/built-in.o LD drivers/gpu/drm/panel/built-in.o LD drivers/gpu/drm/tilcdc/built-in.o LD drivers/gpu/drm/built-in.o CC kernel/locking/rwsem-spinlock.o LD drivers/gpu/vga/built-in.o LD drivers/gpu/built-in.o CC drivers/hid/hid-core.o LD arch/sh/drivers/built-in.o CC drivers/hwmon/hwmon.o LD kernel/power/built-in.o LD drivers/hwtracing/intel_th/built-in.o CC block/badblocks.o LD drivers/i2c/algos/built-in.o LD drivers/i2c/busses/built-in.o LD drivers/i2c/muxes/built-in.o LD drivers/i2c/built-in.o CC net/socket.o LD net/802/built-in.o CC mm/vmalloc.o CC drivers/hid/hid-input.o LD kernel/locking/built-in.o CC kernel/printk/printk.o LD drivers/hwmon/built-in.o CC kernel/rcu/update.o CC block/partitions/check.o CC kernel/rcu/sync.o CC kernel/rcu/srcu.o CC block/partitions/msdos.o CC drivers/hid/hid-generic.o CC mm/pagewalk.o CC drivers/hid/hid-a4tech.o CC kernel/rcu/tree.o CC kernel/printk/nmi.o CC net/core/sock.o CC drivers/ide/ide.o CC fs/mpage.o CC block/partitions/efi.o CC mm/pgtable-generic.o LD kernel/printk/built-in.o CC block/noop-iosched.o CC mm/process_vm_access.o CC drivers/ide/ide-ioctls.o CC mm/init-mm.o CC fs/proc_namespace.o CC net/dns_resolver/dns_key.o LD block/partitions/built-in.o CC block/deadline-iosched.o CC mm/bootmem.o CC drivers/ide/ide-io.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 net/dns_resolver/dns_query.o CC drivers/hid/hid-apple.o CC fs/devpts/inode.o CC block/cfq-iosched.o LD net/dns_resolver/dns_resolver.o LD net/dns_resolver/built-in.o /home/kisskb/slave/src/drivers/ide/ide-io.c: In function 'ide_special_rq': /home/kisskb/slave/src/drivers/ide/ide-io.c:295:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC net/ethernet/eth.o CC mm/fadvise.o CC drivers/hid/hid-belkin.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o CC fs/exportfs/expfs.o CC drivers/ide/ide-iops.o LD kernel/rcu/built-in.o /home/kisskb/slave/src/block/cfq-iosched.c: In function 'cfq_async_queue_prio': /home/kisskb/slave/src/block/cfq-iosched.c:3828:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC kernel/sched/core.o CC drivers/hid/hid-cherry.o CC net/core/request_sock.o CC mm/madvise.o LD fs/exportfs/exportfs.o LD fs/exportfs/built-in.o CC fs/ext2/balloc.o CC drivers/hid/hid-chicony.o LD net/ethernet/built-in.o CC mm/memblock.o CC drivers/ide/ide-lib.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 net/core/skbuff.o CC drivers/hid/hid-cypress.o CC drivers/hid/hid-ezkey.o CC drivers/ide/ide-probe.o CC fs/ext2/dir.o CC drivers/ide/ide-taskfile.o CC drivers/hid/hid-kensington.o CC mm/page_io.o CC drivers/hid/hid-lg.o CC drivers/ide/ide-pm.o LD block/built-in.o CC drivers/ide/ide-park.o CC fs/ext2/file.o CC kernel/sched/loadavg.o CC mm/swap_state.o CC kernel/sched/clock.o CC fs/ext2/ialloc.o LD drivers/idle/built-in.o CC drivers/hid/hid-microsoft.o CC drivers/ide/ide-sysfs.o CC net/ipv6/addrconf_core.o CC net/ipv4/route.o CC kernel/sched/cputime.o CC mm/swapfile.o CC drivers/hid/hid-monterey.o CC drivers/ide/ide-devsets.o CC kernel/sched/idle_task.o CC fs/ext2/inode.o CC net/ipv6/exthdrs_core.o LD drivers/hid/hid.o LD drivers/hid/hid-logitech.o LD drivers/hid/built-in.o CC kernel/sched/fair.o CC kernel/time/time.o CC drivers/ide/ide-io-std.o CC net/core/datagram.o CC net/ipv6/ip6_checksum.o CC kernel/sched/rt.o CC drivers/ide/ide-eh.o CC fs/ext2/ioctl.o CC kernel/time/timer.o CC fs/ext2/namei.o CC net/ipv4/inetpeer.o CC kernel/sched/deadline.o CC net/ipv6/ip6_icmp.o CC drivers/ide/ide-atapi.o CC mm/dmapool.o CC net/core/stream.o CC kernel/time/hrtimer.o CC fs/ext2/super.o CC kernel/sched/stop_task.o CC net/ipv6/output_core.o CC mm/hugetlb.o CC net/ipv4/protocol.o CC drivers/ide/ide-proc.o CC kernel/sched/wait.o CC net/core/scm.o CC kernel/time/timekeeping.o CC net/ipv6/protocol.o CC net/ipv4/ip_input.o CC fs/ext2/symlink.o CC kernel/sched/swait.o CC drivers/ide/ide-gd.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) ^ LD fs/ext2/ext2.o LD fs/ext2/built-in.o CC fs/ext4/balloc.o CC kernel/sched/completion.o CC net/core/gen_stats.o CC net/ipv6/ip6_offload.o CC kernel/sched/idle.o CC drivers/ide/ide-disk.o CC net/ipv4/ip_fragment.o CC net/core/gen_estimator.o CC net/ipv6/tcpv6_offload.o LD kernel/sched/built-in.o CC net/ipv4/ip_forward.o CC fs/ext4/bitmap.o CC mm/slab.o CC kernel/time/ntp.o CC drivers/ide/ide-disk_ioctl.o CC net/core/net_namespace.o CC net/ipv4/ip_options.o CC fs/ext4/dir.o CC net/ipv6/exthdrs_offload.o CC net/netlink/af_netlink.o CC drivers/ide/ide-disk_proc.o CC kernel/time/clocksource.o LD net/ipv6/built-in.o CC kernel/time/jiffies.o CC drivers/ide/ide-cd.o CC fs/ext4/file.o CC net/core/secure_seq.o CC kernel/time/timer_list.o CC net/ipv4/ip_output.o CC mm/migrate.o CC net/ipv4/ip_sockglue.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/timeconv.o CC net/core/flow_dissector.o CC fs/ext4/fsync.o CC kernel/time/timecounter.o CC kernel/time/alarmtimer.o CC drivers/ide/ide-cd_ioctl.o In file included from /home/kisskb/slave/src/fs/ext4/fsync.c:32:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/ext4/ialloc.o CC mm/quicklist.o CC kernel/time/posix-timers.o CC net/netlink/genetlink.o CC drivers/ide/ide-cd_verbose.o CC fs/fat/cache.o LD mm/built-in.o CC fs/hugetlbfs/inode.o CC net/ipv4/inet_hashtables.o CC net/core/sysctl_net_core.o LD drivers/ide/ide-core.o LD drivers/ide/ide-gd_mod.o LD drivers/ide/ide-cd_mod.o LD drivers/ide/built-in.o CC drivers/input/input.o CC fs/fat/dir.o CC kernel/time/posix-cpu-timers.o LD net/netlink/built-in.o CC fs/fat/fatent.o CC net/core/dev.o CC fs/ext4/inode.o LD fs/hugetlbfs/hugetlbfs.o LD fs/hugetlbfs/built-in.o CC fs/ext4/page-io.o CC net/ipv4/inet_timewait_sock.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] } ^ CC kernel/time/posix-clock.o CC fs/ext4/ioctl.o CC fs/fat/file.o CC fs/jbd2/transaction.o CC drivers/input/input-compat.o CC net/ipv4/inet_connection_sock.o CC kernel/time/itimer.o CC drivers/input/input-mt.o CC fs/fat/inode.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 fs/fat/misc.o CC kernel/time/clockevents.o CC drivers/input/ff-core.o AS arch/sh/lib/movmem.o CC arch/sh/lib/ashldi3.o CC net/ipv4/tcp.o CC drivers/input/mousedev.o CC arch/sh/lib/ashrdi3.o CC kernel/time/tick-common.o CC fs/jbd2/commit.o CC arch/sh/lib/lshrdi3.o CC fs/fat/nfs.o AS arch/sh/lib/ashlsi3.o AS arch/sh/lib/ashrsi3.o CC kernel/time/sched_clock.o AS arch/sh/lib/ashiftrt.o AS arch/sh/lib/lshrsi3.o AS arch/sh/lib/udiv_qrnnd.o CC arch/sh/lib/io.o CC drivers/input/keyboard/atkbd.o AS arch/sh/lib/__clear_user.o CC fs/fat/namei_vfat.o AS arch/sh/lib/checksum.o AS arch/sh/lib/copy_page.o CC arch/sh/lib/delay.o LD kernel/time/built-in.o CC kernel/futex.o CC arch/sh/lib/div64-generic.o CC fs/ext4/namei.o CC fs/jbd2/recovery.o AS arch/sh/lib/div64.o AS arch/sh/lib/memchr.o AS arch/sh/lib/memcpy-sh4.o AS arch/sh/lib/memmove.o AS arch/sh/lib/memset-sh4.o AS arch/sh/lib/strlen.o AS arch/sh/lib/udivsi3.o AS arch/sh/lib/udivsi3_i4i.o AR arch/sh/lib/lib.a EXPORTS arch/sh/lib/lib-ksyms.o LD arch/sh/lib/built-in.o CC fs/kernfs/mount.o LD drivers/input/keyboard/built-in.o CC drivers/input/mouse/psmouse-base.o CC net/core/ethtool.o LD fs/fat/fat.o LD fs/fat/vfat.o LD fs/fat/built-in.o CC fs/lockd/clntlock.o CC fs/kernfs/inode.o CC fs/jbd2/checkpoint.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/kernfs/dir.o CC net/ipv4/tcp_input.o CC kernel/up.o CC fs/jbd2/revoke.o CC drivers/input/mouse/synaptics.o CC fs/lockd/clntproc.o CC kernel/uid16.o CC fs/jbd2/journal.o CC fs/ext4/super.o CC kernel/kallsyms.o CC fs/kernfs/file.o CC net/core/dev_addr_lists.o CC drivers/input/mouse/focaltech.o CC fs/lockd/clntxdr.o CC kernel/acct.o CC fs/kernfs/symlink.o CC drivers/input/mouse/alps.o LD fs/kernfs/built-in.o CC net/core/dst.o CC drivers/input/mouse/byd.o CC fs/lockd/host.o CC kernel/utsname.o CC fs/nfs/client.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC kernel/pid_namespace.o CC lib/lockref.o CC lib/bcd.o CC net/core/netevent.o CC lib/div64.o CC fs/lockd/svc.o CC lib/sort.o CC kernel/utsname_sysctl.o CC drivers/input/mouse/logips2pp.o CC lib/parser.o CC net/core/neighbour.o CC kernel/elfcore.o CC lib/halfmd4.o CC lib/debug_locks.o CC drivers/input/mouse/trackpoint.o CC fs/lockd/svclock.o CC fs/nfs/dir.o CC kernel/irq_work.o CC lib/random32.o CC lib/bust_spinlocks.o CC kernel/membarrier.o CC net/ipv4/tcp_output.o CC fs/ext4/symlink.o CC drivers/input/mouse/cypress_ps2.o CC lib/kasprintf.o CC kernel/memremap.o CC lib/bitmap.o CC fs/ext4/hash.o CC fs/lockd/svcshare.o LD kernel/built-in.o CC fs/lockd/svcproc.o LD drivers/input/mouse/psmouse.o LD drivers/input/mouse/built-in.o LD drivers/input/input-core.o LD drivers/input/built-in.o CC drivers/input/serio/serio.o CC fs/ext4/resize.o CC lib/scatterlist.o CC lib/gcd.o CC lib/lcm.o CC lib/list_sort.o CC drivers/input/serio/serport.o CC drivers/input/serio/libps2.o CC fs/nfs/file.o CC fs/lockd/svcsubs.o /home/kisskb/slave/src/net/core/neighbour.c: In function 'neigh_sysctl_register': /home/kisskb/slave/src/net/core/neighbour.c:3180:2: warning: 'p_name' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(neigh_path, sizeof(neigh_path), "net/%s/neigh/%s", ^ CC net/core/rtnetlink.o CC lib/uuid.o CC lib/flex_array.o CC lib/iov_iter.o LD drivers/input/serio/built-in.o LD drivers/iommu/built-in.o LD drivers/irqchip/built-in.o LD drivers/lguest/built-in.o LD drivers/macintosh/built-in.o LD drivers/media/common/b2c2/built-in.o LD drivers/media/common/saa7146/built-in.o LD drivers/media/common/siano/built-in.o LD drivers/media/common/v4l2-tpg/built-in.o LD drivers/media/common/built-in.o LD drivers/media/firewire/built-in.o LD drivers/media/i2c/soc_camera/built-in.o LD drivers/media/i2c/built-in.o LD drivers/media/mmc/siano/built-in.o LD drivers/media/mmc/built-in.o CC fs/lockd/mon.o LD drivers/media/pci/b2c2/built-in.o LD drivers/media/pci/ddbridge/built-in.o LD drivers/media/pci/dm1105/built-in.o LD drivers/media/pci/mantis/built-in.o LD drivers/media/pci/netup_unidvb/built-in.o LD drivers/media/pci/ngene/built-in.o LD drivers/media/pci/pluto2/built-in.o LD drivers/media/pci/pt1/built-in.o LD drivers/media/pci/pt3/built-in.o LD drivers/media/pci/saa7146/built-in.o LD drivers/media/pci/smipcie/built-in.o LD drivers/media/pci/ttpci/built-in.o LD drivers/media/pci/built-in.o LD drivers/media/platform/omap/built-in.o LD drivers/media/platform/built-in.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/rc/built-in.o LD drivers/media/spi/built-in.o LD drivers/media/tuners/built-in.o LD drivers/media/usb/b2c2/built-in.o LD drivers/media/usb/dvb-usb/built-in.o LD drivers/media/usb/dvb-usb-v2/built-in.o CC fs/nfs_common/grace.o LD drivers/media/usb/s2255/built-in.o LD drivers/media/usb/siano/built-in.o LD drivers/media/usb/stkwebcam/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o LD drivers/media/usb/ttusb-dec/built-in.o LD drivers/media/usb/zr364xx/built-in.o LD drivers/media/usb/built-in.o LD drivers/media/built-in.o LD drivers/mfd/built-in.o LD drivers/misc/cb710/built-in.o LD drivers/misc/eeprom/built-in.o LD drivers/misc/lis3lv02d/built-in.o CC fs/nfs/getroot.o LD drivers/misc/mic/bus/built-in.o CC net/ipv4/tcp_timer.o LD drivers/misc/mic/built-in.o CC fs/ext4/extents.o LD drivers/misc/ti-st/built-in.o LD drivers/misc/built-in.o LD drivers/mmc/built-in.o CC drivers/net/mii.o LD fs/nfs_common/built-in.o CC fs/ext4/ext4_jbd2.o CC fs/lockd/xdr.o In file included from /home/kisskb/slave/src/fs/ext4/extents.c:43:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC fs/nfs/inode.o In file included from /home/kisskb/slave/src/fs/ext4/ext4_jbd2.c:5:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC drivers/net/Space.o CC fs/nfs/super.o CC lib/clz_ctz.o CC lib/bsearch.o CC net/ipv4/tcp_ipv4.o CC lib/find_bit.o CC lib/llist.o CC fs/lockd/clnt4xdr.o CC lib/memweight.o CC lib/kfifo.o CC drivers/net/loopback.o CC net/core/utils.o CC lib/percpu-refcount.o CC fs/lockd/xdr4.o LD drivers/net/ethernet/8390/built-in.o LD drivers/net/ethernet/alacritech/built-in.o LD drivers/net/ethernet/amazon/built-in.o LD drivers/net/ethernet/arc/built-in.o CC net/core/link_watch.o LD drivers/net/ethernet/broadcom/built-in.o LD drivers/net/ethernet/cadence/built-in.o LD drivers/net/ethernet/ezchip/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/ethernet/intel/built-in.o LD drivers/net/ethernet/marvell/built-in.o LD drivers/net/ethernet/micrel/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/netronome/built-in.o LD drivers/net/ethernet/qualcomm/emac/built-in.o LD drivers/net/ethernet/qualcomm/built-in.o LD drivers/net/ethernet/renesas/built-in.o LD drivers/net/ethernet/rocker/built-in.o LD drivers/net/ethernet/samsung/built-in.o LD drivers/net/ethernet/seeq/built-in.o CC drivers/net/ethernet/smsc/smc91x.o CC lib/percpu_ida.o CC fs/ext4/migrate.o /home/kisskb/slave/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /home/kisskb/slave/src/fs/ext4/extents.c:2326:14: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] ext4_lblk_t len; ^ CC fs/nfs/io.o CC lib/rhashtable.o In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:455:0: warning: "SMC_inl" redefined #define SMC_inl(ioaddr, reg) ({ BUG(); 0; }) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:136:0: note: this is the location of the previous definition #define SMC_inl(a, r) inl((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:456:0: warning: "SMC_outl" redefined #define SMC_outl(x, ioaddr, reg) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:139:0: note: this is the location of the previous definition #define SMC_outl(v, a, r) outl(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:457:0: warning: "SMC_insl" redefined #define SMC_insl(a, r, p, l) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:140:0: note: this is the location of the previous definition #define SMC_insl(a, r, p, l) insl((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:458:0: warning: "SMC_outsl" redefined #define SMC_outsl(a, r, p, l) BUG() ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:141:0: note: this is the location of the previous definition #define SMC_outsl(a, r, p, l) outsl((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_reset': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:261:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:262:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:278:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:279:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, RCR_SOFTRST); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:286:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:31: note: in expansion of macro 'SMC_outw' #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, x, ioaddr, CONFIG_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:304:2: note: in expansion of macro 'SMC_SET_CONFIG' SMC_SET_CONFIG(lp, cfg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:317:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:318:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, RCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:319:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, TCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:321:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:985:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:322:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp) | CTL_LE_ENABLE; ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:333:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:336:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:337:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RESET); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:338:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:338:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_enable': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:353:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:354:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, lp->tcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:355:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, lp->rcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:357:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1060:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, addr[0] | (addr[1] << 8), ioaddr, ADDR0_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1061:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, addr[2] | (addr[3] << 8), ioaddr, ADDR1_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1062:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, addr[4] | (addr[5] << 8), ioaddr, ADDR2_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:358:2: note: in expansion of macro 'SMC_SET_MAC_ADDR' SMC_SET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:364:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:365:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_shutdown': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:388:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:389:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:397:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:398:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, RCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:399:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, TCR_CLEAR); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:403:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:36: note: in definition of macro 'SMC_outw' #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:404:2: note: in expansion of macro 'SMC_SET_CONFIG' SMC_SET_CONFIG(lp, SMC_GET_CONFIG(lp) & ~CONFIG_EPH_POWER_EN); ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:979:28: note: in expansion of macro 'SMC_inw' #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:404:21: note: in expansion of macro 'SMC_GET_CONFIG' SMC_SET_CONFIG(lp, SMC_GET_CONFIG(lp) & ~CONFIG_EPH_POWER_EN); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:981:31: note: in expansion of macro 'SMC_outw' #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, x, ioaddr, CONFIG_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:404:2: note: in expansion of macro 'SMC_SET_CONFIG' SMC_SET_CONFIG(lp, SMC_GET_CONFIG(lp) & ~CONFIG_EPH_POWER_EN); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_rcv': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:933:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:419:18: note: in expansion of macro 'SMC_GET_RXFIFO' packet_number = SMC_GET_RXFIFO(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:426:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, PTR_READ | PTR_RCV | PTR_AUTOINC); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1092:15: note: in expansion of macro 'SMC_inw' (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:429:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, status, packet_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1093:15: note: in expansion of macro 'SMC_inw' (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:429:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, status, packet_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:447:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:447:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:448:3: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RELEASE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:475:4: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:475:4: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:476:4: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RELEASE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1143:5: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:495:3: note: in expansion of macro 'SMC_PULL_DATA' SMC_PULL_DATA(lp, data, packet_len - 4); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:142:35: warning: passing argument 1 of 'insw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_insw(a, r, p, l) insw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1151:4: note: in expansion of macro 'SMC_insw' SMC_insw(ioaddr, DATA_REG(lp), p, (l) >> 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:495:3: note: in expansion of macro 'SMC_PULL_DATA' SMC_PULL_DATA(lp, data, packet_len - 4); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:205:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void ins##bwlq(unsigned long port, void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:497:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:497:3: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:498:3: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_RELEASE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_hardware_send_pkt': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:925:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, PN_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:576:14: note: in expansion of macro 'SMC_GET_AR' packet_no = SMC_GET_AR(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:920:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:586:2: note: in expansion of macro 'SMC_SET_PN' SMC_SET_PN(lp, packet_no); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:587:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, PTR_AUTOINC); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1080:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, status, ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:599:2: note: in expansion of macro 'SMC_PUT_PKT_HDR' SMC_PUT_PKT_HDR(lp, 0, len + 6); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1081:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, length, ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:599:2: note: in expansion of macro 'SMC_PUT_PKT_HDR' SMC_PUT_PKT_HDR(lp, 0, len + 6); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:143:37: warning: passing argument 1 of 'outsw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1105:5: note: in expansion of macro 'SMC_outsw' SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:602:2: note: in expansion of macro 'SMC_PUSH_DATA' SMC_PUSH_DATA(lp, buf, len & ~1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:194:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void outs##bwlq(unsigned long port, const void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:143:37: warning: passing argument 1 of 'outsw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1113:5: note: in expansion of macro 'SMC_outsw' SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:602:2: note: in expansion of macro 'SMC_PUSH_DATA' SMC_PUSH_DATA(lp, buf, len & ~1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:194:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void outs##bwlq(unsigned long port, const void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:143:37: warning: passing argument 1 of 'outsw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outsw(a, r, p, l) outsw((a) + (r) - 0xa0000000, p, l) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1116:4: note: in expansion of macro 'SMC_outsw' SMC_outsw(ioaddr, DATA_REG(lp), p, (l) >> 1); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:602:2: note: in expansion of macro 'SMC_PUSH_DATA' SMC_PUSH_DATA(lp, buf, len & ~1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:194:20: note: expected 'long unsigned int' but argument is of type 'void *' static inline void outs##bwlq(unsigned long port, const void *addr, \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:217:1: note: in expansion of macro '__BUILD_IOPORT_STRING' __BUILD_IOPORT_STRING(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:605:2: note: in expansion of macro 'SMC_outw' SMC_outw(lp, ((len & 1) ? (0x2000 | buf[len - 1]) : 0), ioaddr, ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:620:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ENQUEUE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:955:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:210:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:627:2: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_TX_INT | IM_TX_EMPTY_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:212:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:627:2: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_TX_INT | IM_TX_EMPTY_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_hard_start_xmit': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:675:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ALLOC | numPages); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:937:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:683:12: note: in expansion of macro 'SMC_GET_INT' status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:685:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:685:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:955:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:210:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:697:3: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:212:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:697:3: note: in expansion of macro 'SMC_ENABLE_INT' SMC_ENABLE_INT(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_tx': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:929:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:723:14: note: in expansion of macro 'SMC_GET_TXFIFO' packet_no = SMC_GET_TXFIFO(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:911:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:730:17: note: in expansion of macro 'SMC_GET_PN' saved_packet = SMC_GET_PN(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:920:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:731:2: note: in expansion of macro 'SMC_SET_PN' SMC_SET_PN(lp, packet_no); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:734:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, PTR_AUTOINC | PTR_READ); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1092:15: note: in expansion of macro 'SMC_inw' (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:735:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, tx_status, pkt_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1093:15: note: in expansion of macro 'SMC_inw' (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:735:2: note: in expansion of macro 'SMC_GET_PKT_HDR' SMC_GET_PKT_HDR(lp, tx_status, pkt_len); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:756:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:756:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:757:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_FREEPKT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/include/uapi/linux/stddef.h:1:0, from /home/kisskb/slave/src/include/linux/stddef.h:4, from /home/kisskb/slave/src/include/uapi/linux/posix_types.h:4, from /home/kisskb/slave/src/include/uapi/linux/types.h:13, from /home/kisskb/slave/src/include/linux/types.h:5, from /home/kisskb/slave/src/include/linux/list.h:4, from /home/kisskb/slave/src/include/linux/module.h:9, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:68: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/include/linux/compiler.h:168:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:233:15: note: in expansion of macro 'SMC_GET_MMU_CMD' if (unlikely(SMC_GET_MMU_CMD(lp) & MC_BUSY)) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:760:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1007:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:235:10: note: in expansion of macro 'SMC_GET_MMU_CMD' while (SMC_GET_MMU_CMD(lp) & MC_BUSY) { \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:760:2: note: in expansion of macro 'SMC_WAIT_MMU_BUSY' SMC_WAIT_MMU_BUSY(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:920:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PN_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:761:2: note: in expansion of macro 'SMC_SET_PN' SMC_SET_PN(lp, saved_packet); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:764:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:765:2: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, lp->tcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:766:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_mii_out': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:989:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:778:12: note: in expansion of macro 'SMC_GET_MII' mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:787:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:789:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg | MII_MCLK); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_mii_in': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:989:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:800:12: note: in expansion of macro 'SMC_GET_MII' mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:801:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:989:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:804:7: note: in expansion of macro 'SMC_GET_MII' if (SMC_GET_MII(lp) & MII_MDI) ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:807:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:809:3: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, mii_reg | MII_MCLK); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_read': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:825:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:36: note: in definition of macro 'SMC_outw' #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:837:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:989:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:837:18: note: in expansion of macro 'SMC_GET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:837:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:842:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_write': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:855:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:36: note: in definition of macro 'SMC_outw' #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:864:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:989:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:864:18: note: in expansion of macro 'SMC_GET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1001:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:864:2: note: in expansion of macro 'SMC_SET_MII' SMC_SET_MII(lp, SMC_GET_MII(lp) & ~(MII_MCLK|MII_MDOE|MII_MDO)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:869:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_fixed': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:942:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1038:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, RPC_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:943:2: note: in expansion of macro 'SMC_SET_RPC' SMC_SET_RPC(lp, lp->rpc_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:944:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_check_media': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1028:3: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1043:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1029:3: note: in expansion of macro 'SMC_SET_TCR' SMC_SET_TCR(lp, lp->tcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_phy_configure': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1078:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1038:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, RPC_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1079:2: note: in expansion of macro 'SMC_SET_RPC' SMC_SET_RPC(lp, lp->rpc_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1136:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_10bt_check_media': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1177:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1023:32: note: in expansion of macro 'SMC_inw' #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1178:17: note: in expansion of macro 'SMC_GET_EPH_STATUS' new_carrier = (SMC_GET_EPH_STATUS(lp) & ES_LINK_OK) ? 1 : 0; ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1179:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_eph_interrupt': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1201:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:985:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1202:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1203:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl & ~CTL_LE_ENABLE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1204:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1205:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_interrupt': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1013:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1229:18: note: in expansion of macro 'SMC_GET_PTR' saved_pointer = SMC_GET_PTR(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:955:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1230:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1231:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:937:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1237:12: note: in expansion of macro 'SMC_GET_INT' status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1239:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1003:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_GET_MIR' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1239:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1239:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1011:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_GET_FIFO' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1239:3: note: in expansion of macro 'DBG' DBG(2, dev, "INT 0x%02x MASK 0x%02x MEM 0x%04x FIFO 0x%04x\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1254:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_TX_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1254:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_TX_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1269:4: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:983:29: note: in expansion of macro 'SMC_inw' #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1270:17: note: in expansion of macro 'SMC_GET_COUNTER' card_stats = SMC_GET_COUNTER(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1271:4: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1280:4: note: in expansion of macro 'DBG' DBG(1, dev, "RX overrun (EPH_ST 0x%04x)\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1023:32: note: in expansion of macro 'SMC_inw' #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_GET_EPH_STATUS' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1280:4: note: in expansion of macro 'DBG' DBG(1, dev, "RX overrun (EPH_ST 0x%04x)\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/include/linux/netdevice.h:4259:46: note: in expansion of macro 'SMC_SELECT_BANK' netdev_printk(KERN_DEBUG, __dev, format, ##args); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:159:4: note: in expansion of macro 'netdev_dbg' netdev_dbg(dev, fmt, ##__VA_ARGS__); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1280:4: note: in expansion of macro 'DBG' DBG(1, dev, "RX overrun (EPH_ST 0x%04x)\n", ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1284:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_RX_OVRN_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1284:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_RX_OVRN_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1290:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_MDINT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1290:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_MDINT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:947:13: note: in expansion of macro 'SMC_inw' __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1293:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ERCV_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:948:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1293:4: note: in expansion of macro 'SMC_ACK_INT' SMC_ACK_INT(lp, IM_ERCV_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1299:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, saved_pointer); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1300:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, mask); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_timeout': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:937:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1345:11: note: in expansion of macro 'SMC_GET_INT' status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:955:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1346:9: note: in expansion of macro 'SMC_GET_INT_MASK' mask = SMC_GET_INT_MASK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1011:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1347:9: note: in expansion of macro 'SMC_GET_FIFO' fifo = SMC_GET_FIFO(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1348:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1023:32: note: in expansion of macro 'SMC_inw' #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1349:11: note: in expansion of macro 'SMC_GET_EPH_STATUS' eph_st = SMC_GET_EPH_STATUS(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1003:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1350:12: note: in expansion of macro 'SMC_GET_MIR' meminfo = SMC_GET_MIR(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1351:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_set_multicast_list': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1457:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1027:29: note: in expansion of macro 'SMC_outw' #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1458:2: note: in expansion of macro 'SMC_SET_RCR' SMC_SET_RCR(lp, lp->rcr_cur_mode); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1460:3: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1068:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1069:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1070:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1071:3: note: in expansion of macro 'SMC_outw' SMC_outw(lp, mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1461:3: note: in expansion of macro 'SMC_SET_MCAST' SMC_SET_MCAST(lp, multicast_table); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1463:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_write_eeprom_word': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1643:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:998:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, GP_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1644:2: note: in expansion of macro 'SMC_SET_GP' SMC_SET_GP(lp, word); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1646:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1647:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1649:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:985:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1650:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1651:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_STORE)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:985:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1655:11: note: in expansion of macro 'SMC_GET_CTL' } while (SMC_GET_CTL(lp) & CTL_STORE); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1657:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1658:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_read_eeprom_word': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1671:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1020:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1672:2: note: in expansion of macro 'SMC_SET_PTR' SMC_SET_PTR(lp, addr | PTR_READ); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1674:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:998:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, GP_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1675:2: note: in expansion of macro 'SMC_SET_GP' SMC_SET_GP(lp, 0xffff); /* init to known */ ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:985:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1676:8: note: in expansion of macro 'SMC_GET_CTL' ctl = SMC_GET_CTL(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1677:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_RELOAD)); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:985:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1681:11: note: in expansion of macro 'SMC_GET_CTL' } while (SMC_GET_CTL(lp) & CTL_RELOAD); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:991:25: note: in expansion of macro 'SMC_inw' #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1683:10: note: in expansion of macro 'SMC_GET_GP' *word = SMC_GET_GP(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:987:28: note: in expansion of macro 'SMC_outw' #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1685:2: note: in expansion of macro 'SMC_SET_CTL' SMC_SET_CTL(lp, ctl); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1686:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_findirq': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1801:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 2); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1802:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, IM_ALLOC_INT); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1009:32: note: in expansion of macro 'SMC_outw' #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1808:2: note: in expansion of macro 'SMC_SET_MMU_CMD' SMC_SET_MMU_CMD(lp, MC_ALLOC | 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:937:8: note: in expansion of macro 'SMC_inw' : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1816:16: note: in expansion of macro 'SMC_GET_INT' int_status = SMC_GET_INT(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:962:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1829:2: note: in expansion of macro 'SMC_SET_INT_MASK' SMC_SET_INT_MASK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c: In function 'smc_probe': /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:965:30: note: in expansion of macro 'SMC_inw' #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1870:8: note: in expansion of macro 'SMC_CURRENT_BANK' val = SMC_CURRENT_BANK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1887:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 0); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:965:30: note: in expansion of macro 'SMC_inw' #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1888:8: note: in expansion of macro 'SMC_CURRENT_BANK' val = SMC_CURRENT_BANK(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1900:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:975:27: note: in expansion of macro 'SMC_inw' #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1901:8: note: in expansion of macro 'SMC_GET_BASE' val = SMC_GET_BASE(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1913:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 3); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1029:26: note: in expansion of macro 'SMC_inw' #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp)) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1914:22: note: in expansion of macro 'SMC_GET_REV' revision_register = SMC_GET_REV(lp); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:138:39: warning: passing argument 2 of 'outw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:972:4: note: in expansion of macro 'SMC_outw' SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1936:2: note: in expansion of macro 'SMC_SELECT_BANK' SMC_SELECT_BANK(lp, 1); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:159:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline void pfx##out##bwlq##p(type val, unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1049:9: note: in expansion of macro 'SMC_inw' __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1937:2: note: in expansion of macro 'SMC_GET_MAC_ADDR' SMC_GET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1051:9: note: in expansion of macro 'SMC_inw' __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1937:2: note: in expansion of macro 'SMC_GET_MAC_ADDR' SMC_GET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ In file included from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:92:0: /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:135:28: warning: passing argument 1 of 'inw' makes integer from pointer without a cast [-Wint-conversion] #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.h:1053:9: note: in expansion of macro 'SMC_inw' __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \ ^ /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:1937:2: note: in expansion of macro 'SMC_GET_MAC_ADDR' SMC_GET_MAC_ADDR(lp, dev->dev_addr); ^ In file included from /home/kisskb/slave/src/include/linux/io.h:25:0, from /home/kisskb/slave/src/include/linux/irq.h:24, from /home/kisskb/slave/src/arch/sh/include/asm/hardirq.h:5, from /home/kisskb/slave/src/include/linux/hardirq.h:8, from /home/kisskb/slave/src/include/linux/interrupt.h:12, from /home/kisskb/slave/src/drivers/net/ethernet/smsc/smc91x.c:72: /home/kisskb/slave/src/arch/sh/include/asm/io.h:168:25: note: expected 'long unsigned int' but argument is of type 'void *' static inline type pfx##in##bwlq##p(unsigned long port) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:181:2: note: in expansion of macro '__BUILD_IOPORT_SINGLE' __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:185:2: note: in expansion of macro '__BUILD_IOPORT_PFX' __BUILD_IOPORT_PFX(, bwlq, type) ^ /home/kisskb/slave/src/arch/sh/include/asm/io.h:188:1: note: in expansion of macro 'BUILDIO_IOPORT' BUILDIO_IOPORT(w, u16) ^ CC net/core/filter.o CC fs/lockd/svc4proc.o CC net/ipv4/tcp_minisocks.o CC fs/lockd/procfs.o CC fs/ext4/mballoc.o CC fs/nfs/direct.o CC fs/nfs/pagelist.o CC lib/reciprocal_div.o LD fs/lockd/lockd.o LD fs/lockd/built-in.o CC fs/nls/nls_base.o CC lib/once.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] } ^ LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/stmicro/built-in.o CC net/ipv4/tcp_cong.o LD drivers/net/ethernet/synopsys/built-in.o LD drivers/net/ethernet/via/built-in.o LD drivers/net/ethernet/wiznet/built-in.o LD drivers/net/ethernet/built-in.o LD drivers/net/wireless/admtek/built-in.o LD drivers/net/wireless/ath/built-in.o LD drivers/net/wireless/atmel/built-in.o LD drivers/net/wireless/broadcom/built-in.o LD drivers/net/wireless/cisco/built-in.o LD drivers/net/wireless/intel/built-in.o LD drivers/net/wireless/intersil/built-in.o LD drivers/net/wireless/marvell/built-in.o LD drivers/net/wireless/mediatek/built-in.o LD drivers/net/wireless/ralink/built-in.o LD drivers/net/wireless/realtek/built-in.o LD drivers/net/wireless/rsi/built-in.o CC lib/string_helpers.o LD drivers/net/wireless/st/built-in.o LD drivers/net/wireless/ti/built-in.o LD drivers/net/wireless/zydas/built-in.o LD fs/nls/built-in.o LD drivers/net/wireless/built-in.o LD drivers/net/built-in.o LD drivers/nfc/built-in.o LD drivers/nvme/host/built-in.o LD drivers/nvme/target/built-in.o LD drivers/nvme/built-in.o LD virt/lib/built-in.o LD drivers/perf/built-in.o LD virt/built-in.o LD drivers/platform/built-in.o CC fs/nfs/read.o LD drivers/power/built-in.o LD drivers/ptp/built-in.o LD drivers/pwm/built-in.o CC drivers/rtc/rtc-lib.o CC drivers/sh/clk/core.o CC net/core/sock_diag.o LD drivers/rtc/built-in.o CC fs/notify/fsnotify.o CC lib/hexdump.o CC net/ipv4/tcp_metrics.o CC lib/kstrtox.o CC net/core/dev_ioctl.o CC drivers/sh/clk/cpg.o CC fs/notify/notification.o CC fs/nfs/symlink.o /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r8': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread8(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:28:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r16': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread16(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r32': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return ioread32(addr); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/io.h:20:0, from /home/kisskb/slave/src/include/linux/io.h:25, from /home/kisskb/slave/src/drivers/sh/clk/cpg.c:14: /home/kisskb/slave/src/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ CC fs/notify/group.o CC lib/iomap_copy.o LD drivers/sh/clk/built-in.o CC drivers/sh/intc/access.o CC drivers/sh/superhyway/superhyway.o CC lib/devres.o CC net/core/tso.o CC fs/notify/inode_mark.o CC drivers/sh/intc/chip.o CC drivers/sh/superhyway/superhyway-sysfs.o CC fs/nfs/unlink.o CC lib/hweight.o CC net/ipv4/tcp_fastopen.o CC lib/assoc_array.o /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c: In function 'resource_show': /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c:33:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'resource_size_t {aka unsigned int}' [-Wformat=] superhyway_ro_attr(resource, "0x%08lx\n", resource[0].start); ^ /home/kisskb/slave/src/drivers/sh/superhyway/superhyway-sysfs.c:21:22: note: in definition of macro 'superhyway_ro_attr' return sprintf(buf, fmt, s->field); \ ^ LD drivers/sh/superhyway/built-in.o CC net/ipv4/tcp_rate.o CC fs/notify/mark.o CC drivers/sh/intc/core.o CC net/core/sock_reuseport.o CC fs/ext4/block_validity.o CC fs/notify/vfsmount_mark.o CC drivers/sh/intc/handle.o CC lib/bitrev.o CC drivers/sh/intc/irqdomain.o CC fs/nfs/write.o CC net/ipv4/tcp_recovery.o CC lib/crc16.o CC fs/nfs/namespace.o CC net/core/flow.o CC drivers/sh/intc/virq.o CC fs/notify/fdinfo.o CC fs/ext4/move_extent.o HOSTCC lib/gen_crc32table CC lib/lz4/lz4_decompress.o CC fs/notify/dnotify/dnotify.o LD drivers/sh/intc/built-in.o CC drivers/sh/pm_runtime.o CC net/ipv4/tcp_offload.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] } ^ LD lib/lz4/built-in.o CC net/core/net-sysfs.o CC lib/lzo/lzo1x_decompress_safe.o LD fs/notify/dnotify/built-in.o LD drivers/sh/built-in.o LD fs/notify/fanotify/built-in.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/notify/inotify/inotify_user.o LD drivers/soc/bcm/built-in.o LD drivers/soc/fsl/built-in.o LD drivers/soc/built-in.o CC drivers/tty/tty_io.o CC fs/ext4/mmp.o LD lib/lzo/lzo_decompress.o LD lib/lzo/built-in.o CC lib/xz/xz_dec_syms.o CC lib/zlib_inflate/inffast.o CC lib/xz/xz_dec_stream.o CC lib/zlib_inflate/inflate.o CC net/ipv4/datagram.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC fs/proc/task_mmu.o CC fs/nfs/mount_clnt.o CC fs/ext4/indirect.o CC lib/xz/xz_dec_lzma2.o CC net/core/net-procfs.o CC lib/zlib_inflate/infutil.o CC net/ipv4/raw.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 lib/zlib_inflate/inftrees.o CC fs/nfs/nfstrace.o CC lib/xz/xz_dec_bcj.o CC lib/zlib_inflate/inflate_syms.o LD net/core/built-in.o CC fs/nfs/nfsroot.o CC fs/proc/inode.o LD lib/zlib_inflate/zlib_inflate.o LD lib/zlib_inflate/built-in.o CC fs/proc/root.o CC drivers/tty/n_tty.o CC fs/ext4/extents_status.o LD lib/xz/xz_dec.o LD lib/xz/built-in.o CC lib/syscall.o CC net/sched/sch_generic.o CC net/sched/sch_mq.o CC lib/nlattr.o CC fs/proc/base.o CC net/ipv4/udp.o CC fs/nfs/sysctl.o CC lib/atomic64.o CC lib/dynamic_queue_limits.o CC fs/ext4/xattr.o LD drivers/video/backlight/built-in.o CC drivers/video/console/dummycon.o CC fs/nfs/nfs2super.o CC lib/strncpy_from_user.o LD net/sched/built-in.o CC lib/strnlen_user.o CC drivers/tty/tty_ioctl.o CC drivers/tty/tty_ldisc.o LD drivers/video/console/built-in.o LD drivers/video/fbdev/core/built-in.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o CC lib/net_utils.o LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o LD drivers/video/fbdev/omap2/omapfb/built-in.o LD drivers/video/fbdev/omap2/built-in.o LD drivers/video/fbdev/built-in.o LD drivers/video/built-in.o CC net/sunrpc/clnt.o CC fs/nfs/proc.o GEN lib/oid_registry_data.c CC fs/proc/generic.o CC lib/sbitmap.o CC lib/argv_split.o CC drivers/tty/tty_buffer.o CC lib/bug.o CC fs/ext4/xattr_user.o CC fs/ext4/xattr_trusted.o CC lib/chacha20.o CC drivers/tty/tty_port.o CC fs/proc/array.o CC net/ipv4/udplite.o CC drivers/tty/tty_mutex.o CC fs/ext4/inline.o CC fs/nfs/nfs2xdr.o CC lib/cmdline.o CC lib/ctype.o CC lib/dec_and_lock.o CC fs/proc/fd.o CC lib/decompress.o CC net/sunrpc/xprt.o CC drivers/tty/tty_ldsem.o CC lib/decompress_bunzip2.o In file included from /home/kisskb/slave/src/fs/ext4/inline.c:17:0: /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h: In function 'ext4_inode_journal_mode': /home/kisskb/slave/src/fs/ext4/ext4_jbd2.h:430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC net/ipv4/udp_offload.o CC lib/decompress_inflate.o CC drivers/tty/pty.o CC fs/proc/proc_tty.o LD drivers/tty/ipwireless/built-in.o CC lib/decompress_unlz4.o CC lib/decompress_unlzma.o CC fs/nfs/nfs3super.o CC fs/proc/cmdline.o CC fs/proc/consoles.o CC net/ipv4/arp.o CC net/ipv4/icmp.o CC fs/proc/cpuinfo.o CC lib/decompress_unlzo.o CC drivers/tty/serial/serial_core.o CC fs/ext4/readpage.o CC net/sunrpc/socklib.o CC fs/proc/devices.o CC fs/nfs/nfs3client.o CC lib/decompress_unxz.o CC fs/proc/interrupts.o CC fs/proc/loadavg.o CC fs/ext4/sysfs.o CC lib/dma-noop.o CC net/sunrpc/xprtsock.o CC fs/nfs/nfs3proc.o CC fs/proc/meminfo.o CC fs/proc/stat.o CC net/ipv4/devinet.o CC lib/dump_stack.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o CC net/ipv4/af_inet.o CC lib/earlycpio.o CC net/ipv4/igmp.o CC lib/extable.o CC fs/proc/uptime.o CC lib/flex_proportions.o CC drivers/tty/serial/sh-sci.o CC fs/proc/version.o CC fs/nfs/nfs3xdr.o CC lib/idr.o CC fs/proc/softirqs.o CC fs/proc/namespaces.o CC net/sunrpc/sched.o CC lib/int_sqrt.o CC net/ipv4/fib_frontend.o CC lib/ioremap.o CC lib/irq_regs.o CC lib/is_single_threaded.o CC net/ipv4/fib_semantics.o CC fs/proc/self.o CC lib/klist.o CC net/ipv4/fib_trie.o CC fs/nfs/nfs4proc.o LD drivers/tty/serial/built-in.o CC drivers/tty/vt/vt_ioctl.o CC fs/proc/thread_self.o CC lib/kobject.o CC net/sunrpc/auth.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC lib/kobject_uevent.o CC drivers/tty/vt/vc_screen.o CC lib/md5.o CC net/ipv4/inet_fragment.o CC fs/nfs/nfs4xdr.o CC net/sunrpc/auth_null.o CC fs/proc/kcore.o CC lib/nmi_backtrace.o CC drivers/tty/vt/selection.o CC drivers/tty/vt/keyboard.o CC lib/nodemask.o CC net/ipv4/ping.o CC net/sunrpc/auth_unix.o CC fs/proc/kmsg.o CC lib/plist.o CC fs/proc/page.o CC lib/radix-tree.o CC fs/nfs/nfs4state.o CC net/sunrpc/auth_generic.o LD fs/proc/proc.o LD fs/proc/built-in.o CC net/sunrpc/svc.o /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_err': /home/kisskb/slave/src/net/ipv4/ping.c:556:37: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] harderr = icmp_err_convert[code].fatal; ^ /home/kisskb/slave/src/net/ipv4/ping.c:529:3: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (type) { ^ /home/kisskb/slave/src/net/ipv4/ping.c:510:48: warning: 'icmph' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ping_supported(family, icmph->type, icmph->code)) ^ /home/kisskb/slave/src/net/ipv4/ping.c: In function 'ping_common_sendmsg': /home/kisskb/slave/src/net/ipv4/ping.c:474:37: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:5: note: 'type' was declared here u8 type, code; ^ /home/kisskb/slave/src/net/ipv4/ping.c:473:63: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] return (family == AF_INET && type == ICMP_ECHO && code == 0) || ^ /home/kisskb/slave/src/net/ipv4/ping.c:655:11: note: 'code' was declared here u8 type, code; ^ CC lib/ratelimit.o CC net/ipv4/ip_tunnel_core.o CC drivers/tty/vt/consolemap.o CC lib/rbtree.o CONMK drivers/tty/vt/consolemap_deftbl.c LD fs/quota/built-in.o CC fs/nfs/nfs4renewd.o CC fs/ramfs/inode.o CC lib/seq_buf.o CC net/sunrpc/svcsock.o CC net/ipv4/gre_offload.o CC drivers/tty/vt/vt.o CC fs/ramfs/file-mmu.o CC lib/sha1.o SHIPPED drivers/tty/vt/defkeymap.c LD net/wireless/built-in.o CC net/ipv4/sysctl_net_ipv4.o CC net/ipv4/proc.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/nfs/nfs4super.o CC net/ipv4/xfrm4_mode_beet.o CC lib/show_mem.o In file included from /home/kisskb/slave/src/include/linux/sunrpc/svcsock.h:13:0, from /home/kisskb/slave/src/net/sunrpc/svcsock.c:53: /home/kisskb/slave/src/include/linux/sunrpc/svc_xprt.h: In function 'svc_addr_len': /home/kisskb/slave/src/include/linux/sunrpc/svc_xprt.h:177:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC lib/string.o CC net/ipv4/xfrm4_mode_transport.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 lib/timerqueue.o CC fs/nfs/nfs4file.o CC fs/nfs/delegation.o CC fs/nfs/nfs4idmap.o CC fs/sysfs/file.o CC lib/vsprintf.o CC net/sunrpc/svcauth.o CC net/ipv4/xfrm4_mode_tunnel.o CC fs/sysfs/dir.o CC net/sunrpc/svcauth_unix.o CC drivers/tty/vt/consolemap_deftbl.o CC net/xfrm/xfrm_policy.o CC fs/sysfs/symlink.o CC drivers/tty/vt/defkeymap.o CC fs/eventpoll.o CC net/ipv4/ipconfig.o CC fs/sysfs/mount.o CC fs/nfs/callback.o LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o LD drivers/built-in.o CC fs/sysfs/group.o CC net/xfrm/xfrm_state.o /home/kisskb/slave/src/net/sunrpc/svcauth_unix.c: In function 'svcauth_unix_set_client': /home/kisskb/slave/src/net/sunrpc/svcauth_unix.c:685:9: warning: 'sin6' may be used uninitialized in this function [-Wmaybe-uninitialized] ipm = __ip_map_lookup(sn->ip_map_cache, rqstp->rq_server->sv_program->pg_class, ^ CC net/sunrpc/addr.o CC lib/win_minmax.o LD fs/sysfs/built-in.o CC fs/nfs/callback_xdr.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; ^ GEN lib/crc32table.h CC lib/oid_registry.o AR lib/lib.a CC net/sysctl_net.o CC fs/anon_inodes.o CC net/ipv4/inet_diag.o CC lib/crc32.o CC net/sunrpc/rpcb_clnt.o EXPORTS lib/lib-ksyms.o CC net/xfrm/xfrm_hash.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 fs/nfs/callback_proc.o CC net/xfrm/xfrm_input.o CC net/sunrpc/timer.o LD lib/built-in.o CC net/ipv4/tcp_diag.o CC net/xfrm/xfrm_output.o CC fs/signalfd.o CC net/sunrpc/xdr.o CC fs/nfs/nfs4namespace.o CC net/sunrpc/sunrpc_syms.o CC net/sunrpc/cache.o CC net/sunrpc/rpc_pipe.o CC net/ipv4/tcp_cubic.o CC fs/timerfd.o CC net/ipv4/xfrm4_policy.o CC net/xfrm/xfrm_sysctl.o CC fs/nfs/nfs4getroot.o CC net/xfrm/xfrm_replay.o CC fs/nfs/nfs4client.o CC fs/nfs/nfs4session.o CC fs/eventfd.o CC net/sunrpc/svc_xprt.o CC net/sunrpc/xprtmultipath.o CC net/ipv4/xfrm4_state.o LD net/xfrm/built-in.o CC fs/aio.o CC fs/nfs/dns_resolve.o CC fs/nfs/nfs4trace.o CC fs/locks.o CC net/ipv4/xfrm4_input.o CC net/sunrpc/stats.o CC fs/binfmt_script.o CC net/ipv4/xfrm4_output.o CC fs/nfs/nfs4sysctl.o CC net/sunrpc/sysctl.o CC net/ipv4/xfrm4_protocol.o CC fs/binfmt_elf.o LD fs/nfs/nfs.o CC net/sunrpc/auth_gss/auth_gss.o LD fs/nfs/nfsv2.o LD net/sunrpc/sunrpc.o LD fs/nfs/nfsv3.o CC fs/mbcache.o CC net/sunrpc/auth_gss/gss_generic_token.o CC fs/coredump.o LD fs/nfs/nfsv4.o LD fs/nfs/built-in.o CC fs/drop_caches.o CC net/sunrpc/auth_gss/gss_mech_switch.o LD net/ipv4/built-in.o CC fs/fhandle.o CC net/sunrpc/auth_gss/svcauth_gss.o CC net/sunrpc/auth_gss/gss_rpc_upcall.o CC net/sunrpc/auth_gss/gss_rpc_xdr.o LD fs/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/built-in.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD vmlinux.o MODPOST vmlinux.o KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SYSMAP System.map AS arch/sh/boot/compressed/head_32.o CC arch/sh/boot/compressed/misc.o CC arch/sh/boot/compressed/cache.o OBJCOPY arch/sh/boot/compressed/vmlinux.bin SHIPPED arch/sh/boot/compressed/ashiftrt.S SHIPPED arch/sh/boot/compressed/ashldi3.c SHIPPED arch/sh/boot/compressed/ashrsi3.S SHIPPED arch/sh/boot/compressed/ashlsi3.S SHIPPED arch/sh/boot/compressed/lshrsi3.S AS arch/sh/boot/compressed/ashiftrt.o CC arch/sh/boot/compressed/ashldi3.o AS arch/sh/boot/compressed/ashrsi3.o AS arch/sh/boot/compressed/ashlsi3.o AS arch/sh/boot/compressed/lshrsi3.o GZIP arch/sh/boot/compressed/vmlinux.bin.gz LD arch/sh/boot/compressed/piggy.o LD arch/sh/boot/compressed/vmlinux OBJCOPY arch/sh/boot/zImage Kernel: arch/sh/boot/zImage is ready make[1]: Leaving directory '/home/kisskb/slave/build/linus_microdev_defconfig_sh4' Completed OK # rm -rf /home/kisskb/slave/build/linus_microdev_defconfig_sh4 # Build took: 0:00:52.759691