mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-31 06:48:50 +00:00
fixes the warning:
lib/iomap.c: In function ‘ioread8_rep’:
./arch/cris/include/asm/io.h:139:31: warning: statement with no effect [-Wunused-value]
#define insb(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,1,count) : 0)
^
lib/iomap.c:56:3: note: in definition of macro ‘IO_COND’
is_pio; \
^
lib/iomap.c:197:16: note: in expansion of macro ‘insb’
IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count));
^
cris_iops was previously set to NULL (no matter if CONFIG_PCI was set or
not), but was removed in commit
|
||
|---|---|---|
| .. | ||
| asm-offsets.h | ||
| axisflashmap.h | ||
| bitops.h | ||
| bug.h | ||
| bugs.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| current.h | ||
| delay.h | ||
| dma-mapping.h | ||
| dma.h | ||
| eshlibld.h | ||
| etraxi2c.h | ||
| fasttimer.h | ||
| fb.h | ||
| ftrace.h | ||
| hw_irq.h | ||
| io.h | ||
| irq.h | ||
| irqflags.h | ||
| Kbuild | ||
| mmu_context.h | ||
| mmu.h | ||
| mutex.h | ||
| page.h | ||
| pci.h | ||
| pgalloc.h | ||
| pgtable.h | ||
| processor.h | ||
| ptrace.h | ||
| segment.h | ||
| serial.h | ||
| shmparam.h | ||
| signal.h | ||
| stacktrace.h | ||
| string.h | ||
| swab.h | ||
| switch_to.h | ||
| termios.h | ||
| thread_info.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| uaccess.h | ||
| ucontext.h | ||
| unaligned.h | ||
| unistd.h | ||
| user.h | ||