linux_dsm_epyc7002/arch/arm/mach-ixp4xx
Arnd Bergmann 1aeb3c5c48 ARM: ixp4xx: fix {in,out}s{bwl} data types
Most platforms use void pointer arguments in these functions, but
ixp4xx does not, which triggers lots of warnings in device drivers like:

net/ethernet/8390/ne2k-pci.c: In function 'ne2k_pci_get_8390_hdr':
net/ethernet/8390/ne2k-pci.c:503:3: warning: passing argument 2 of 'insw' from incompatible pointer type
   insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1);
   ^
In file included from include/asm/io.h:214:0,
                 from /git/arm-soc/include/linux/io.h:22,
                 from /git/arm-soc/include/linux/pci.h:31,
                 from net/ethernet/8390/ne2k-pci.c:48:
mach-ixp4xx/include/mach/io.h:316:91: note: expected 'u16 *' but argument is of type 'struct e8390_pkt_hdr *'
 static inline void insw(u32 io_addr, u16 *vaddr, u32 count)

Fixing the drivers seems hopeless, so this changes the ixp4xx code
to do the same as the others to avoid the warnings.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Krzysztof Halasa <khalasa@piap.pl>
Cc: Imre Kaloz <kaloz@openwrt.org>
2015-02-18 12:20:27 +01:00
..
include/mach ARM: ixp4xx: fix {in,out}s{bwl} data types 2015-02-18 12:20:27 +01:00
avila-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
avila-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
common-pci.c IXP4xx: Fix DMA masks. 2014-03-26 23:08:11 +01:00
common.c ARM: ixp4xx: Fix build with IXP4XX_INDIRECT_PCI 2014-11-10 15:59:01 +01:00
coyote-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
coyote-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
dsmg600-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
dsmg600-setup.c ARM: 7998/1: IXP4xx: remove deprecated IRQF_DISABLED 2014-03-12 10:32:33 +00:00
fsg-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
fsg-setup.c ARM: 7998/1: IXP4xx: remove deprecated IRQF_DISABLED 2014-03-12 10:32:33 +00:00
gateway7001-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
gateway7001-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
goramo_mlr.c IXP4xx: Fix Goramo Multilink GPIO conversion. 2014-03-26 23:04:20 +01:00
gtwx5715-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
gtwx5715-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ixdp425-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
ixdp425-setup.c ARM: ixp4xx: convert remaining users to use gpiolib 2013-09-27 14:15:07 +02:00
ixdpg425-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
ixp4xx_npe.c ixp4xx: Declare MODULE_FIRMWARE usage 2012-11-22 03:36:22 +00:00
ixp4xx_qmgr.c IXP4xx: use __iomem for MMIO 2012-11-22 03:36:45 +00:00
Kconfig ARM: fix ARCH_IXP4xx usage of ARCH_SUPPORTS_BIG_ENDIAN 2013-10-19 20:46:32 +01:00
Makefile ixp4xx: support omicron ixp425 based boards 2011-09-30 22:18:42 +02:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
miccpt-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
nas100d-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
nas100d-setup.c ARM: 7998/1: IXP4xx: remove deprecated IRQF_DISABLED 2014-03-12 10:32:33 +00:00
nslu2-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
nslu2-setup.c ARM: 7998/1: IXP4xx: remove deprecated IRQF_DISABLED 2014-03-12 10:32:33 +00:00
omixp-setup.c ARM: ixp4xx/omixp: always include linux/leds.h 2014-03-21 18:23:25 +01:00
vulcan-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
vulcan-setup.c ARM: w1-gpio: fix erroneous gpio requests 2013-03-12 16:20:45 -07:00
wg302v2-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
wg302v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00