diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-06-11 08:16:02 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-13 03:20:40 +0200 |
commit | 3a240b21b5ccb77fcbece7a617f333cd31097776 (patch) | |
tree | f29ba3e21cbe7b1508c22565e8b76fa30c3b0cea /lib/idr.c | |
parent | scsi: esas2r: Replace semaphore fs_api_semaphore with mutex (diff) | |
download | linux-3a240b21b5ccb77fcbece7a617f333cd31097776.tar.xz linux-3a240b21b5ccb77fcbece7a617f333cd31097776.zip |
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>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions