]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc3150eac9f2e5f770b09d371f7716540219a46f6
treed4c47c29ec4f5c904fbd125e105ba816ec0cc792
parentb81b37338412e3215670641e5025c85146521dea
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