diff options
| author | Dan Carpenter <[email protected]> | 2017-04-03 18:25:22 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-05 13:53:42 +0000 |
| commit | c800460086d1db3579b747d9297cecd2bbf70119 (patch) | |
| tree | f8fafdae158dcea441910cd7c482f1efac4108de /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
| parent | net: sched: choke: remove some dead code (diff) | |
| download | kernel-c800460086d1db3579b747d9297cecd2bbf70119.tar.gz kernel-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 <[email protected]>
Acked-by: Tomer Tayar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions
