]> git.baikalelectronics.ru Git - kernel.git/commit
vxge: Handle errors in vxge_hw_vpath_fw_api
authorJon Mason <jon.mason@exar.com>
Thu, 11 Nov 2010 04:25:59 +0000 (04:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Nov 2010 17:30:22 +0000 (09:30 -0800)
commit0b9599cdbe5c78b66c49788fb162233e4899cf10
treed4c47c29ec4f5c904fbd125e105ba816ec0cc792
parentf0e3da0947e46ca6c9bb39d5a74bcc78aa4694d8
vxge: Handle errors in vxge_hw_vpath_fw_api

Propagate the return code of the call to vxge_hw_vpath_fw_api and
__vxge_hw_vpath_pci_func_mode_get.  This enables the proper handling of
error conditions when querying the function mode of the device during
probe.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-config.c