linux_dsm_epyc7002/drivers/net/ethernet/brocade/bna
Andrzej Hajda 4c52b1da53 bna: fix error handling
Several functions can return negative value in case of error,
so their return type should be fixed as well as type of variables
to which this value is assigned.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-29 13:49:53 -07:00
..
bfa_cee.c
bfa_cee.h
bfa_cs.h
bfa_defs_cna.h
bfa_defs_mfg_comm.h
bfa_defs_status.h
bfa_defs.h
bfa_ioc_ct.c
bfa_ioc.c bna: fix error handling 2015-09-29 13:49:53 -07:00
bfa_ioc.h
bfa_msgq.c
bfa_msgq.h
bfi_cna.h
bfi_enet.h
bfi_reg.h
bfi.h
bna_enet.c
bna_hw_defs.h
bna_tx_rx.c bna: check for dma mapping errors 2015-09-20 21:36:57 -07:00
bna_types.h bna: check for dma mapping errors 2015-09-20 21:36:57 -07:00
bna.h
bnad_debugfs.c
bnad_ethtool.c bna: check for dma mapping errors 2015-09-20 21:36:57 -07:00
bnad.c bna: check for dma mapping errors 2015-09-20 21:36:57 -07:00
bnad.h bna: check for dma mapping errors 2015-09-20 21:36:57 -07:00
cna_fwimg.c
cna.h
Kconfig
Makefile