diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-05 11:41:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-05 21:39:31 +0300 |
commit | 9b15acbfe937f9c48a81d6aa306f9fa8b53abc13 (patch) | |
tree | de721dbfb787ea5c73c14165fc27985d470b4a73 /drivers/net/ethernet/stmicro | |
parent | e79a8bcb780314a555897a933d16553b80dbca1f (diff) | |
download | linux-9b15acbfe937f9c48a81d6aa306f9fa8b53abc13.tar.xz |
qlogic: qed: fix error codes in qed_resc_alloc()
We accidentally return success instead of -ENOMEM here.
Fixes: fe56b9e6a8d9 ('qed: Add module with basic common support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions