linux/drivers/net/ethernet/cavium/liquidio
Dan Carpenter 10f6c4d6ab liquidio: CN23XX: fix a loop timeout
This is supposed to loop 1000 times and then give up.  The problem is
it's a post-op and after the loop we test if "loop" is zero when really
it would be -1.  Fix this by making it a pre-op.

Fixes: 1b7c55c453 ("liquidio: CN23XX queue manipulation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-13 12:12:50 -04:00
..
cn23xx_pf_device.c liquidio: CN23XX: fix a loop timeout 2016-10-13 12:12:50 -04:00
cn23xx_pf_device.h liquidio: ethtool and led control support 2016-09-02 17:11:31 -07:00
cn23xx_pf_regs.h liquidio: CN23XX register definitions 2016-08-31 14:12:47 -07:00
cn66xx_device.c liquidio: MSIX support for CN23XX 2016-08-31 14:12:48 -07:00
cn66xx_device.h liquidio: MSIX support for CN23XX 2016-08-31 14:12:48 -07:00
cn66xx_regs.h
cn68xx_device.c liquidio: Consolidate common functionality 2016-08-31 14:12:46 -07:00
cn68xx_device.h liquidio: Macro replacements 2016-07-04 16:15:30 -07:00
cn68xx_regs.h liquidio: Remove redundant code 2016-07-04 16:15:32 -07:00
lio_core.c liquidio: ethtool and led control support 2016-09-02 17:11:31 -07:00
lio_ethtool.c liquidio:CN23XX pause frame support 2016-09-02 17:11:31 -07:00
lio_main.c liquidio:CN23XX pause frame support 2016-09-02 17:11:31 -07:00
liquidio_common.h liquidio: ethtool and led control support 2016-09-02 17:11:31 -07:00
liquidio_image.h
Makefile liquidio: CN23XX device init and sriov config 2016-08-31 14:12:48 -07:00
octeon_config.h liquidio: CN23XX register setup 2016-08-31 14:12:48 -07:00
octeon_console.c liquidio: Consolidate common functionality 2016-08-31 14:12:46 -07:00
octeon_device.c liquidio: CN23XX napi support 2016-09-02 17:11:31 -07:00
octeon_device.h liquidio:CN23XX pause frame support 2016-09-02 17:11:31 -07:00
octeon_droq.c liquidio: CN23XX napi support 2016-09-02 17:11:31 -07:00
octeon_droq.h liquidio: Common enable irq function 2016-08-31 14:12:47 -07:00
octeon_iq.h liquidio: Common enable irq function 2016-08-31 14:12:47 -07:00
octeon_main.h liquidio: RX control commands 2016-09-02 17:11:30 -07:00
octeon_mem_ops.c liquidio: Consolidate common functionality 2016-08-31 14:12:46 -07:00
octeon_mem_ops.h
octeon_network.h liquidio: CN23XX health monitoring 2016-09-02 17:11:31 -07:00
octeon_nic.c liquidio: CN23XX octeon3 instruction 2016-09-02 17:11:30 -07:00
octeon_nic.h liquidio: CN23XX octeon3 instruction 2016-09-02 17:11:30 -07:00
request_manager.c liquidio: CN23XX octeon3 instruction 2016-09-02 17:11:30 -07:00
response_manager.c liquidio: CN23XX octeon3 instruction 2016-09-02 17:11:30 -07:00
response_manager.h