alistair23-linux/drivers/net/ethernet/sfc
Arnd Bergmann 17471c7ba5 net: sfc: avoid -Wtype-limits warning
When building with -Wextra, we get a harmless warning from the
EFX_EXTRACT_OWORD32 macro:

ethernet/sfc/farch.c: In function 'efx_farch_test_registers':
ethernet/sfc/farch.c:119:30: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
ethernet/sfc/farch.c:124:144: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
ethernet/sfc/farch.c:124:392: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
ethernet/sfc/farch.c:124:731: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]

The macro and the caller are both correct, but we can avoid the
warning by changing the index variable to a signed type.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-16 14:24:06 -07:00
..
bitfield.h
ef10.c sfc: on MC reset, clear PIO buffer linkage in TXQs 2016-05-25 12:44:11 -07:00
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
efx.c sfc: Track RPS flow IDs per channel instead of per function 2016-05-31 20:30:25 -07:00
efx.h net: rework setup_tc ndo op to consume general tc operand 2016-02-17 09:47:35 -05:00
enum.h
ethtool.c sfc: implement IPv6 NFC (and IPV4_USER_FLOW) 2016-02-11 07:16:18 -05:00
falcon.c
falcon_boards.c
farch.c net: sfc: avoid -Wtype-limits warning 2016-06-16 14:24:06 -07:00
farch_regs.h
filter.h
io.h
Kconfig
Makefile
mcdi.c sfc: Downgrade EPERM messages from MCDI to debug 2015-12-23 22:06:39 -05:00
mcdi.h sfc: Handle MCDI proxy authorisation 2015-12-23 22:06:39 -05:00
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c sfc: report supported link speeds on SFP connections 2016-06-08 11:18:45 -07:00
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Track RPS flow IDs per channel instead of per function 2016-05-31 20:30:25 -07:00
nic.c
nic.h
phy.h
ptp.c
qt202x_phy.c
rx.c sfc: Track RPS flow IDs per channel instead of per function 2016-05-31 20:30:25 -07:00
selftest.c
selftest.h
siena.c
siena_sriov.c
siena_sriov.h
sriov.c
sriov.h
tenxpress.c
tx.c net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
txc43128_phy.c sfc: fix a timeout loop 2015-12-15 12:46:26 -05:00
vfdi.h
workarounds.h