net/qede/base: add return code check
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:49 +0000 (13:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:54 +0000 (19:02 +0200)
commit2c3945f6b804b03be18f9e56dbdb46e2edb6f508
tree7d1475fbb2b53d4359ec6b5f5f9cb2b6f316494e
parent49ca6a7bcb6c019262edb066cd9e21af0d920a8d
net/qede/base: add return code check

Add a check of the return code of ecore_mcp_cmd_and_union() in
ecore_mcp_send_protocol_stats()

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_mcp.c