qlcnic: Return proper error codes from probe failure paths
authorSony Chacko <sony.chacko@qlogic.com>
Tue, 21 May 2013 09:26:59 +0000 (09:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 21:52:39 +0000 (14:52 -0700)
commit02135582f38e977fd609a7e345d7beb8c9b1c71f
tree1095f16611ebe1ecede1ba06d6e568cc2adb439a
parentc2bba067660f71408548e9206bc9be27885a815c
qlcnic: Return proper error codes from probe failure paths

Fix error paths in probe to assign proper error codes to probe return value.

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c