linux/drivers/net/ethernet/brocade/bna
Dan Carpenter 027a3b617c bna: fix error handling of bnad_get_flash_partition_by_offset()
The current error handling doesn't work because we flash_part is a u32
so the checks for negative error codes don't work.  I considered making
things signed but I don't know the hardware enough to say if that's a
problem.  Really, we don't use the error codes so just returning zero
for all problems is fine.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-09 15:43:30 -05:00
..
bfa_cee.c bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bfa_cee.h bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bfa_cs.h
bfa_defs.h bna: Added flash sub-module and ethtool eeprom entry points. 2011-12-23 16:50:58 -05:00
bfa_defs_cna.h bna: PLL Init Fix and Add Stats Attributes 2011-09-29 19:36:35 -04:00
bfa_defs_mfg_comm.h bna: Capability Map and MFG Block Changes for New HW 2011-09-29 19:36:34 -04:00
bfa_defs_status.h
bfa_ioc.c bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bfa_ioc.h bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bfa_ioc_ct.c bna: Multiple Definition and Interface Setup Fix 2011-10-04 23:04:01 -04:00
bfa_msgq.c bna: off by one in bfa_msgq_rspq_pi_update() 2011-08-26 12:55:18 -04:00
bfa_msgq.h
bfi.h bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bfi_cna.h
bfi_enet.h bna: Introduce ENET as New Driver and FW Interface 2011-08-11 07:30:12 -07:00
bfi_reg.h
bna.h bna: make function tables cont 2011-09-16 19:20:20 -04:00
bna_enet.c bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bna_hw_defs.h bna: Brocade 1860 HW Enablement 2011-09-29 19:36:35 -04:00
bna_tx_rx.c bna: Add Callback to Fix RXQ Stop 2011-09-29 19:36:36 -04:00
bna_types.h bna: fix sparse warnings/errors 2012-01-05 13:23:00 -05:00
bnad.c bna: fix sparse warnings/errors 2012-01-05 13:23:00 -05:00
bnad.h bna: fix sparse warnings/errors 2012-01-05 13:23:00 -05:00
bnad_debugfs.c bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00
bnad_ethtool.c bna: fix error handling of bnad_get_flash_partition_by_offset() 2012-02-09 15:43:30 -05:00
cna.h bna: Convert MAC_ADDRLEN uses to ETH_ALEN 2011-11-16 20:23:18 -05:00
cna_fwimg.c bna: fix sparse warnings/errors 2012-01-05 13:23:00 -05:00
Kconfig
Makefile bna: Add debugfs interface. 2011-12-23 16:50:58 -05:00