diff options
author | 2019-02-11 21:43:00 +0300 | |
---|---|---|
committer | 2019-02-12 22:15:54 -0500 | |
commit | fad28e3d9aa14522e33694b63ccccdf28e64a8e0 (patch) | |
tree | 576aad580a78bf4e50ec59c493bdfea9e7576905 /net/bluetooth/hci_request.c | |
parent | scsi: ufs: fix a typo in comment (diff) | |
download | wireguard-linux-fad28e3d9aa14522e33694b63ccccdf28e64a8e0.tar.xz wireguard-linux-fad28e3d9aa14522e33694b63ccccdf28e64a8e0.zip |
scsi: lpfc: Fix error code if kcalloc() fails
This should return -ENOMEM if kcalloc() fails, but it accidentally
returns success instead.
Fixes: 6a828b0f6192 ("scsi: lpfc: Support non-uniform allocation of MSIX vectors to hardware queues")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions