commit | 3a240b21b5ccb77fcbece7a617f333cd31097776 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Jun 11 08:16:02 2017 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 12 21:20:40 2017 -0400 |
tree | f29ba3e21cbe7b1508c22565e8b76fa30c3b0cea | |
parent | 249cf320bd5dd3490252cb9f3cdef41f7d1caacc [diff] |
scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues' We should return -ENOMEM in case of memory allocation error, as done elsewhere in this function. [mkp: fixed typo] Fixes: 61d8658b4a435 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>