cnic: Add missing error checking for RAMROD_CMD_ID_CLOSE
authorEddie Wai <eddie.wai@broadcom.com>
Mon, 29 Jul 2013 02:03:59 +0000 (19:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 05:03:07 +0000 (22:03 -0700)
commit28e3a8f38b503579cc788748af698f9347228cc4
tree7a3f246de814d6f1e9bbf67c6cc5e75bb97ddf60
parentb3bd2d65e6faf4f6fe6f87d6a5163859af391109
cnic: Add missing error checking for RAMROD_CMD_ID_CLOSE

Completion status field should also be checked for non-zero error
condition.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c