summaryrefslogtreecommitdiffstats
path: root/net/netlink/af_netlink.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-04-03 21:25:22 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-05 06:53:42 -0700
commitc800460086d1db3579b747d9297cecd2bbf70119 (patch)
treef8fafdae158dcea441910cd7c482f1efac4108de /net/netlink/af_netlink.h
parent2c099ccbd093ffce056987a227fcc96e6a77b101 (diff)
downloadlinux-c800460086d1db3579b747d9297cecd2bbf70119.tar.gz
linux-c800460086d1db3579b747d9297cecd2bbf70119.tar.bz2
linux-c800460086d1db3579b747d9297cecd2bbf70119.zip
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>
Diffstat (limited to 'net/netlink/af_netlink.h')
0 files changed, 0 insertions, 0 deletions