commit | d32a06f5434f5e0cdef8e88dc62d079d980088e1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jan 31 08:03:26 2020 +0300 |
committer | Jakub Kicinski <kuba@kernel.org> | Sat Feb 01 11:35:17 2020 -0800 |
tree | 4dcb43f8dc58ab94af3bb06c8ef54d99c7535c2f | |
parent | 08ff78182fa170dbbe1ebf31e798e9340d6802a5 [diff] |
qed: Fix a error code in qed_hw_init() If the qed_fw_overlay_mem_alloc() then we should return -ENOMEM instead of success. Fixes: 30d5f85895fa ("qed: FW 8.42.2.0 Add fw overlay feature") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>