commit | c800460086d1db3579b747d9297cecd2bbf70119 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Apr 03 21:25:22 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 05 06:53:42 2017 -0700 |
tree | f8fafdae158dcea441910cd7c482f1efac4108de | |
parent | 2c099ccbd093ffce056987a227fcc96e6a77b101 [diff] |
qed: Add a missing error code We should be returning -ENOMEM if qed_mcp_cmd_add_elem() fails. The current code returns success. Fixes: 4ed1eea82a21 ("qed: Revise MFW command locking") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Tomer Tayar <Tomer.Tayar@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>