diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-06-14 12:46:45 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-15 14:30:28 +0200 |
commit | bb472baa235045798ba39864948bc47d9dbd7487 (patch) | |
tree | 5394d2fd31be76ff2bc15aab6a41fbf09eea62ab /crypto/khazad.c | |
parent | nvmf: keep track of nvmet connect error status (diff) | |
download | linux-bb472baa235045798ba39864948bc47d9dbd7487.tar.xz linux-bb472baa235045798ba39864948bc47d9dbd7487.zip |
nvme-rdma: fix error code in nvme_rdma_create_ctrl()
We accidentally return ERR_PTR(0) which is NULL. The caller isn't
explicitly checking for that but I couldn't immediately spot whether
this would lead to a NULL dereference. Anyway, we can fix add an
error code easily enough.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions