qlcnic: Fix missing error codes
authorSony Chacko <sony.chacko@qlogic.com>
Thu, 26 Aug 2010 14:02:41 +0000 (14:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2010 00:13:18 +0000 (17:13 -0700)
commit8cfdce080722101a7fd2a1eff9763ca4008ec626
tree3e086875b9a67aff953c4af654e9197bcc4ec5fc
parent53f91dc1f76922375ad7957ef29f48986722532d
qlcnic: Fix missing error codes

In the original code, the error codes returned from some of the functions
are not caught and sent up the caller chain. Fixed it here.

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c